![]() |
VR-Forces 4.1.1 Class Documentation
|
Admin content which contains the list of radar modes for an emitter. More...

Public Member Functions | |
| DtRadarModesAdmin () | |
| default constructor | |
| DtRadarModesAdmin (const DtRadarModesAdmin &orig) | |
| copy constructor | |
| const DtRadarModesAdmin & | operator= (const DtRadarModesAdmin &orig) |
| assignment operator; same as copy costructor. | |
| virtual | ~DtRadarModesAdmin () |
| destructor | |
| virtual bool | init () |
| Call after construction. | |
| virtual const DtAdminContentMessageType & | type () const |
| virtual void | addMode (const DtString &modeName) |
| Add an additional formation name to the end of the current formation list. | |
| virtual void | clearModeList () |
| Clear the current formation list. | |
| virtual DtAdminContent * | clone () const |
| Make a copy of this content. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this content. | |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Decodes content from buffer. | |
| virtual bool | setToNet () |
| Encodes content into buffer. | |
| virtual const std::list < DtString > & | modeList () const |
| Direct access to the list of formation names. | |
| virtual std::list< DtString > & | modeList () |
| Direct access to the list of formation names. | |
| virtual DtString | currentMode () const |
| The current formation of the entity, if it has one. | |
| virtual void | setCurrentMode (const DtString &modeName) |
| The current formation of the entity, if it has one. | |
| virtual int | emitterId () const |
| The current formation of the entity, if it has one. | |
| virtual void | setEmitterId (int id) |
| The current formation of the entity, if it has one. | |
Public Member Functions inherited from DtAdminContent | |
| virtual | ~DtAdminContent () |
| destructor | |
| virtual char * | netRep () |
Static Public Member Functions | |
| static DtAdminContent * | create () |
| Creator function. Returns new instance of this class. | |
Static Public Member Functions inherited from DtAdminContent | |
| static void | addAdminContentCreatorFcn (const DtString &contentName, DtAdminContentCreatorFcn fcn) |
| static void | setFactory (DtAdminContentFactory *factory) |
| static DtAdminContentFactory * | factory () |
| static bool | isTypeRegistered (DtString type) |
Protected Attributes | |
| std::list< DtString > | myModeList |
| The list of available formation names. | |
| DtString | myCurrentMode |
| int | myEmitterId |
Protected Attributes inherited from DtAdminContent | |
| char * | myNetRep |
Additional Inherited Members | |
Protected Member Functions inherited from DtAdminContent | |
| DtAdminContent () | |
| Constructors are protected because no one should instantiate the base class, just derived versions. | |
| DtAdminContent (const DtAdminContent &orig) | |
| copy constructor | |
| const DtAdminContent & | operator= (const DtAdminContent &orig) |
| assignment operator; same as copy costructor. | |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtAdminContent | |
| static DtAdminContentFactory * | myFactory |
Admin content which contains the list of radar modes for an emitter.
This is the response to the DtRequestRadarModesAdmin message. Also contains the current mode of the radar, if it has one.
| DtRadarModesAdmin::DtRadarModesAdmin | ( | ) |
default constructor
| DtRadarModesAdmin::DtRadarModesAdmin | ( | const DtRadarModesAdmin & | orig | ) |
copy constructor
|
virtual |
destructor
| const DtRadarModesAdmin& DtRadarModesAdmin::operator= | ( | const DtRadarModesAdmin & | orig | ) |
assignment operator; same as copy costructor.
|
static |
Creator function. Returns new instance of this class.
|
virtual |
Call after construction.
Reimplemented from DtAdminContent.
|
virtual |
Implements DtAdminContent.
|
virtual |
Direct access to the list of formation names.
|
virtual |
Direct access to the list of formation names.
|
virtual |
Add an additional formation name to the end of the current formation list.
|
virtual |
Clear the current formation list.
|
virtual |
The current formation of the entity, if it has one.
|
virtual |
The current formation of the entity, if it has one.
|
virtual |
The current formation of the entity, if it has one.
|
virtual |
The current formation of the entity, if it has one.
|
virtual |
Make a copy of this content.
Returns a pointer to a newly created copy of this class.
Implements DtAdminContent.
|
virtual |
Get a readable string representation of this content.
Implements DtAdminContent.
|
virtual |
Reimplemented from DtAdminContent.
|
virtual |
Decodes content from buffer.
Reimplemented from DtAdminContent.
|
virtual |
Encodes content into buffer.
Reimplemented from DtAdminContent.
|
protected |
The list of available formation names.
|
protected |
|
protected |