![]() |
VR-Link API Documentation for HLA 1.3
|
An example subclass of the DtEntityStateRepository. More...
Inheritance diagram for DtF18EntityStateRep:
Collaboration diagram for DtF18EntityStateRep:Public Member Functions | |
| DtF18EntityStateRep () | |
| Constructor. | |
| virtual | ~DtF18EntityStateRep () |
| Destructor. | |
| virtual void | setF18Attribute (const DtString &val) |
| Set the new attribute string. | |
| virtual DtString | f18Attribute () const |
| The new attribute string. | |
Static Public Member Functions | |
| static DtF18EntityStateRep * | create () |
| Need this so that reflected Lists will know how to create an instance of the DtF18EntityStateRep. | |
Protected Attributes | |
| DtString | myAttrib |
Private Member Functions | |
| DtF18EntityStateRep (const DtF18EntityStateRep &orig) | |
| copy constructor -- Not Implemented | |
| DtF18EntityStateRep & | operator= (const DtF18EntityStateRep &orig) |
| assignment operator -- Not Implemented | |
An example subclass of the DtEntityStateRepository.
This example shows how to add a new attribute to an existing entity type. Here we add a new attribute which is a string.
| DtF18EntityStateRep::DtF18EntityStateRep | ( | ) | [inline] |
Constructor.
| virtual DtF18EntityStateRep::~DtF18EntityStateRep | ( | ) | [inline, virtual] |
Destructor.
| DtF18EntityStateRep::DtF18EntityStateRep | ( | const DtF18EntityStateRep & | orig | ) | [private] |
copy constructor -- Not Implemented
| static DtF18EntityStateRep* DtF18EntityStateRep::create | ( | ) | [inline, static] |
Need this so that reflected Lists will know how to create an instance of the DtF18EntityStateRep.
Reimplemented from DtEntityStateRepository.
| virtual DtString DtF18EntityStateRep::f18Attribute | ( | ) | const [inline, virtual] |
The new attribute string.
References myAttrib.
Referenced by DtF18EntityEncoder::encodeSpecialF18Attribute(), and DtF18EntityEncoder::needSpecialF18Attribute().
| DtF18EntityStateRep& DtF18EntityStateRep::operator= | ( | const DtF18EntityStateRep & | orig | ) | [private] |
assignment operator -- Not Implemented
| virtual void DtF18EntityStateRep::setF18Attribute | ( | const DtString & | val | ) | [inline, virtual] |
Set the new attribute string.
References myAttrib.
Referenced by DtF18EntityDecoder::decodeSpecialF18Attribute().
DtString DtF18EntityStateRep::myAttrib [protected] |
Referenced by f18Attribute(), and setF18Attribute().