Because this example adds a concept that did not already exist in VR-Link's DtEntityStateRepository class, we create this subclass of DtEntityStateRepository that adds the concept of mass.
More...
Protected Attributes |
| float | myMass |
Detailed Description
Because this example adds a concept that did not already exist in VR-Link's DtEntityStateRepository class, we create this subclass of DtEntityStateRepository that adds the concept of mass.
This class is identical to the State Rep in the addAttr example.
Constructor & Destructor Documentation
| MyEntityStateRep::MyEntityStateRep |
( |
| ) |
|
|
inline |
Member Function Documentation
| void MyEntityStateRep::setMass |
( |
float |
mass | ) |
|
|
inlinevirtual |
| float MyEntityStateRep::mass |
( |
| ) |
const |
|
inlinevirtual |
| void MyEntityStateRep::printData |
( |
| ) |
const |
|
inlinevirtual |
| DtStateRepository * MyEntityStateRep::clone |
( |
bool |
copy = false | ) |
const |
|
inlinevirtual |
| virtual void MyEntityStateRep::setMass |
( |
float |
mass | ) |
|
|
virtual |
| virtual float MyEntityStateRep::mass |
( |
| ) |
const |
|
virtual |
| virtual void MyEntityStateRep::printData |
( |
| ) |
const |
|
virtual |
Virtual function override: print the state rep's data.
| virtual DtStateRepository* MyEntityStateRep::clone |
( |
bool |
copy = false | ) |
const |
|
virtual |
Copy shallow (false) or deep (true).
Member Data Documentation
| float MyEntityStateRep::myMass |
|
protected |
The documentation for this class was generated from the following files:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/examples/addAttr/addAttrSim/myEsr.h
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/examples/exampleFomMapper/MyEntityStateRep.h