![]() |
VR-Forces 4.0.4 Class Documentation
|
DtSetTargetRequest is used to specify a target for an entity. More...

Public Member Functions | |
| DtSetTargetRequest () | |
| default constructor | |
| DtSetTargetRequest (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a request 'put' itself, the writeName will preface it. | |
| DtSetTargetRequest (const DtString &writeName, const DtSetTargetRequest &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtSetTargetRequest & | operator= (const DtSetTargetRequest &orig) |
| assignment operator | |
| virtual | ~DtSetTargetRequest () |
| virtual int | type () const |
| Returns DtSetTargetRequestType. | |
| 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 int | netRepSize () const |
| Returns the size of the full network representation padded to an 8-byte boundary. | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Fills in the task from the network buffer. | |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class simTask) with the task contents. | |
| virtual const DtString & | target () const |
| The name string of the entity to be targeted. | |
| virtual void | setTarget (const DtString &target) |
| The name string of the entity to be targeted. | |
Static Public Member Functions | |
| static DtSetDataRequest * | creator () |
Protected Attributes | |
| DtRwString | myTarget |
DtSetTargetRequest is used to specify a target for an entity.
It inherits read/writableness from DtSetDataRequest, and includes the name of the entity to target.
set-data-request-type: DtSetTargetRequestType
default constructor
| DtSetTargetRequest::DtSetTargetRequest | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a request 'put' itself, the writeName will preface it.
| DtSetTargetRequest::DtSetTargetRequest | ( | const DtString & | writeName, |
| const DtSetTargetRequest & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtSetTargetRequest::~DtSetTargetRequest | ( | ) | [virtual] |
| const DtSetTargetRequest& DtSetTargetRequest::operator= | ( | const DtSetTargetRequest & | orig | ) |
assignment operator
| virtual int DtSetTargetRequest::type | ( | ) | const [virtual] |
Returns DtSetTargetRequestType.
Implements DtSetDataRequest.
| virtual DtSetDataRequest* DtSetTargetRequest::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of the request.
Implements DtSetDataRequest.
| virtual DtString DtSetTargetRequest::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this setDataRequest.
Implements DtSetDataRequest.
| virtual const DtString& DtSetTargetRequest::target | ( | ) | const [virtual] |
The name string of the entity to be targeted.
| virtual void DtSetTargetRequest::setTarget | ( | const DtString & | target | ) | [virtual] |
The name string of the entity to be targeted.
| virtual int DtSetTargetRequest::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetTargetRequest::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the task from the network buffer.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetTargetRequest::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSetDataRequest.
| static DtSetDataRequest* DtSetTargetRequest::creator | ( | ) | [static] |
DtRwString DtSetTargetRequest::myTarget [protected] |