MAK RTIspy API Documentation for HLA 1516
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtFomClassMgr Class Reference
+ Inheritance diagram for DtFomClassMgr:
+ Collaboration diagram for DtFomClassMgr:

Public Member Functions

 DtFomClassMgr (const DtFomClassMgr &orig)
 Copy Constructor - must use clone instead.
virtual ~DtFomClassMgr ()
 Destructor.
virtual void addSpace (const char *name)
 FED file loading functions.
virtual void addDimension (const char *spaceName, const char *dimName)
 Define a dimension within a routing space.
virtual void addDimension (const char *dimName, unsigned long upperBound, unsigned long defaultLowerBound, unsigned long defaultUpperBound, bool excluded)
 Define a dimension. Used when initializing from FED file.
virtual bool addInteractionDimension (const char *interactionName, const char *dimension)
 Add regions to the class Return true if add was successful (i.e., dimension is valid)
virtual void addInterClass (const char *name, const char *baseName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSharingType sharing, const MAKRti::DtString &semantics, const char *space=NULL)
 Define a class. Used when initializing from FED file.
void addInterClass (const char *name, const char *baseName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, const char *spaceName=NULL)
void addObjClass (const char *name, const char *baseName, DtSharingType sharing, const MAKRti::DtString &semantics)
virtual void addObjClass (const char *name, const char *baseName)
 Define a class. Used when initializing from FED file.
virtual void addParameter (const char *className, const char *paramName)
virtual void addParameter (const char *className, const char *paramName, const char *semantics)
 Define an parameter of a class.
virtual bool addAttributeDimension (const char *className, const char *attrName, const char *dimName)
 Define the dimensions of an attribute Return true if add was successful (i.e., dimension is valid)
virtual void addAttribute (const char *className, const char *attrName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSharingType sharing, DtFomUpdateType updateType, const MAKRti::DtString &updateCondition, DtOwnershipType ownershipType, const MAKRti::DtString &semantics, const char *spaceName=NULL)
 Define an attribute of a class.
virtual void addAttribute (const char *className, const char *attrName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, const char *spaceName=NULL)
virtual void initUpdateRates (DtRIDParameters *params)
const MAKRti::DtUpdateRateSetT & getUpdateRates () const
 Get a set of the update Rates.
float updateRateByName (const char *name)
 Get the rate (Float) from an Update rate by its name.
int positionOfRate (float rate) const
 Get the position of this rate (sorted ascending).
bool knownUpdateRate (const MAKRti::DtString &rateName) const
 Check to see if an update rate with this name exists.
virtual DtMergeFomStatus mergeObjectClasses (DtFedTarget const &module)
 Merge the contents of the specified FomMgr with this.
virtual DtMergeFomStatus mergeObjectInfo (DtObjectClassInfo const &classInfo)
 Merge the contents of the specified objectClass with this.
virtual void mergeAttributes (DtObjectClassInfo const &classInfo, DtFomClassMgr const &module)
 Merge the attributes of the given class into the same class in this FOM.
virtual DtMergeFomStatus mergeInteractionClasses (DtFedTarget const &module)
 Merge the contents of the specified interactionClasses with this.
virtual DtMergeFomStatus mergeInteractionInfo (DtInteractionClassInfo const &interInfo, const char *spaceName=0)
 Merge the contents of the specified InteractionInfo with this.
virtual void mergeParameters (DtInteractionClassInfo const &interInfo)
 Merge the given interaction parameters into the same class in this FOM.
virtual DtMergeFomStatus mergeSpaces (DtFedTarget const &module)
 Merge the given routing spaces with this.
virtual DtMergeFomStatus mergeDimensions (DtSpaceInfo const &spaceInfo)
 Merge the given dimensions into the same space in this FOM.
virtual DtMergeFomStatus mergeSwitches (DtFedTarget const &module)
 Merge the given switches with this.
virtual DtObjectClassHandle classHandle (const char *theName, bool throwException=true)
 Querying functions.
virtual const char * className (DtObjectClassHandle theHandle, bool throwException=true)
 Get class name from handle.
virtual DtAttributeHandle attrHandle (const char *theName, DtObjectClassHandle whichClass, bool throwException=true)
 Get attribute handle from name.
virtual const char * attrName (DtAttributeHandle theHandle, DtObjectClassHandle whichClass, bool throwException=true)
 Get attribute name from handle Returns pointer to internal memory.
virtual DtObjectClassInfoclassByName (const char *name) const
 Returns the class descriptor for the name.
virtual DtObjectClassInfoclassByHandle (DtObjectClassHandle handle) const
 Returns the class descriptor for the handle.
virtual DtObjectClassInfoobjectRootClass () const
 Returns the root object class descriptor.
virtual DtObjectClassHandle objectRootHandle () const
 Returns the handle of the root object.
virtual int numClasses () const
 Get the number of classes.
virtual void addClassHdlForUnknownClass (DtObjectClassHandle handle, DtObjectClassHandle baseClassHandle)
 Adds a known class handle for which we have no other information other than its base class.
virtual DtInteractionClassInfointeractionByName (const char *name) const
 Returns the class descriptor for the name.
virtual DtInteractionClassInfointeractionByHandle (DtInteractionClassHandle handle) const
 Returns the class descriptor for the handle.
virtual DtInteractionClassInfointeractionRootClass () const
 Returns the root interaction class descriptor.
virtual DtInteractionClassHandle interactionRootHandle () const
 Returns the handle of the root interaction.
virtual DtInteractionClassHandle interactionHandle (const char *theName, bool throwException=true)
 Get class handle from name.
virtual const char * interactionName (DtInteractionClassHandle theHandle, bool throwException=true)
 Get class name from handle.
virtual DtParameterHandle paramHandle (const char *theName, DtInteractionClassHandle whichClass, bool throwException=true)
 Get parameter handle from name.
virtual const char * paramName (DtParameterHandle theHandle, DtInteractionClassHandle whichClass, bool throwException=true)
 Get parameter name from handle Returns pointer to internal memory.
virtual int numInteractions () const
 Get num interactions.
virtual void addInteractionHdlForUnknownClass (DtInteractionClassHandle handle, DtInteractionClassHandle baseClassHandle)
 Adds a known class handle for which we have no other information other than its base class.
virtual void initDMFilteringParameters (const DtRIDParameters *params)
 DM Filtering.
virtual void printDMSubscriptions ()
virtual bool save (DtRtiSaveFile &file)
 save and restore
virtual void prepareToRestore ()
 Prepare the state information to be restored (i.e., clear out existing data).
virtual bool restore (DtRtiSaveFile &file)
 Restore the state information from the given file.
virtual void setExtend13and1516interop (bool enable)
 set/get 1.3 and 1516 interoperability status
virtual bool extend13and1516interop () const
virtual void print () const
 Print the contents.
virtual DtFomClassMgrclone ()
 Return a copy of this instance.
virtual void setConveyRegionDesignatorSets (bool value)
 switches

Static Public Member Functions

static DtFomClassMgrcreate (DtRIDParameters *p)
 Creates an instance of a DtFomClassMgr.
static void setCreatorFunction (DtFomClassMgrCreator fn)
 Call this function to set an alternate creator function With this function, users can replace this DtFomClassMgr with their own derived class.

Public Attributes

unsigned long myCrc
 This is 0 by default.

Protected Member Functions

 DtFomClassMgr (DtRIDParameters *params)
 Constructor - used by create.
 DtFomClassMgr ()
 Constructor - must use create instead.
DtFomClassMgroperator= (const DtFomClassMgr &orig)
 assignment operator (not implemented)
void init ()
virtual DtInteractionClassInfoaddInterClassSorted (const char *name, const char *baseName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSpaceHandle spaceH, DtInteractionClassInfo *baseClass, DtSharingType sharing, const MAKRti::DtString &semantics)
 Add a new interaction class with sorted or unsorted (deprecated) handles.
virtual DtInteractionClassInfoaddInterClassUnsorted (const char *name, const char *baseName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSpaceHandle spaceH, DtInteractionClassInfo *baseClass, DtSharingType sharing, const MAKRti::DtString &semantics)
DtObjectClassInfoaddObjClassSorted (const char *name, const char *baseName, DtSharingType sharing, const MAKRti::DtString &semantics, DtObjectClassInfo *baseClass)
 Add a new object class with sorted or unsorted (deprecated) handles.
DtObjectClassInfoaddObjClassUnsorted (const char *name, const char *baseName, DtSharingType sharing, const MAKRti::DtString &semantics, DtObjectClassInfo *baseClass)
bool objectClassPresent (const char *name, unsigned int startIndex=0, unsigned int endIndex=0) const
 Helper function for insertion and merging.
bool attrPresent (const char *name, DtObjectClassInfo *classInfo, unsigned int startIndex=0, unsigned int endIndex=0) const
bool interactionClassPresent (const char *name, unsigned int startIndex=0, unsigned int endIndex=0) const
unsigned int objectClassPosition (const char *name, unsigned int startIndex=0, unsigned int endIndex=0) const
 Helper function for insertion and merging. Where should class be inserted.
unsigned int interactionClassPosition (const char *name, unsigned int startIndex=0, unsigned int endIndex=0) const
bool resolveAttributeDimensions (MAKRti::DtString &errorString)
bool resolveInteractionDimensions (MAKRti::DtString &errorString)
bool resolveObjectClasses (MAKRti::DtString &errorString)
bool resolveInteractionClasses (MAKRti::DtString &errorString)
bool resolveAttributes (MAKRti::DtString &errorString)
bool resolveParameters (MAKRti::DtString &errorString)
bool resolveDimensions (MAKRti::DtString &errorString)

Protected Attributes

DtObjectClassVector myClasses
 Object classes.
int myFirstMomObjectHandle
 First object class handle of MOM objects.
DtInteractionClassVector myInteractions
 Interaction classes.
int myFirstMomInteractionHandle
 First interaction class handle of MOM interactions.
bool my13and1516interop
 Indicates that 13 and 1516 interoperability is enabled.
bool myEnableFomBackwardsCompatibility
 Indicates that backwards compatibility is enabled.
bool myOverrideConveyRegions
 RID file specifies to override the FOM convey regions switch.
DtObjectClassHandle myMutableLastObjClassLookup
 Cached value for the last object class lookup.
DtInteractionClassHandle myMutableLastInterClassLookup
 Cached value for the last interaction class lookup.

Static Protected Attributes

static DtFomClassMgrCreator theCreator = 0
 Creator function creates instance of this class or subclass.

Constructor & Destructor Documentation

DtFomClassMgr::DtFomClassMgr ( DtRIDParameters params)
protected
DtFomClassMgr::DtFomClassMgr ( )
protected

Constructor - must use create instead.

References init().

Referenced by clone(), and create().

DtFomClassMgr::DtFomClassMgr ( const DtFomClassMgr orig)

Copy Constructor - must use clone instead.

References myClasses, and myInteractions.

DtFomClassMgr::~DtFomClassMgr ( )
virtual

Destructor.

References DtDeleteVectorOfPointers(), myClasses, and myInteractions.

Member Function Documentation

void DtFomClassMgr::addAttribute ( const char *  className,
const char *  attrName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
DtSharingType  sharing,
DtFomUpdateType  updateType,
const MAKRti::DtString &  updateCondition,
DtOwnershipType  ownershipType,
const MAKRti::DtString &  semantics,
const char *  spaceName = NULL 
)
virtual
void DtFomClassMgr::addAttribute ( const char *  className,
const char *  attrName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
const char *  spaceName = NULL 
)
virtual
bool DtFomClassMgr::addAttributeDimension ( const char *  className,
const char *  attrName,
const char *  dimName 
)
virtual

Define the dimensions of an attribute Return true if add was successful (i.e., dimension is valid)

References DtAttrInfo::addDimension(), DtObjectClassInfo::attrByName(), classByName(), DtGlobalSpaceHandle, and DtInvalidHandle.

Referenced by addAttribute().

void DtFomClassMgr::addClassHdlForUnknownClass ( DtObjectClassHandle  handle,
DtObjectClassHandle  baseClassHandle 
)
virtual

Adds a known class handle for which we have no other information other than its base class.

This is necessary with FOM module merging. We may not have full information about modules added to the federation after we joined, but we need to know if those classes are subclasses of the classes we are subscribed to. Will not add info for classes which are already known.

References addObjClassUnsorted(), classByHandle(), DtObjectClassInfo::name(), DtObjectClassInfo::setDiscoveredHandle(), DtObjectClassInfo::setIsUnknown(), and DtObjectClassInfo::sharing().

Referenced by DtRtiExecFederateMgr::processNewFomClasses().

void DtFomClassMgr::addDimension ( const char *  spaceName,
const char *  dimName 
)
virtual

Define a dimension within a routing space.

Used when initializing from FED file.

References extend13and1516interop().

void DtFomClassMgr::addDimension ( const char *  dimName,
unsigned long  upperBound,
unsigned long  defaultLowerBound,
unsigned long  defaultUpperBound,
bool  excluded 
)
virtual

Define a dimension. Used when initializing from FED file.

References DtDefaultSpaceHandle, and DtGlobalSpaceHandle.

bool DtFomClassMgr::addInteractionDimension ( const char *  interactionName,
const char *  dimension 
)
virtual

Add regions to the class Return true if add was successful (i.e., dimension is valid)

References DtInteractionClassInfo::addDimension(), DtGlobalSpaceHandle, DtInvalidHandle, and interactionByName().

Referenced by addInterClass().

void DtFomClassMgr::addInteractionHdlForUnknownClass ( DtInteractionClassHandle  handle,
DtInteractionClassHandle  baseClassHandle 
)
virtual

Adds a known class handle for which we have no other information other than its base class.

This is necessary with FOM module merging. We may not have full information about modules added to the federation after we joined, but we need to know if those classes are subclasses of the classes we are subscribed to. Will not add info for classes which are already known.

References addInterClassUnsorted(), DtDefaultSpaceHandle, interactionByHandle(), DtInteractionClassInfo::name(), DtInteractionClassInfo::order(), DtInteractionClassInfo::setDiscoveredHandle(), DtInteractionClassInfo::setIsUnknown(), DtInteractionClassInfo::sharing(), and DtInteractionClassInfo::transport().

Referenced by DtRtiExecFederateMgr::processNewFomClasses().

void DtFomClassMgr::addInterClass ( const char *  name,
const char *  baseName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
DtSharingType  sharing,
const MAKRti::DtString &  semantics,
const char *  space = NULL 
)
virtual
void DtFomClassMgr::addInterClass ( const char *  name,
const char *  baseName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
const char *  spaceName = NULL 
)
DtInteractionClassInfo * DtFomClassMgr::addInterClassSorted ( const char *  name,
const char *  baseName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
DtSpaceHandle  spaceH,
DtInteractionClassInfo baseClass,
DtSharingType  sharing,
const MAKRti::DtString &  semantics 
)
protectedvirtual
DtInteractionClassInfo * DtFomClassMgr::addInterClassUnsorted ( const char *  name,
const char *  baseName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
DtSpaceHandle  spaceH,
DtInteractionClassInfo baseClass,
DtSharingType  sharing,
const MAKRti::DtString &  semantics 
)
protectedvirtual
void DtFomClassMgr::addObjClass ( const char *  name,
const char *  baseName,
DtSharingType  sharing,
const MAKRti::DtString &  semantics 
)
void DtFomClassMgr::addObjClass ( const char *  name,
const char *  baseName 
)
virtual

Define a class. Used when initializing from FED file.

References addObjClass(), and DtSharingTypePublishSubscribe.

DtObjectClassInfo * DtFomClassMgr::addObjClassSorted ( const char *  name,
const char *  baseName,
DtSharingType  sharing,
const MAKRti::DtString &  semantics,
DtObjectClassInfo baseClass 
)
protected

Add a new object class with sorted or unsorted (deprecated) handles.

References myClasses, myFirstMomObjectHandle, objectClassPosition(), objectClassPresent(), and DtObjectClassInfo::setFomType().

Referenced by addObjClass().

DtObjectClassInfo * DtFomClassMgr::addObjClassUnsorted ( const char *  name,
const char *  baseName,
DtSharingType  sharing,
const MAKRti::DtString &  semantics,
DtObjectClassInfo baseClass 
)
protected
void DtFomClassMgr::addParameter ( const char *  className,
const char *  paramName 
)
virtual

Referenced by addTestToFom().

void DtFomClassMgr::addParameter ( const char *  className,
const char *  paramName,
const char *  semantics 
)
virtual

Define an parameter of a class.

Used when initializing from FED file.

References DtInteractionClassInfo::addParam(), interactionByName(), and myEnableFomBackwardsCompatibility.

void DtFomClassMgr::addSpace ( const char *  name)
virtual

FED file loading functions.

Define a routing space. Used when initializing from FED file.

References myEnableFomBackwardsCompatibility.

Referenced by mergeDimensions().

DtAttributeHandle DtFomClassMgr::attrHandle ( const char *  theName,
DtObjectClassHandle  whichClass,
bool  throwException = true 
)
virtual

Get attribute handle from name.

References DtObjectClassInfo::attrHandle(), classByHandle(), and DtInvalidHandle.

const char * DtFomClassMgr::attrName ( DtAttributeHandle  theHandle,
DtObjectClassHandle  whichClass,
bool  throwException = true 
)
virtual

Get attribute name from handle Returns pointer to internal memory.

References DtObjectClassInfo::attrName(), and classByHandle().

bool DtFomClassMgr::attrPresent ( const char *  name,
DtObjectClassInfo classInfo,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protected
DtObjectClassInfo * DtFomClassMgr::classByHandle ( DtObjectClassHandle  handle) const
virtual
DtObjectClassInfo * DtFomClassMgr::classByName ( const char *  name) const
virtual
DtObjectClassHandle DtFomClassMgr::classHandle ( const char *  theName,
bool  throwException = true 
)
virtual

Querying functions.

Get class handle from name

References classByName(), DtInvalidHandle, and DtObjectClassInfo::handle().

const char * DtFomClassMgr::className ( DtObjectClassHandle  theHandle,
bool  throwException = true 
)
virtual
DtFomClassMgr * DtFomClassMgr::clone ( )
virtual
DtFomClassMgr * DtFomClassMgr::create ( DtRIDParameters p)
static
bool DtFomClassMgr::extend13and1516interop ( ) const
virtual
const MAKRti::DtUpdateRateSetT & DtFomClassMgr::getUpdateRates ( ) const

Get a set of the update Rates.

void DtFomClassMgr::init ( )
protected
void DtFomClassMgr::initDMFilteringParameters ( const DtRIDParameters params)
virtual
void DtFomClassMgr::initUpdateRates ( DtRIDParameters params)
virtual
DtInteractionClassInfo * DtFomClassMgr::interactionByHandle ( DtInteractionClassHandle  handle) const
virtual
DtInteractionClassInfo * DtFomClassMgr::interactionByName ( const char *  name) const
virtual
unsigned int DtFomClassMgr::interactionClassPosition ( const char *  name,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protected
bool DtFomClassMgr::interactionClassPresent ( const char *  name,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protected
DtInteractionClassHandle DtFomClassMgr::interactionHandle ( const char *  theName,
bool  throwException = true 
)
virtual

Get class handle from name.

References DtInvalidHandle, DtInteractionClassInfo::handle(), and interactionByName().

const char * DtFomClassMgr::interactionName ( DtInteractionClassHandle  theHandle,
bool  throwException = true 
)
virtual
DtInteractionClassInfo * DtFomClassMgr::interactionRootClass ( ) const
virtual
DtInteractionClassHandle DtFomClassMgr::interactionRootHandle ( ) const
virtual

Returns the handle of the root interaction.

References theInteractionRootHandle.

bool DtFomClassMgr::knownUpdateRate ( const MAKRti::DtString &  rateName) const

Check to see if an update rate with this name exists.

Referenced by initUpdateRates().

void DtFomClassMgr::mergeAttributes ( DtObjectClassInfo const &  classInfo,
DtFomClassMgr const &  module 
)
virtual
DtMergeFomStatus DtFomClassMgr::mergeDimensions ( DtSpaceInfo const &  spaceInfo)
virtual

Merge the given dimensions into the same space in this FOM.

References addSpace(), DtMergeFomStatusFailedDimensions, and DtMergeFomStatusSuccess.

Referenced by mergeSpaces().

DtMergeFomStatus DtFomClassMgr::mergeInteractionClasses ( DtFedTarget const &  module)
virtual
DtMergeFomStatus DtFomClassMgr::mergeInteractionInfo ( DtInteractionClassInfo const &  interInfo,
const char *  spaceName = 0 
)
virtual
DtMergeFomStatus DtFomClassMgr::mergeObjectClasses ( DtFedTarget const &  module)
virtual

Merge the contents of the specified FomMgr with this.

References DtMergeFomStatusAlreadyPresentSuccess, DtMergeFomStatusSuccess, mergeAttributes(), mergeObjectInfo(), and myClasses.

DtMergeFomStatus DtFomClassMgr::mergeObjectInfo ( DtObjectClassInfo const &  classInfo)
virtual
void DtFomClassMgr::mergeParameters ( DtInteractionClassInfo const &  interInfo)
virtual
DtMergeFomStatus DtFomClassMgr::mergeSpaces ( DtFedTarget const &  module)
virtual

Merge the given routing spaces with this.

References DtMergeFomStatusSuccess, and mergeDimensions().

DtMergeFomStatus DtFomClassMgr::mergeSwitches ( DtFedTarget const &  module)
virtual

Merge the given switches with this.

References DtMergeFomStatusFailedSwitches, DtMergeFomStatusSuccess, and setConveyRegionDesignatorSets().

int DtFomClassMgr::numClasses ( ) const
virtual
int DtFomClassMgr::numInteractions ( ) const
virtual
unsigned int DtFomClassMgr::objectClassPosition ( const char *  name,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protected

Helper function for insertion and merging. Where should class be inserted.

References myClasses, and DtObjectClassInfo::name().

Referenced by addObjClassSorted().

bool DtFomClassMgr::objectClassPresent ( const char *  name,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protected

Helper function for insertion and merging.

.Check for presence of name between start and end Index.

References myClasses, and DtObjectClassInfo::name().

Referenced by addObjClassSorted().

DtObjectClassInfo * DtFomClassMgr::objectRootClass ( ) const
virtual
DtObjectClassHandle DtFomClassMgr::objectRootHandle ( ) const
virtual

Returns the handle of the root object.

References theObjectRootHandle.

DtFomClassMgr& DtFomClassMgr::operator= ( const DtFomClassMgr orig)
protected

assignment operator (not implemented)

DtParameterHandle DtFomClassMgr::paramHandle ( const char *  theName,
DtInteractionClassHandle  whichClass,
bool  throwException = true 
)
virtual

Get parameter handle from name.

References DtInvalidHandle, interactionByHandle(), and DtInteractionClassInfo::paramHandle().

const char * DtFomClassMgr::paramName ( DtParameterHandle  theHandle,
DtInteractionClassHandle  whichClass,
bool  throwException = true 
)
virtual

Get parameter name from handle Returns pointer to internal memory.

References interactionByHandle(), and DtInteractionClassInfo::paramName().

int DtFomClassMgr::positionOfRate ( float  rate) const

Get the position of this rate (sorted ascending).

First position is 1 and 0 indicates rate not found.

Referenced by DtObjectMgr::addClassMulticast(), and DtObjectMgr::removeClassMulticast().

void DtFomClassMgr::prepareToRestore ( )
virtual

Prepare the state information to be restored (i.e., clear out existing data).

Referenced by DtRtiExecFederateMgr::prepareToRestoreLRC().

void DtFomClassMgr::print ( ) const
virtual

Print the contents.

References myClasses, and myInteractions.

void DtFomClassMgr::printDMSubscriptions ( )
virtual

References myClasses, and myInteractions.

Referenced by initDMFilteringParameters().

bool DtFomClassMgr::resolveAttributeDimensions ( MAKRti::DtString &  errorString)
protected
bool DtFomClassMgr::resolveAttributes ( MAKRti::DtString &  errorString)
protected
bool DtFomClassMgr::resolveDimensions ( MAKRti::DtString &  errorString)
protected
bool DtFomClassMgr::resolveInteractionClasses ( MAKRti::DtString &  errorString)
protected
bool DtFomClassMgr::resolveInteractionDimensions ( MAKRti::DtString &  errorString)
protected
bool DtFomClassMgr::resolveObjectClasses ( MAKRti::DtString &  errorString)
protected
bool DtFomClassMgr::resolveParameters ( MAKRti::DtString &  errorString)
protected
bool DtFomClassMgr::restore ( DtRtiSaveFile file)
virtual
bool DtFomClassMgr::save ( DtRtiSaveFile file)
virtual

save and restore

Save the state information to the given file

References myClasses, and myInteractions.

Referenced by DtRtiExecFederateMgr::saveLRC().

void DtFomClassMgr::setConveyRegionDesignatorSets ( bool  value)
virtual

switches

Overrides setConveyRegionDesignatorSets to ensure we are properly respecting the RID file configuration

References myOverrideConveyRegions.

Referenced by DtFomClassMgr(), and mergeSwitches().

void DtFomClassMgr::setCreatorFunction ( DtFomClassMgrCreator  fn)
static

Call this function to set an alternate creator function With this function, users can replace this DtFomClassMgr with their own derived class.

References create(), DtBindCreator(), and theCreator.

void DtFomClassMgr::setExtend13and1516interop ( bool  enable)
virtual
float DtFomClassMgr::updateRateByName ( const char *  name)

Get the rate (Float) from an Update rate by its name.

Referenced by initUpdateRates().

Member Data Documentation

bool DtFomClassMgr::my13and1516interop
protected

Indicates that 13 and 1516 interoperability is enabled.

Referenced by extend13and1516interop(), and setExtend13and1516interop().

DtObjectClassVector DtFomClassMgr::myClasses
protected
unsigned long DtFomClassMgr::myCrc

This is 0 by default.

If its explicitly set, then it will be the CRC of the file read into this DtFomClassMgr. if it is 0, then it could either be a merged file (made up of multiple files, so we don't know the CRC of that) or is just some uninitialized DtFomClassMgr

Referenced by DtFederateMgr::addToParsedFomMap().

bool DtFomClassMgr::myEnableFomBackwardsCompatibility
protected

Indicates that backwards compatibility is enabled.

Referenced by addAttribute(), addInterClass(), addObjClass(), addParameter(), addSpace(), init(), mergeAttributes(), and mergeParameters().

int DtFomClassMgr::myFirstMomInteractionHandle
protected

First interaction class handle of MOM interactions.

Referenced by addInterClassSorted().

int DtFomClassMgr::myFirstMomObjectHandle
protected

First object class handle of MOM objects.

Referenced by addObjClassSorted().

DtInteractionClassVector DtFomClassMgr::myInteractions
protected
DtInteractionClassHandle DtFomClassMgr::myMutableLastInterClassLookup
mutableprotected

Cached value for the last interaction class lookup.

When merging interactions we sometimes lookup the same class name multiple times.

Referenced by addInterClassSorted(), addInterClassUnsorted(), and interactionByName().

DtObjectClassHandle DtFomClassMgr::myMutableLastObjClassLookup
mutableprotected

Cached value for the last object class lookup.

When merging objects we sometimes lookup the same class name multiple times.

Referenced by classByName().

bool DtFomClassMgr::myOverrideConveyRegions
protected

RID file specifies to override the FOM convey regions switch.

Referenced by DtFomClassMgr(), and setConveyRegionDesignatorSets().

DtFomClassMgrCreator DtFomClassMgr::theCreator = 0
staticprotected

Creator function creates instance of this class or subclass.

Referenced by create(), and setCreatorFunction().


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

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)