![]() |
VR-Forces 4.5 Class Documentation
|
Admin content which contains the list of weapon systems on an entity. More...

Public Member Functions | |
| DtWeaponListResponseAdmin () | |
| default constructor | |
| DtWeaponListResponseAdmin (const DtWeaponListResponseAdmin &orig) | |
| copy constructor | |
| const DtWeaponListResponseAdmin & | operator= (const DtWeaponListResponseAdmin &orig) |
| assignment operator; same as copy costructor. | |
| virtual | ~DtWeaponListResponseAdmin () |
| destructor | |
| virtual bool | init () |
| Call after construction. | |
| virtual const DtAdminContentMessageType & | type () const |
| virtual void | addWeaponSystem (const DtString &modeName, DtWeaponSystemType systemType, std::list< DtString > &resourceList) |
| Add an additional weapon system name to the end of the current weapon system list. | |
| virtual void | clearWeaponSystems () |
| 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 DtWeaponList & | weaponSystems () const |
| Direct access to the list of weapon systems. | |
| virtual DtWeaponList & | weaponSystems () |
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 | |
| DtWeaponList | myWeaponSystems |
| The list of weapon system names. | |
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 weapon systems on an entity.
This is the response to the DtRequestWeaponlistAdmin message.
| DtWeaponListResponseAdmin::DtWeaponListResponseAdmin | ( | ) |
default constructor
| DtWeaponListResponseAdmin::DtWeaponListResponseAdmin | ( | const DtWeaponListResponseAdmin & | orig | ) |
copy constructor
|
virtual |
destructor
| const DtWeaponListResponseAdmin& DtWeaponListResponseAdmin::operator= | ( | const DtWeaponListResponseAdmin & | 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 weapon systems.
|
virtual |
|
virtual |
Add an additional weapon system name to the end of the current weapon system list.
|
virtual |
Clear the current formation list.
|
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 weapon system names.