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

Public Member Functions | |
| DtActiveSonarModesAdmin () | |
| default constructor | |
| DtActiveSonarModesAdmin (const DtActiveSonarModesAdmin &orig) | |
| copy constructor | |
| const DtActiveSonarModesAdmin & | operator= (const DtActiveSonarModesAdmin &orig) |
| assignment operator; same as copy costructor. | |
| virtual | ~DtActiveSonarModesAdmin () |
| destructor | |
| virtual bool | init () |
| Call after construction. | |
| virtual const DtAdminContentMessageType & | type () const |
| virtual const std::list < DtString > & | modeList () const |
| virtual std::list< DtString > & | modeList () |
| virtual void | addMode (const DtString &modeName) |
| virtual void | clearModeList () |
| virtual DtString | currentMode () const |
| virtual void | setCurrentMode (const DtString &modeName) |
| virtual int | activeSonarId () const |
| virtual void | setActiveSonarId (int id) |
| 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. | |
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 | myActiveSonarId |
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 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 DtAdminContent.
|
virtual |
Implements DtAdminContent.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
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 |