BaseRegion Class Reference

#include <BaseRegion.hh>

Inheritance diagram for BaseRegion:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 BaseRegion (RegionHandle)
virtual ~BaseRegion ()
virtual ULong getRangeLowerBound (ExtentIndex, DimensionHandle) const throw (ArrayIndexOutOfBounds)
virtual ULong getRangeUpperBound (ExtentIndex, DimensionHandle) const throw (ArrayIndexOutOfBounds)
virtual void setRangeLowerBound (ExtentIndex, DimensionHandle, ULong) throw (ArrayIndexOutOfBounds)
virtual void setRangeUpperBound (ExtentIndex, DimensionHandle, ULong) throw (ArrayIndexOutOfBounds)
virtual ULong getNumberOfExtents () const throw ()
virtual SpaceHandle getSpaceHandle () const =0 throw ()
const std::vector< Extent > & getExtents () const
 Get the region's extents.
void replaceExtents (const std::vector< Extent > &) throw (InvalidExtents)
bool overlaps (const BaseRegion &region) const
 Check if regions overlap.

Protected Member Functions

void setExtents (const std::vector< Extent > &)

Protected Attributes

std::vector< Extentextents


Detailed Description

Definition at line 37 of file BaseRegion.hh.


Constructor & Destructor Documentation

BaseRegion ( RegionHandle  h  ) 

Definition at line 33 of file BaseRegion.cc.

~BaseRegion (  )  [virtual]

Definition at line 39 of file BaseRegion.cc.


Member Function Documentation

ULong getRangeLowerBound ( ExtentIndex  index,
DimensionHandle  dimension 
) const throw (ArrayIndexOutOfBounds) [virtual]

Reimplemented in FedRegion.

Definition at line 53 of file BaseRegion.cc.

References BaseRegion::extents.

Referenced by FedRegion::getRangeLowerBound().

ULong getRangeUpperBound ( ExtentIndex  index,
DimensionHandle  dimension 
) const throw (ArrayIndexOutOfBounds) [virtual]

Reimplemented in FedRegion.

Definition at line 67 of file BaseRegion.cc.

References BaseRegion::extents.

Referenced by FedRegion::getRangeUpperBound().

void setRangeLowerBound ( ExtentIndex  index,
DimensionHandle  dimension,
ULong  val 
) throw (ArrayIndexOutOfBounds) [virtual]

Reimplemented in FedRegion.

Definition at line 81 of file BaseRegion.cc.

References BaseRegion::extents.

Referenced by FedRegion::setRangeLowerBound().

void setRangeUpperBound ( ExtentIndex  index,
DimensionHandle  dimension,
ULong  val 
) throw (ArrayIndexOutOfBounds) [virtual]

Reimplemented in FedRegion.

Definition at line 96 of file BaseRegion.cc.

References BaseRegion::extents.

Referenced by FedRegion::setRangeUpperBound().

ULong getNumberOfExtents (  )  const throw () [virtual]

virtual SpaceHandle getSpaceHandle (  )  const throw () [pure virtual]

Implemented in FedRegion, and RTIRegion.

Referenced by BaseRegion::overlaps().

const vector< Extent > & getExtents (  )  const

Get the region's extents.

Returns:
The extents, as a vector

Definition at line 114 of file BaseRegion.cc.

References BaseRegion::extents.

Referenced by RTI::RTIambassador::notifyAboutRegionModification().

void replaceExtents ( const std::vector< Extent > &  e  )  throw (InvalidExtents)

bool overlaps ( const BaseRegion region  )  const

Check if regions overlap.

Definition at line 142 of file BaseRegion.cc.

References BaseRegion::extents, BaseRegion::getNumberOfExtents(), and BaseRegion::getSpaceHandle().

Referenced by Subscriber::match().

Here is the call graph for this function:

void setExtents ( const std::vector< Extent > &  e  )  [protected]

Definition at line 121 of file BaseRegion.cc.

References BaseRegion::extents.

Referenced by FedRegion::FedRegion(), and RTIRegion::RTIRegion().


Member Data Documentation

std::vector<Extent> extents [protected]


The documentation for this class was generated from the following files:

Generated on Thu Apr 30 15:54:49 2009 for CERTIDeveloperDocumentation by doxygen 1.5.5