VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtVrfObjectDataEnvRec Class Reference

Wraps a DtIfVrfObjectData message into this structure so it can be sent as an environmental record. More...

Inheritance diagram for DtVrfObjectDataEnvRec:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfObjectDataEnvRec ()
virtual ~DtVrfObjectDataEnvRec ()
 DtVrfObjectDataEnvRec (const DtVrfObjectDataEnvRec &orig)
DtVrfObjectDataEnvRecoperator= (const DtVrfObjectDataEnvRec &orig)
virtual DtEnvironmentalRecordclone () const
virtual void setVrfObjectData (DtIfVrfObjectData *)
 If a vrf object data object was allocated from a previous call to setFromNet, it is freed here so the new object can be set.
DtIfVrfObjectDatavrfObjectData () const
 Returns the DtIfVrfObjectData record set into this by the set method or the object allocated as a function of reading the network buffer.
virtual int netRepSize () const
 Returns the size of the network record.
virtual void setFromNet (const DtNetEnvironmentalRecord &buffer)
 If a DtIfVrfObjectData object exists in the object, that is used to read the contents of the network buffer, else, one is allocated using the createVrfObjectData() method.

Protected Member Functions

virtual const
DtNetEnvVrfObjectData
objStateNetRep () const
virtual DtNetEnvVrfObjectDataobjStateNetRep ()
virtual DtVrfObjectDataEnvRecself () const
virtual void * pointerToVrfObjectData ()
virtual bool createNetworkRepresentation ()
virtual DtIfVrfObjectDatacreateVrfObjectData ()
virtual bool resizeNetRep (int newSize)

Protected Attributes

DtIfVrfObjectDatamyVrfObjectData
bool myAllocatedVrfObjectData
int myNetRepSize

Detailed Description

Wraps a DtIfVrfObjectData message into this structure so it can be sent as an environmental record.

This class is used internally by the DtControlObjectRepository class and should not be used outside that context


Constructor & Destructor Documentation


Member Function Documentation

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

If a vrf object data object was allocated from a previous call to setFromNet, it is freed here so the new object can be set.

Returns the DtIfVrfObjectData record set into this by the set method or the object allocated as a function of reading the network buffer.

References myVrfObjectData.

virtual int DtVrfObjectDataEnvRec::netRepSize ( ) const [virtual]

Returns the size of the network record.

Includes the size of the DtIfVrfObjectData

virtual void DtVrfObjectDataEnvRec::setFromNet ( const DtNetEnvironmentalRecord &  buffer) [virtual]

If a DtIfVrfObjectData object exists in the object, that is used to read the contents of the network buffer, else, one is allocated using the createVrfObjectData() method.

virtual const DtNetEnvVrfObjectData* DtVrfObjectDataEnvRec::objStateNetRep ( ) const [protected, virtual]
virtual DtVrfObjectDataEnvRec* DtVrfObjectDataEnvRec::self ( ) const [protected, virtual]
virtual void* DtVrfObjectDataEnvRec::pointerToVrfObjectData ( ) [protected, virtual]
virtual bool DtVrfObjectDataEnvRec::createNetworkRepresentation ( ) [protected, virtual]
virtual bool DtVrfObjectDataEnvRec::resizeNetRep ( int  newSize) [protected, virtual]

Member Data Documentation

Referenced by vrfObjectData().


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)