![]() |
VR-Forces 4.0.4 Class Documentation
|
DtSetLifeFormPostureRequest is used to force a state for an individual lifeform. More...

Public Member Functions | |
| DtSetLifeFormPostureRequest () | |
| default constructor | |
| DtSetLifeFormPostureRequest (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a request 'put' itself, the writeName will preface it. | |
| DtSetLifeFormPostureRequest (const DtString &writeName, const DtSetLifeFormPostureRequest &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtSetLifeFormPostureRequest & | operator= (const DtSetLifeFormPostureRequest &orig) |
| assignment operator | |
| virtual | ~DtSetLifeFormPostureRequest () |
| virtual int | type () const |
| Returns DtSetLifeFormPostureRequestType. | |
| virtual DtSetDataRequest * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const |
| Creates a copy of the request. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this setDataRequest. | |
| virtual DtRwIndividualLifeFormStateType | lifeFormPosture () const |
| virtual void | setLifeFormPosture (DtRwIndividualLifeFormStateType &posture) |
| virtual DtLifeformState | lifeformState () const |
| virtual void | setLifeformState (DtLifeformState posture) |
| virtual int | netRepSize () const |
| Returns the size of the full network representation (altitude included) padded to an 8-byte boundary. | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Fills in the request from the network buffer. | |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class setDataRequest) with the set data request contents. | |
Static Public Member Functions | |
| static DtSetDataRequest * | creator () |
Protected Attributes | |
| DtRwIndividualLifeFormStateType | myLifeFormPosture |
DtSetLifeFormPostureRequest is used to force a state for an individual lifeform.
It inherits read/writableness from DtSetDataRequest, and includes the moving action to use (see indLifeFormSR.h).
default constructor
| DtSetLifeFormPostureRequest::DtSetLifeFormPostureRequest | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a request 'put' itself, the writeName will preface it.
| DtSetLifeFormPostureRequest::DtSetLifeFormPostureRequest | ( | const DtString & | writeName, |
| const DtSetLifeFormPostureRequest & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtSetLifeFormPostureRequest::~DtSetLifeFormPostureRequest | ( | ) | [virtual] |
| const DtSetLifeFormPostureRequest& DtSetLifeFormPostureRequest::operator= | ( | const DtSetLifeFormPostureRequest & | orig | ) |
assignment operator
| virtual int DtSetLifeFormPostureRequest::type | ( | ) | const [virtual] |
Returns DtSetLifeFormPostureRequestType.
Implements DtSetDataRequest.
| virtual DtSetDataRequest* DtSetLifeFormPostureRequest::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of the request.
Implements DtSetDataRequest.
| virtual DtString DtSetLifeFormPostureRequest::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this setDataRequest.
Implements DtSetDataRequest.
| virtual DtRwIndividualLifeFormStateType DtSetLifeFormPostureRequest::lifeFormPosture | ( | ) | const [virtual] |
| virtual void DtSetLifeFormPostureRequest::setLifeFormPosture | ( | DtRwIndividualLifeFormStateType & | posture | ) | [virtual] |
| virtual DtLifeformState DtSetLifeFormPostureRequest::lifeformState | ( | ) | const [virtual] |
| virtual void DtSetLifeFormPostureRequest::setLifeformState | ( | DtLifeformState | posture | ) | [virtual] |
| virtual int DtSetLifeFormPostureRequest::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation (altitude included) padded to an 8-byte boundary.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetLifeFormPostureRequest::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the request from the network buffer.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetLifeFormPostureRequest::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class setDataRequest) with the set data request contents.
Reimplemented from DtSetDataRequest.
| static DtSetDataRequest* DtSetLifeFormPostureRequest::creator | ( | ) | [static] |