MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ()
 Constructor - Do not use this publicly. More...
 
 DtFomClassMgr (const DtFomClassMgr &orig)
 Copy Constructor - must use clone instead. More...
 
virtual ~DtFomClassMgr ()
 Destructor. More...
 
virtual void addSpace (const char *name)
 FED file loading functions. More...
 
virtual void addDimension (const char *spaceName, const char *dimName)
 Define a dimension within a routing space. More...
 
virtual void addDimension (const char *dimName, unsigned long upperBound, unsigned long defaultLowerBound, unsigned long defaultUpperBound, bool excluded, const MAKRti::DtString &normalization)
 Define a dimension. Used when initializing from FED file. More...
 
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) More...
 
virtual bool 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. More...
 
virtual bool addInterClass (const char *name, const char *baseName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, const char *spaceName=NULL)
 
virtual bool addObjClass (const char *name, const char *baseName, DtSharingType sharing, const MAKRti::DtString &semantics)
 
virtual bool addObjClass (const char *name, const char *baseName)
 Define a class. Used when initializing from FED file. More...
 
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. More...
 
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) More...
 
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. More...
 
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. More...
 
float updateRateByName (const char *name)
 Get the rate (Float) from an Update rate by its name. More...
 
int positionOfRate (float rate) const
 Get the position of this rate (sorted ascending). More...
 
bool knownUpdateRate (const MAKRti::DtString &rateName) const
 Check to see if an update rate with this name exists. More...
 
virtual DtMergeFomStatus mergeObjectClasses (DtFedTarget const &module)
 Merge the contents of the specified FomMgr with this. More...
 
virtual DtMergeFomStatus mergeObjectInfo (DtObjectClassInfo const &classInfo)
 Merge the contents of the specified objectClass with this. More...
 
virtual void mergeAttributes (DtObjectClassInfo const &classInfo, DtFomClassMgr const &module)
 Merge the attributes of the given class into the same class in this FOM. More...
 
virtual DtMergeFomStatus mergeInteractionClasses (DtFedTarget const &module)
 Merge the contents of the specified interactionClasses with this. More...
 
virtual DtMergeFomStatus mergeInteractionInfo (DtInteractionClassInfo const &interInfo, const char *spaceName=0)
 Merge the contents of the specified InteractionInfo with this. More...
 
virtual void mergeParameters (DtInteractionClassInfo const &interInfo)
 Merge the given interaction parameters into the same class in this FOM. More...
 
virtual DtMergeFomStatus mergeSpaces (DtFedTarget const &module)
 Merge the given routing spaces with this. More...
 
virtual DtMergeFomStatus mergeDimensions (DtSpaceInfo const &spaceInfo)
 Merge the given dimensions into the same space in this FOM. More...
 
virtual DtMergeFomStatus mergeSwitches (DtFedTarget const &module)
 Merge the given switches with this. More...
 
virtual DtObjectClassHandle classHandle (const char *theName, bool throwException=true)
 Querying functions. More...
 
virtual const char * className (DtObjectClassHandle theHandle, bool throwException=true)
 Get class name from handle. More...
 
virtual DtAttributeHandle attrHandle (const char *theName, DtObjectClassHandle whichClass, bool throwException=true)
 Get attribute handle from name. More...
 
virtual const char * attrName (DtAttributeHandle theHandle, DtObjectClassHandle whichClass, bool throwException=true)
 Get attribute name from handle Returns pointer to internal memory. More...
 
virtual DtObjectClassInfoclassByName (const char *name) const
 Returns the class descriptor for the name. More...
 
virtual DtObjectClassInfoclassByHandle (DtObjectClassHandle handle) const
 Returns the class descriptor for the handle. More...
 
virtual DtObjectClassInfoobjectRootClass () const
 Returns the root object class descriptor. More...
 
virtual DtObjectClassHandle objectRootHandle () const
 Returns the handle of the root object. More...
 
virtual int numClasses () const
 Get the number of classes. More...
 
virtual void addClassHdlForUnknownClass (DtObjectClassHandle handle, DtObjectClassHandle baseClassHandle)
 Adds a known class handle for which we have no other information other than its base class. More...
 
virtual DtInteractionClassInfointeractionByName (const char *name) const
 Returns the class descriptor for the name. More...
 
virtual DtInteractionClassInfointeractionByHandle (DtInteractionClassHandle handle) const
 Returns the class descriptor for the handle. More...
 
virtual DtInteractionClassInfointeractionRootClass () const
 Returns the root interaction class descriptor. More...
 
virtual DtInteractionClassHandle interactionRootHandle () const
 Returns the handle of the root interaction. More...
 
virtual DtInteractionClassHandle interactionHandle (const char *theName, bool throwException=true)
 Get class handle from name. More...
 
virtual const char * interactionName (DtInteractionClassHandle theHandle, bool throwException=true)
 Get class name from handle. More...
 
virtual DtParameterHandle paramHandle (const char *theName, DtInteractionClassHandle whichClass, bool throwException=true)
 Get parameter handle from name. More...
 
virtual const char * paramName (DtParameterHandle theHandle, DtInteractionClassHandle whichClass, bool throwException=true)
 Get parameter name from handle Returns pointer to internal memory. More...
 
virtual int numInteractions () const
 Get num interactions. More...
 
virtual void addInteractionHdlForUnknownClass (DtInteractionClassHandle handle, DtInteractionClassHandle baseClassHandle)
 Adds a known class handle for which we have no other information other than its base class. More...
 
virtual void initDMFilteringParameters (const DtRIDParameters *params)
 DM Filtering. More...
 
virtual void printDMSubscriptions ()
 
virtual bool save (DtRtiSaveFile &file)
 save and restore More...
 
virtual void prepareToRestore ()
 Prepare the state information to be restored (i.e., clear out existing data). More...
 
virtual bool restore (DtRtiSaveFile &file)
 Restore the state information from the given file. More...
 
virtual void setExtend13and1516interop (bool enable)
 set/get 1.3 and 1516 interoperability status More...
 
virtual bool extend13and1516interop () const
 
virtual void print () const
 Print the contents. More...
 
virtual DtFomClassMgrclone ()
 Return a copy of this instance. More...
 
virtual void setDistributor (DtSynchronousFileDistributor *distributor)
 Adding the distributor so we can take FOMs from it. More...
 
virtual
DtSynchronousFileDistributor
distributor () const
 
virtual void setConveyRegionDesignatorSets (bool value)
 switches More...
 
virtual void addFedFileName (const MAKRti::DtString &name)
 
virtual const std::vector
< MAKRti::DtString > & 
fedFiles () const
 

Static Public Member Functions

static DtFomClassMgrcreate (DtRIDParameters *p)
 Creates an instance of a DtFomClassMgr. More...
 
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. More...
 

Public Attributes

unsigned long myCrc
 This is 0 by default. More...
 

Protected Member Functions

 DtFomClassMgr (DtRIDParameters *params)
 Constructor - used by create. More...
 
DtFomClassMgroperator= (const DtFomClassMgr &orig)
 assignment operator (not implemented) More...
 
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. More...
 
virtual DtInteractionClassInfoaddInterClassUnsorted (const char *name, const char *baseName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSpaceHandle spaceH, DtInteractionClassInfo *baseClass, DtSharingType sharing, const MAKRti::DtString &semantics)
 
virtual 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. More...
 
virtual DtObjectClassInfoaddObjClassUnsorted (const char *name, const char *baseName, DtSharingType sharing, const MAKRti::DtString &semantics, DtObjectClassInfo *baseClass)
 
virtual bool objectClassPresent (const char *name, unsigned int startIndex=0, unsigned int endIndex=0) const
 Helper function for insertion and merging. More...
 
virtual bool attrPresent (const char *name, DtObjectClassInfo *classInfo, unsigned int startIndex=0, unsigned int endIndex=0) const
 
virtual bool interactionClassPresent (const char *name, unsigned int startIndex=0, unsigned int endIndex=0) const
 
virtual 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. More...
 
virtual unsigned int interactionClassPosition (const char *name, unsigned int startIndex=0, unsigned int endIndex=0) const
 
virtual bool resolveAttributeDimensions (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveInteractionDimensions (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveAttributeTransportations (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveInteractionTransportations (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveObjectClasses (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveInteractionClasses (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveAttributes (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveParameters (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual bool resolveDimensions (MAKRti::DtString &errorString, bool &fomReadError)
 
virtual void addAttrInfoToChildren (DtObjectClassInfo *classDesc, const MAKRti::DtString &attributeName, DtDimensionHandle dimensionHandle)
 

Protected Attributes

DtObjectClassVector myClasses
 Object classes. More...
 
int myFirstMomObjectHandle
 First object class handle of MOM objects. More...
 
DtInteractionClassVector myInteractions
 Interaction classes. More...
 
int myFirstMomInteractionHandle
 First interaction class handle of MOM interactions. More...
 
bool my13and1516interop
 Indicates that 13 and 1516 interoperability is enabled. More...
 
bool myEnableFomBackwardsCompatibility
 Indicates that backwards compatibility is enabled. More...
 
bool myMergingEnabled
 Indicates if FOM Module Merging is enabled. More...
 
DtSynchronousFileDistributormyDistributor
 
std::vector< MAKRti::DtString > myFedFiles
 
bool myOverrideConveyRegions
 RID file specifies to override the FOM convey regions switch. More...
 
DtObjectClassHandle myMutableLastObjClassLookup
 Cached value for the last object class lookup. More...
 
DtInteractionClassHandle myMutableLastInterClassLookup
 Cached value for the last interaction class lookup. More...
 

Static Protected Attributes

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

Constructor & Destructor Documentation

DtFomClassMgr::DtFomClassMgr ( DtRIDParameters params)
protected

Constructor - used by create.

DtFomClassMgr::DtFomClassMgr ( )

Constructor - Do not use this publicly.

This needed to be public so std::map of these objects as values could be created. Use create method or the protected constructor that create uses.

DtFomClassMgr::DtFomClassMgr ( const DtFomClassMgr orig)

Copy Constructor - must use clone instead.

virtual DtFomClassMgr::~DtFomClassMgr ( )
virtual

Destructor.

Member Function Documentation

virtual 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

Define an attribute of a class.

Used when initializing from FED file.

virtual void DtFomClassMgr::addAttribute ( const char *  className,
const char *  attrName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
const char *  spaceName = NULL 
)
virtual
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)

virtual void DtFomClassMgr::addAttrInfoToChildren ( DtObjectClassInfo classDesc,
const MAKRti::DtString &  attributeName,
DtDimensionHandle  dimensionHandle 
)
protectedvirtual
virtual 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.

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

Define a dimension within a routing space.

Used when initializing from FED file.

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

Define a dimension. Used when initializing from FED file.

virtual void DtFomClassMgr::addFedFileName ( const MAKRti::DtString &  name)
virtual
virtual 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)

virtual 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.

virtual bool 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

Define a class. Used when initializing from FED file.

virtual bool DtFomClassMgr::addInterClass ( const char *  name,
const char *  baseName,
MAKRti::DtTransportType  transport,
MAKRti::DtOrderType  order,
const char *  spaceName = NULL 
)
virtual
virtual 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

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

virtual 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
virtual bool DtFomClassMgr::addObjClass ( const char *  name,
const char *  baseName,
DtSharingType  sharing,
const MAKRti::DtString &  semantics 
)
virtual
virtual bool DtFomClassMgr::addObjClass ( const char *  name,
const char *  baseName 
)
virtual

Define a class. Used when initializing from FED file.

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

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

virtual DtObjectClassInfo* DtFomClassMgr::addObjClassUnsorted ( const char *  name,
const char *  baseName,
DtSharingType  sharing,
const MAKRti::DtString &  semantics,
DtObjectClassInfo baseClass 
)
protectedvirtual
virtual void DtFomClassMgr::addParameter ( const char *  className,
const char *  paramName 
)
virtual
virtual 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.

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

FED file loading functions.

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

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

Get attribute handle from name.

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

Get attribute name from handle Returns pointer to internal memory.

virtual bool DtFomClassMgr::attrPresent ( const char *  name,
DtObjectClassInfo classInfo,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protectedvirtual
virtual DtObjectClassInfo* DtFomClassMgr::classByHandle ( DtObjectClassHandle  handle) const
virtual

Returns the class descriptor for the handle.

virtual DtObjectClassInfo* DtFomClassMgr::classByName ( const char *  name) const
virtual

Returns the class descriptor for the name.

virtual DtObjectClassHandle DtFomClassMgr::classHandle ( const char *  theName,
bool  throwException = true 
)
virtual

Querying functions.

Get class handle from name

virtual const char* DtFomClassMgr::className ( DtObjectClassHandle  theHandle,
bool  throwException = true 
)
virtual

Get class name from handle.

Returns pointer to internal memory.

virtual DtFomClassMgr* DtFomClassMgr::clone ( )
virtual

Return a copy of this instance.

static DtFomClassMgr* DtFomClassMgr::create ( DtRIDParameters p)
static

Creates an instance of a DtFomClassMgr.

virtual DtSynchronousFileDistributor* DtFomClassMgr::distributor ( ) const
virtual
virtual bool DtFomClassMgr::extend13and1516interop ( ) const
virtual
virtual const std::vector<MAKRti::DtString>& DtFomClassMgr::fedFiles ( ) const
virtual
const MAKRti::DtUpdateRateSetT& DtFomClassMgr::getUpdateRates ( ) const

Get a set of the update Rates.

void DtFomClassMgr::init ( )
protected
virtual void DtFomClassMgr::initDMFilteringParameters ( const DtRIDParameters params)
virtual

DM Filtering.

virtual void DtFomClassMgr::initUpdateRates ( DtRIDParameters params)
virtual
virtual DtInteractionClassInfo* DtFomClassMgr::interactionByHandle ( DtInteractionClassHandle  handle) const
virtual

Returns the class descriptor for the handle.

virtual DtInteractionClassInfo* DtFomClassMgr::interactionByName ( const char *  name) const
virtual

Returns the class descriptor for the name.

virtual unsigned int DtFomClassMgr::interactionClassPosition ( const char *  name,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protectedvirtual
virtual bool DtFomClassMgr::interactionClassPresent ( const char *  name,
unsigned int  startIndex = 0,
unsigned int  endIndex = 0 
) const
protectedvirtual
virtual DtInteractionClassHandle DtFomClassMgr::interactionHandle ( const char *  theName,
bool  throwException = true 
)
virtual

Get class handle from name.

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

Get class name from handle.

Returns pointer to internal memory.

virtual DtInteractionClassInfo* DtFomClassMgr::interactionRootClass ( ) const
virtual

Returns the root interaction class descriptor.

virtual DtInteractionClassHandle DtFomClassMgr::interactionRootHandle ( ) const
virtual

Returns the handle of the root interaction.

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

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

virtual void DtFomClassMgr::mergeAttributes ( DtObjectClassInfo const &  classInfo,
DtFomClassMgr const &  module 
)
virtual

Merge the attributes of the given class into the same class in this FOM.

virtual DtMergeFomStatus DtFomClassMgr::mergeDimensions ( DtSpaceInfo const &  spaceInfo)
virtual

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

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

Merge the contents of the specified interactionClasses with this.

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

Merge the contents of the specified InteractionInfo with this.

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

Merge the contents of the specified FomMgr with this.

virtual DtMergeFomStatus DtFomClassMgr::mergeObjectInfo ( DtObjectClassInfo const &  classInfo)
virtual

Merge the contents of the specified objectClass with this.

virtual void DtFomClassMgr::mergeParameters ( DtInteractionClassInfo const &  interInfo)
virtual

Merge the given interaction parameters into the same class in this FOM.

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

Merge the given routing spaces with this.

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

Merge the given switches with this.

virtual int DtFomClassMgr::numClasses ( ) const
virtual

Get the number of classes.

virtual int DtFomClassMgr::numInteractions ( ) const
virtual

Get num interactions.

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

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

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

Helper function for insertion and merging.

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

virtual DtObjectClassInfo* DtFomClassMgr::objectRootClass ( ) const
virtual

Returns the root object class descriptor.

virtual DtObjectClassHandle DtFomClassMgr::objectRootHandle ( ) const
virtual

Returns the handle of the root object.

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

assignment operator (not implemented)

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

Get parameter handle from name.

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

Get parameter name from handle Returns pointer to internal memory.

int DtFomClassMgr::positionOfRate ( float  rate) const

Get the position of this rate (sorted ascending).

First position is 1 and 0 indicates rate not found.

virtual void DtFomClassMgr::prepareToRestore ( )
virtual

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

virtual void DtFomClassMgr::print ( ) const
virtual

Print the contents.

virtual void DtFomClassMgr::printDMSubscriptions ( )
virtual
virtual bool DtFomClassMgr::resolveAttributeDimensions ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveAttributes ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveAttributeTransportations ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveDimensions ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveInteractionClasses ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveInteractionDimensions ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveInteractionTransportations ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveObjectClasses ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::resolveParameters ( MAKRti::DtString &  errorString,
bool &  fomReadError 
)
protectedvirtual
virtual bool DtFomClassMgr::restore ( DtRtiSaveFile file)
virtual

Restore the state information from the given file.

virtual bool DtFomClassMgr::save ( DtRtiSaveFile file)
virtual

save and restore

Save the state information to the given file

virtual void DtFomClassMgr::setConveyRegionDesignatorSets ( bool  value)
virtual

switches

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

static 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.

virtual void DtFomClassMgr::setDistributor ( DtSynchronousFileDistributor distributor)
virtual

Adding the distributor so we can take FOMs from it.

virtual void DtFomClassMgr::setExtend13and1516interop ( bool  enable)
virtual

set/get 1.3 and 1516 interoperability status

float DtFomClassMgr::updateRateByName ( const char *  name)

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

Member Data Documentation

bool DtFomClassMgr::my13and1516interop
protected

Indicates that 13 and 1516 interoperability is enabled.

DtObjectClassVector DtFomClassMgr::myClasses
protected

Object classes.

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

DtSynchronousFileDistributor* DtFomClassMgr::myDistributor
protected
bool DtFomClassMgr::myEnableFomBackwardsCompatibility
protected

Indicates that backwards compatibility is enabled.

std::vector<MAKRti::DtString> DtFomClassMgr::myFedFiles
protected
int DtFomClassMgr::myFirstMomInteractionHandle
protected

First interaction class handle of MOM interactions.

int DtFomClassMgr::myFirstMomObjectHandle
protected

First object class handle of MOM objects.

DtInteractionClassVector DtFomClassMgr::myInteractions
protected

Interaction classes.

bool DtFomClassMgr::myMergingEnabled
protected

Indicates if FOM Module Merging is enabled.

Attribute and Interaction Dimension are changed when merging is enabled.

DtInteractionClassHandle DtFomClassMgr::myMutableLastInterClassLookup
mutableprotected

Cached value for the last interaction class lookup.

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

DtObjectClassHandle DtFomClassMgr::myMutableLastObjClassLookup
mutableprotected

Cached value for the last object class lookup.

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

bool DtFomClassMgr::myOverrideConveyRegions
protected

RID file specifies to override the FOM convey regions switch.

DtFomClassMgrCreator DtFomClassMgr::theCreator
staticprotected

Creator function creates instance of this class or subclass.


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

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)