![]() |
VR-Forces 4.0.4 Class Documentation
|
DtSetStayInLaneRequest is used to set the the mode of a movement controller to either take advantage of roads or ignore them. More...

Public Member Functions | |
| DtSetStayInLaneRequest () | |
| default constructor | |
| DtSetStayInLaneRequest (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a request 'put' itself, the writeName will preface it. | |
| DtSetStayInLaneRequest (const DtString &writeName, const DtSetStayInLaneRequest &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtSetStayInLaneRequest & | operator= (const DtSetStayInLaneRequest &orig) |
| assignment operator | |
| virtual | ~DtSetStayInLaneRequest () |
| virtual int | type () const |
| Returns DtSetStayInLaneRequestType. | |
| 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 bool | stayInLane () const |
| virtual void | setStayInLane (bool value) |
Static Public Member Functions | |
| static DtSetDataRequest * | creator () |
Protected Attributes | |
| DtRwBoolean | myStayInLane |
DtSetStayInLaneRequest is used to set the the mode of a movement controller to either take advantage of roads or ignore them.
default constructor
| DtSetStayInLaneRequest::DtSetStayInLaneRequest | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a request 'put' itself, the writeName will preface it.
| DtSetStayInLaneRequest::DtSetStayInLaneRequest | ( | const DtString & | writeName, |
| const DtSetStayInLaneRequest & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtSetStayInLaneRequest::~DtSetStayInLaneRequest | ( | ) | [virtual] |
| const DtSetStayInLaneRequest& DtSetStayInLaneRequest::operator= | ( | const DtSetStayInLaneRequest & | orig | ) |
assignment operator
| virtual int DtSetStayInLaneRequest::type | ( | ) | const [virtual] |
Returns DtSetStayInLaneRequestType.
Implements DtSetDataRequest.
| virtual DtSetDataRequest* DtSetStayInLaneRequest::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of the request.
Implements DtSetDataRequest.
| virtual DtString DtSetStayInLaneRequest::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this setDataRequest.
Implements DtSetDataRequest.
| virtual bool DtSetStayInLaneRequest::stayInLane | ( | ) | const [virtual] |
Set/Get the stay in lane flag passed in this message.
| virtual void DtSetStayInLaneRequest::setStayInLane | ( | bool | value | ) | [virtual] |
Set/Get the stay in lane flag passed in this message.
| virtual int DtSetStayInLaneRequest::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetStayInLaneRequest::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the task from the network buffer.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetStayInLaneRequest::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSetDataRequest.
| static DtSetDataRequest* DtSetStayInLaneRequest::creator | ( | ) | [static] |
DtRwBoolean DtSetStayInLaneRequest::myStayInLane [protected] |