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, const MAKRti::DtString &normalization) |
| | 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 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.
|
| 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.
|
| 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 DtObjectClassInfo * | classByName (const char *name) const |
| | Returns the class descriptor for the name.
|
| virtual DtObjectClassInfo * | classByHandle (DtObjectClassHandle handle) const |
| | Returns the class descriptor for the handle.
|
| virtual DtObjectClassInfo * | objectRootClass () 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 DtInteractionClassInfo * | interactionByName (const char *name) const |
| | Returns the class descriptor for the name.
|
| virtual DtInteractionClassInfo * | interactionByHandle (DtInteractionClassHandle handle) const |
| | Returns the class descriptor for the handle.
|
| virtual DtInteractionClassInfo * | interactionRootClass () 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 DtFomClassMgr * | clone () |
| | Return a copy of this instance.
|
| virtual void | setDistributor (DtSynchronousFileDistributor *distributor) |
| | Adding the distributor so we can take FOMs from it.
|
virtual
DtSynchronousFileDistributor * | distributor () const |
| virtual void | setConveyRegionDesignatorSets (bool value) |
| | switches
|
| virtual void | addFedFileName (const MAKRti::DtString &name) |
virtual const std::vector
< MAKRti::DtString > & | fedFiles () const |
Protected Member Functions |
| | DtFomClassMgr (DtRIDParameters *params) |
| | Constructor - used by create.
|
| | DtFomClassMgr () |
| | Constructor - must use create instead.
|
| DtFomClassMgr & | operator= (const DtFomClassMgr &orig) |
| | assignment operator (not implemented)
|
| void | init () |
| virtual DtInteractionClassInfo * | addInterClassSorted (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 DtInteractionClassInfo * | addInterClassUnsorted (const char *name, const char *baseName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSpaceHandle spaceH, DtInteractionClassInfo *baseClass, DtSharingType sharing, const MAKRti::DtString &semantics) |
| virtual DtObjectClassInfo * | addObjClassSorted (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.
|
| virtual DtObjectClassInfo * | addObjClassUnsorted (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.
|
| 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.
|
| 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) |