![]() |
VR-Forces 4.0.4 Class Documentation
|
Abstract base class for all stealth command types. More...

Public Member Functions | |
| DtStealthCommand () | |
| Default constructor. | |
| DtStealthCommand (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=NULL) | |
| Usual constructor. | |
| DtStealthCommand (const DtString &writeName, const DtStealthCommand &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| virtual | ~DtStealthCommand () |
| destructor | |
| DtStealthCommand & | operator= (const DtStealthCommand &orig) |
| assignment operator | |
| virtual void | addAttachment (const DtString &entityName) |
| Adds the give entity name to the list of entities to attach. | |
| virtual void | setAttachToName (const DtString &entityName) |
| Calls add attachment. | |
| virtual DtString | attachToName () const |
| Returns the first name in myAttachments. | |
| virtual const DtRwStringList & | attachToList () const |
| Returns the entire list of attachments (myAttachments) | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this Stealth statement. | |
| 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 request from the network buffer. | |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class sim statement) with the set data request contents. | |
Protected Attributes | |
| DtRwStringList | myAttachments |
Abstract base class for all stealth command types.
Includes a list of attached entity names.
Default constructor.
| DtStealthCommand::DtStealthCommand | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
Usual constructor.
| DtStealthCommand::DtStealthCommand | ( | const DtString & | writeName, |
| const DtStealthCommand & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| virtual DtStealthCommand::~DtStealthCommand | ( | ) | [virtual] |
destructor
| DtStealthCommand& DtStealthCommand::operator= | ( | const DtStealthCommand & | orig | ) |
assignment operator
| virtual void DtStealthCommand::addAttachment | ( | const DtString & | entityName | ) | [virtual] |
Adds the give entity name to the list of entities to attach.
Multiple entities are only supported in group mode.
| virtual void DtStealthCommand::setAttachToName | ( | const DtString & | entityName | ) | [virtual] |
Calls add attachment.
| virtual DtString DtStealthCommand::attachToName | ( | ) | const [virtual] |
Returns the first name in myAttachments.
| virtual const DtRwStringList& DtStealthCommand::attachToList | ( | ) | const [virtual] |
Returns the entire list of attachments (myAttachments)
| virtual DtString DtStealthCommand::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this Stealth statement.
Implements DtSimCommand.
Reimplemented in DtStealthCompassCommand, DtStealthDetachCommand, DtStealthGroupCommand, and DtStealthMimicCommand.
| virtual int DtStealthCommand::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSimCommand.
| virtual bool DtStealthCommand::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the request from the network buffer.
Reimplemented from DtSimCommand.
| virtual bool DtStealthCommand::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class sim statement) with the set data request contents.
Reimplemented from DtSimCommand.
DtRwStringList DtStealthCommand::myAttachments [protected] |