VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtSystemListResponseAdmin Class Reference

Admin content which contains the list of weapon systems on an entity. More...

Inheritance diagram for DtSystemListResponseAdmin:
Inheritance graph
[legend]

Public Member Functions

 DtSystemListResponseAdmin ()
 default constructor More...
 
 DtSystemListResponseAdmin (const DtSystemListResponseAdmin &orig)
 copy constructor More...
 
const DtSystemListResponseAdminoperator= (const DtSystemListResponseAdmin &orig)
 assignment operator; same as copy costructor. More...
 
virtual ~DtSystemListResponseAdmin ()
 destructor More...
 
virtual bool init ()
 Call after construction. More...
 
virtual const
DtAdminContentMessageType
type () const
 
virtual void addSystem (const DtString &name, const DtString &printableName, const bool &enabledDisabled)
 Add an additional system to the end of the current system list. More...
 
virtual void clearSystems ()
 Clear the current list. More...
 
virtual DtAdminContentclone () 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 void setEntityType (const DtEntityType &entityType)
 Setter/Getter for EntityType. More...
 
virtual const DtEntityType & entityType () const
 
virtual const DtSystemVectorsystems () const
 Direct access to the list of systems. More...
 
virtual DtSystemVectorsystems ()
 
virtual void setResponseType (const DtSystemListRequestResponseType &type)
 Setter/Getter for Response Type. More...
 
virtual const
DtSystemListRequestResponseType 
responseType () const
 
- Public Member Functions inherited from DtAdminContent
virtual ~DtAdminContent ()
 destructor More...
 
virtual charnetRep ()
 

Static Public Member Functions

static DtAdminContentcreate ()
 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 DtAdminContentFactoryfactory ()
 
static bool isTypeRegistered (const DtAdminContentMessageType &type)
 

Protected Attributes

DtSystemVector mySystems
 The list of system names. More...
 
DtEntityType myEntityType
 
DtU32 myResponseType
 
- Protected Attributes inherited from DtAdminContent
charmyNetRep
 

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 DtAdminContentoperator= (const DtAdminContent &orig)
 assignment operator; same as copy costructor. More...
 
virtual charcreateNetworkBuffer ()
 
- Static Protected Attributes inherited from DtAdminContent
static DtAdminContentFactorymyFactory
 

Detailed Description

Admin content which contains the list of weapon systems on an entity.

This is the response to the DtRequestWeaponlistAdmin message.

Constructor & Destructor Documentation

DtSystemListResponseAdmin::DtSystemListResponseAdmin ( )

default constructor

DtSystemListResponseAdmin::DtSystemListResponseAdmin ( const DtSystemListResponseAdmin orig)

copy constructor

virtual DtSystemListResponseAdmin::~DtSystemListResponseAdmin ( )
virtual

destructor

Member Function Documentation

const DtSystemListResponseAdmin& DtSystemListResponseAdmin::operator= ( const DtSystemListResponseAdmin orig)

assignment operator; same as copy costructor.

static DtAdminContent* DtSystemListResponseAdmin::create ( )
static

Creator function. Returns new instance of this class.

virtual bool DtSystemListResponseAdmin::init ( )
virtual

Call after construction.

Reimplemented from DtAdminContent.

virtual const DtAdminContentMessageType& DtSystemListResponseAdmin::type ( ) const
virtual
Returns
DtWeaponListResponseType

Implements DtAdminContent.

virtual void DtSystemListResponseAdmin::setEntityType ( const DtEntityType &  entityType)
virtual

Setter/Getter for EntityType.

virtual const DtEntityType& DtSystemListResponseAdmin::entityType ( ) const
virtual
virtual const DtSystemVector& DtSystemListResponseAdmin::systems ( ) const
virtual

Direct access to the list of systems.

virtual DtSystemVector& DtSystemListResponseAdmin::systems ( )
virtual
virtual void DtSystemListResponseAdmin::addSystem ( const DtString name,
const DtString printableName,
const bool enabledDisabled 
)
virtual

Add an additional system to the end of the current system list.

virtual void DtSystemListResponseAdmin::clearSystems ( )
virtual

Clear the current list.

virtual DtAdminContent* DtSystemListResponseAdmin::clone ( ) const
virtual

Make a copy of this content.

Returns a pointer to a newly created copy of this class.

Implements DtAdminContent.

virtual DtString DtSystemListResponseAdmin::stringRep ( ) const
virtual

Get a readable string representation of this content.

Implements DtAdminContent.

virtual int DtSystemListResponseAdmin::netRepSize ( ) const
virtual
Returns
Size of the serialized representation of this admin content.

Reimplemented from DtAdminContent.

virtual bool DtSystemListResponseAdmin::setFromNet ( const char contentBuffer,
unsigned  contentSize 
)
virtual

Decodes content from buffer.

Reimplemented from DtAdminContent.

virtual bool DtSystemListResponseAdmin::setToNet ( )
virtual

Encodes content into buffer.

Reimplemented from DtAdminContent.

virtual void DtSystemListResponseAdmin::setResponseType ( const DtSystemListRequestResponseType type)
virtual

Setter/Getter for Response Type.

virtual const DtSystemListRequestResponseType DtSystemListResponseAdmin::responseType ( ) const
virtual

Member Data Documentation

DtSystemVector DtSystemListResponseAdmin::mySystems
protected

The list of system names.

DtEntityType DtSystemListResponseAdmin::myEntityType
protected
DtU32 DtSystemListResponseAdmin::myResponseType
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)