VR-Forces 4.10 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
DtSupplyListResponseAdmin Class Reference

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

Inheritance diagram for DtSupplyListResponseAdmin:
Inheritance graph
[legend]

Public Member Functions

 DtSupplyListResponseAdmin ()
 default constructor More...
 
 DtSupplyListResponseAdmin (const DtSupplyListResponseAdmin &orig)
 copy constructor More...
 
const DtSupplyListResponseAdminoperator= (const DtSupplyListResponseAdmin &orig)
 assignment operator; same as copy costructor. More...
 
virtual ~DtSupplyListResponseAdmin ()
 destructor More...
 
virtual bool init ()
 Call after construction. More...
 
virtual const
DtAdminContentMessageType
type () const
 
virtual void addSupply (const DtEntityType &type)
 Add an additional system to the end of the current supply list. More...
 
virtual void clearSupplies ()
 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 const DtSupplyVectorsupplies () const
 Direct access to the list of supplies. More...
 
virtual DtSupplyVectorsupplies ()
 
- 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

DtSupplyVector mySupplies
 The list of supplies. More...
 
- 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 supplies on an entity.

This is the response to the DtSupplyListRequestAdmin message.

Constructor & Destructor Documentation

DtSupplyListResponseAdmin::DtSupplyListResponseAdmin ( )

default constructor

DtSupplyListResponseAdmin::DtSupplyListResponseAdmin ( const DtSupplyListResponseAdmin orig)

copy constructor

virtual DtSupplyListResponseAdmin::~DtSupplyListResponseAdmin ( )
virtual

destructor

Member Function Documentation

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

assignment operator; same as copy costructor.

static DtAdminContent* DtSupplyListResponseAdmin::create ( )
static

Creator function. Returns new instance of this class.

virtual bool DtSupplyListResponseAdmin::init ( )
virtual

Call after construction.

Reimplemented from DtAdminContent.

virtual const DtAdminContentMessageType& DtSupplyListResponseAdmin::type ( ) const
virtual
Returns
DtSupplyListResponseAdminType

Implements DtAdminContent.

virtual const DtSupplyVector& DtSupplyListResponseAdmin::supplies ( ) const
virtual

Direct access to the list of supplies.

virtual DtSupplyVector& DtSupplyListResponseAdmin::supplies ( )
virtual
virtual void DtSupplyListResponseAdmin::addSupply ( const DtEntityType &  type)
virtual

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

virtual void DtSupplyListResponseAdmin::clearSupplies ( )
virtual

Clear the current list.

virtual DtAdminContent* DtSupplyListResponseAdmin::clone ( ) const
virtual

Make a copy of this content.

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

Implements DtAdminContent.

virtual DtString DtSupplyListResponseAdmin::stringRep ( ) const
virtual

Get a readable string representation of this content.

Implements DtAdminContent.

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

Reimplemented from DtAdminContent.

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

Decodes content from buffer.

Reimplemented from DtAdminContent.

virtual bool DtSupplyListResponseAdmin::setToNet ( )
virtual

Encodes content into buffer.

Reimplemented from DtAdminContent.

Member Data Documentation

DtSupplyVector DtSupplyListResponseAdmin::mySupplies
protected

The list of supplies.


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)