![]() |
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. | |
Static Public Member Functions | |
| static DtStateRepository * | create () |
Protected Attributes | |
| RTI::AttributeHandleValuePairSet * | myAttrs |
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.
default constructor
| virtual DtGenericStateRepository::~DtGenericStateRepository | ( | ) | [virtual] |
destructor
copy constructor
| RTI::AttributeHandleValuePairSet*& DtGenericStateRepository::attrs | ( | ) |
Returns the Attributes Map/Set.
| virtual DtStateRepository* DtGenericStateRepository::clone | ( | bool | copy = false | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtStateRepository.
| static DtStateRepository* DtGenericStateRepository::create | ( | ) | [static] |
| DtGenericStateRepository& DtGenericStateRepository::operator= | ( | const DtGenericStateRepository & | orig | ) |
assignment operator
| virtual void DtGenericStateRepository::printData | ( | ) | const [virtual] |
Print the state data.
Implements DtStateRepository.
| virtual void DtGenericStateRepository::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the state data to the specified stream.
Reimplemented from DtStateRepository.
| virtual void DtGenericStateRepository::setValue | ( | RTI::AttributeHandle | handle, |
| const void * | buffer, | ||
| int | size | ||
| ) | [virtual] |
Sets the value of an attribute by handle.
| virtual void* DtGenericStateRepository::value | ( | RTI::AttributeHandle | handle | ) | const [virtual] |
Returns the value of the attribute associated with handle, or NULL if none exists.
| virtual int DtGenericStateRepository::valueLength | ( | RTI::AttributeHandle | handle | ) | const [virtual] |
Returns the length of the value of the attribute associated with handle, or - if none exists.
RTI::AttributeHandleValuePairSet* DtGenericStateRepository::myAttrs [protected] |