![]() |
VR-Forces 4.0.4 Class Documentation
|
DtSetForceRequest is used to set the force type of the entity. More...

Public Member Functions | |
| DtSetForceRequest () | |
| default constructor | |
| DtSetForceRequest (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a request 'put' itself, the writeName will preface it. | |
| DtSetForceRequest (const DtString &writeName, const DtSetForceRequest &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtSetForceRequest & | operator= (const DtSetForceRequest &orig) |
| assignment operator | |
| virtual | ~DtSetForceRequest () |
| virtual int | type () const |
| Returns DtSetForceRequestType. | |
| 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 DtForceType | force () const |
| virtual void | setForce (DtForceType force) |
| 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 | |
| DtRwForceType | myForce |
DtSetForceRequest is used to set the force type of the entity.
set-data-request-type: DtSetForceRequestType
parameters: force - new force of the entity
default constructor
| DtSetForceRequest::DtSetForceRequest | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a request 'put' itself, the writeName will preface it.
| DtSetForceRequest::DtSetForceRequest | ( | const DtString & | writeName, |
| const DtSetForceRequest & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtSetForceRequest::~DtSetForceRequest | ( | ) | [virtual] |
| const DtSetForceRequest& DtSetForceRequest::operator= | ( | const DtSetForceRequest & | orig | ) |
assignment operator
| virtual int DtSetForceRequest::type | ( | ) | const [virtual] |
Returns DtSetForceRequestType.
Implements DtSetDataRequest.
| virtual DtSetDataRequest* DtSetForceRequest::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of the request.
Implements DtSetDataRequest.
| virtual DtString DtSetForceRequest::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this setDataRequest.
Implements DtSetDataRequest.
| virtual DtForceType DtSetForceRequest::force | ( | ) | const [virtual] |
| virtual void DtSetForceRequest::setForce | ( | DtForceType | force | ) | [virtual] |
| virtual int DtSetForceRequest::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation (altitude included) padded to an 8-byte boundary.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetForceRequest::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the request from the network buffer.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetForceRequest::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class setDataRequest) with the set data request contents.
Reimplemented from DtSetDataRequest.
| static DtSetDataRequest* DtSetForceRequest::creator | ( | ) | [static] |
DtRwForceType DtSetForceRequest::myForce [protected] |