![]() |
VR-Forces 4.8 Class Documentation
|
Admin content which contains the list of navigation preferences names that a particular entity has available. More...

Public Member Functions | |
| DtAvailableNavigationPreferencesAdmin () | |
| default constructor More... | |
| DtAvailableNavigationPreferencesAdmin (const DtAvailableNavigationPreferencesAdmin &orig) | |
| copy constructor More... | |
| const DtAvailableNavigationPreferencesAdmin & | operator= (const DtAvailableNavigationPreferencesAdmin &orig) |
| assignment operator; same as copy costructor. More... | |
| virtual | ~DtAvailableNavigationPreferencesAdmin () |
| destructor More... | |
| virtual bool | init () |
| Call after construction. More... | |
| virtual const DtAdminContentMessageType & | type () const |
| virtual void | addPreference (const DtString &preferenceName) |
| Add an additional preference name to the end of the current formation list. More... | |
| virtual void | clearPreferencesList () |
| Clear the current preference list. More... | |
| virtual DtAdminContent * | clone () const |
| Make a copy of this content. 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 > & | preferencesList () const |
| Direct access to the list of preferences names. More... | |
| virtual std::list< DtString > & | preferencesList () |
| virtual DtString | currentPreference () const |
| The current formation of the entity, if it has one. More... | |
| virtual void | setCurrentPreference (const DtString &preferenceName) |
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 DtAdminContent | |
| static void | addAdminContentCreatorFcn (const DtAdminContentMessageType &contentName, DtAdminContentCreatorFcn fcn) |
| static void | setFactory (DtAdminContentFactory *factory) |
| static DtAdminContentFactory * | factory () |
| static bool | isTypeRegistered (const DtAdminContentMessageType &type) |
Protected Attributes | |
| std::list< DtString > | myPreferenceList |
| The list of available preference names. More... | |
| DtString | myCurrentPreference |
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. More... | |
| DtAdminContent (const DtAdminContent &orig) | |
| copy constructor More... | |
| const DtAdminContent & | operator= (const DtAdminContent &orig) |
| assignment operator; same as copy costructor. More... | |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtAdminContent | |
| static DtAdminContentFactory * | myFactory |
Admin content which contains the list of navigation preferences names that a particular entity has available.
These are the preferences that the entity can assume. This is the response to the DtRequestAvailableNavigationPreferencesAdmin message. Also contains the current preference of the entity, if it has one.
| DtAvailableNavigationPreferencesAdmin::DtAvailableNavigationPreferencesAdmin | ( | ) |
default constructor
| DtAvailableNavigationPreferencesAdmin::DtAvailableNavigationPreferencesAdmin | ( | const DtAvailableNavigationPreferencesAdmin & | orig | ) |
copy constructor
|
virtual |
destructor
| const DtAvailableNavigationPreferencesAdmin& DtAvailableNavigationPreferencesAdmin::operator= | ( | const DtAvailableNavigationPreferencesAdmin & | 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 preferences names.
|
virtual |
|
virtual |
Add an additional preference name to the end of the current formation list.
|
virtual |
Clear the current preference list.
|
virtual |
The current formation of the entity, if it has one.
|
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 preference names.
|
protected |