Public Member Functions |
| | DtEnvironmentObjectRepository () |
| | CTOR.
|
| | DtEnvironmentObjectRepository (const DtEnvironmentObjectRepository &orig) |
| | Copy CTOR.
|
| virtual | ~DtEnvironmentObjectRepository () |
| | DTOR.
|
| DtEnvironmentObjectRepository & | operator= (const DtEnvironmentObjectRepository &orig) |
| | Assignment operator.
|
| virtual DtStateRepository * | clone (bool copy) const |
| | Return a copy/empty object of the same type as this.
|
| virtual void | setObjectId (const DtEntityIdentifier &identifier) |
| | Set/Get Environment Object ID.
|
| virtual const DtEntityIdentifier & | objectId () const |
| virtual void | setReferencedObjectId (const DtGlobalObjectDesignator &rtiObject) |
| | Set/Get Referenced Object ID.
|
virtual const
DtGlobalObjectDesignator & | referencedObjectId () const |
| virtual void | setForceId (const DtForceType value) |
| | Set/Get Force ID.
|
| virtual DtForceType | forceId () const |
| virtual void | setObjectType (const DtSyntheticEnvironmentObjectType &type) |
| | Set/Get Object Type.
|
virtual const
DtSyntheticEnvironmentObjectType & | objectType () const |
| virtual void | setRequesterSimId (const DtSimulationAddress &addr) |
| | Set/Get Requester Simulation ID.
|
| virtual const DtSimulationAddress | requesterSimId () const |
| virtual void | setReceivingSimId (const DtSimulationAddress &addr) |
| | Set/Get Receiving Simulation ID.
|
| virtual const DtSimulationAddress | receivingSimId () const |
| virtual void | printData () const |
| | Prints data to DtInfo.
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Prints data to the specified stream.
|
| | DtStateRepository () |
| | default constructor
|
| | DtStateRepository (const DtStateRepository &orig) |
| | copy constructor
|
| virtual | ~DtStateRepository () |
| | destructor
|
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| | assignment operator
|
| virtual void | setGlobalId (const DtString &id) |
| | Get/Set global identifier, or name.
|
| virtual const DtString & | globalId () const |
| virtual void | setLocalId (const DtObjectId &id) |
| | Get/Set local identifier, or handle.
|
| virtual const DtObjectId & | localId () const |
| virtual bool | publishesAttribute (const RTI::AttributeHandle &val) const |
| | Returns true if the attribute is published.
|
| virtual void | setAttributeByHandle (const RTI::AttributeHandle &attrHdl, const char *attrValue, unsigned size) |
| | Set the attribute with the given handle.
|
| virtual const char * | getAttributeByHandle (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| | Get a pointer to attribute value for the attribute with the given handle.
|
| virtual void | setAttributeByName (const DtString &attrName, const char *attrValue, unsigned size, DtHlaObject *hlaObj) |
| | Set the attribute with the given name. Note that in order to do this you must provide a DtHlaObject.
|
| virtual const char * | getAttributeByName (const DtString &attrName, unsigned &size, DtHlaObject *hlaObj) const |
| | Get a pointer to attribute value for the attribute with the given name.
|
| virtual const char * | getAttributeByHandleIfUpdated (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| | Get a pointer to attribute value for the attribute with the given handle, but only if it's been updated since the last time we read it.
|
virtual
DtStateRepositoryExtension * | stateRepositoryExtension (DtString srExtName) const |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
| virtual std::vector< DtString > | stateRepositoryExtensionNames () const |
| | Returns a set of the registered state repository extension names.
|
| virtual void | setStateRepositoryExtensions (std::map< DtString, DtStateRepositoryExtension * > extensions) |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
virtual const std::map
< DtString,
DtStateRepositoryExtension * > | stateRepositoryExtensions () const |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
Instances of DtEnvironmentObjectRepository are used to maintain state information needed by environment entities.