![]() |
VR-Forces 4.10 Class Documentation
|
Admin content which contains the list of active sonar modes for an active sonar system. More...

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