![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtGenericStateRepository are repositories for the state of an HLA object of unknown type. More...
Inheritance diagram for DtGenericStateRepository:
Collaboration diagram for DtGenericStateRepository:Public Member Functions | |
| DtGenericStateRepository () | |
| default constructor | |
| virtual | ~DtGenericStateRepository () |
| destructor | |
| DtGenericStateRepository (const DtGenericStateRepository &orig) | |
| copy constructor | |
| DtGenericStateRepository & | operator= (const DtGenericStateRepository &orig) |
| assignment operator | |
| virtual void | setValue (RTI::AttributeHandle handle, const void *buffer, int size) |
| Sets the value of an attribute by handle. | |
| virtual void * | value (RTI::AttributeHandle handle) const |
| Returns the value of the attribute associated with handle, or NULL if none exists. | |
| virtual int | valueLength (RTI::AttributeHandle handle) const |
| Returns the length of the value of the attribute associated with handle, or - if none exists. | |
| virtual DtStateRepository * | clone (bool copy=false) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | printData () const |
| Print the state data. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print the state data to the specified stream. | |
| RTI::AttributeHandleValuePairSet *& | attrs () |
| Returns the Attributes Map/Set. | |
Public Member Functions inherited from DtStateRepository | |
| virtual | ~DtStateRepository () |
| destructor | |
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| assignment operator | |
| virtual void | setGlobalId (const DtGlobalObjectDesignator &id) |
| Get/Set global identifier, or name. | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| virtual void | setLocalId (const DtObjectId &id) |
| Get/Set local identifier, or handle. | |
| virtual const DtObjectId & | localId () const |
Static Public Member Functions | |
| static DtStateRepository * | create () |
Protected Attributes | |
| RTI::AttributeHandleValuePairSet * | myAttrs |
Protected Attributes inherited from DtStateRepository | |
| DtGlobalObjectDesignator | myGlobalId |
| DtObjectId | myLocalId |
Additional Inherited Members | |
Protected Member Functions inherited from DtStateRepository | |
| DtStateRepository () | |
| Constructors are protected since this is an abstract base class. | |
| DtStateRepository (const DtStateRepository &orig) | |
| copy constructor | |
Instances of DtGenericStateRepository are repositories for the state of an HLA object of unknown type.
State is represented exactly the same way as in the FOM.
| DtGenericStateRepository::DtGenericStateRepository | ( | ) |
default constructor
|
virtual |
destructor
| DtGenericStateRepository::DtGenericStateRepository | ( | const DtGenericStateRepository & | orig | ) |
copy constructor
| RTI::AttributeHandleValuePairSet*& DtGenericStateRepository::attrs | ( | ) |
Returns the Attributes Map/Set.
|
virtual |
Return a copy/empty object of the same type as this.
Implements DtStateRepository.
|
static |
| DtGenericStateRepository& DtGenericStateRepository::operator= | ( | const DtGenericStateRepository & | orig | ) |
assignment operator
|
virtual |
Print the state data.
Implements DtStateRepository.
|
virtual |
Print the state data to the specified stream.
Reimplemented from DtStateRepository.
|
virtual |
Sets the value of an attribute by handle.
|
virtual |
Returns the value of the attribute associated with handle, or NULL if none exists.
|
virtual |
Returns the length of the value of the attribute associated with handle, or - if none exists.
|
protected |