VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtEnvironmentalGeometryRecord Class Reference

DtEnvironmentalGeometryRecord provides a common base class for all environmental geometry (as opposed to state) records used in the Environmental Process object. More...

+ Inheritance diagram for DtEnvironmentalGeometryRecord:
+ Collaboration diagram for DtEnvironmentalGeometryRecord:

Public Member Functions

 DtEnvironmentalGeometryRecord ()
 Constructor. More...
 
 DtEnvironmentalGeometryRecord (const DtEnvironmentalGeometryRecord &orig)
 Copy constructor. More...
 
const
DtEnvironmentalGeometryRecord
operator= (const DtEnvironmentalGeometryRecord &orig)
 Assignment Operator. More...
 
virtual ~DtEnvironmentalGeometryRecord ()
 Destructor. More...
 
virtual DtEnvironmentalRecordclone () const
 Clone. More...
 
virtual void setHasState (bool hasState)
 Set/get a flag to indicate whether or not a state record is associated with this geometry record. More...
 
virtual bool hasState () const
 
- Public Member Functions inherited from DtEnvironmentalRecord
 DtEnvironmentalRecord ()
 Constructor. More...
 
 DtEnvironmentalRecord (const DtEnvironmentalRecord &orig)
 Copy constructor. More...
 
const DtEnvironmentalRecordoperator= (const DtEnvironmentalRecord &orig)
 Assignment operator. More...
 
virtual ~DtEnvironmentalRecord ()
 Destructor. More...
 
virtual bool createNetworkRepresentation ()
 This doesn't need to be called explicitly. More...
 
virtual void setType (DtU32 type)
 
virtual DtU32 type () const
 
virtual void setLength (DtU16 length)
 
virtual DtU16 length () const
 
virtual void setIndex (DtU8 index)
 
virtual DtU8 index () const
 
const DtNetEnvironmentalRecordnetRep () const
 returns the network representation of the environmental record More...
 
DtNetEnvironmentalRecordnetRep ()
 
virtual int netRepSize () const
 Returns the size of the network representation. More...
 
virtual void setFromNet (const DtNetEnvironmentalRecord &buffer, int protocolVersion)
 used by the PDU class to fill in the network representation More...
 

Protected Attributes

bool myHasState
 
- Protected Attributes inherited from DtEnvironmentalRecord
DtNetEnvironmentalRecordmyNetRep
 

Additional Inherited Members

- Protected Member Functions inherited from DtEnvironmentalRecord
virtual bool checkAndCreate ()
 Checks to see if we need a representation, and creates it if we do Returns false, if the create fails, true otherwise. More...
 
virtual bool resizeNetRep (int newSize)
 Resizes the network representation. More...
 
DtEnvironmentalRecordself () const
 Casts the 'this' pointer for changing elements in a const function. More...
 

Detailed Description

DtEnvironmentalGeometryRecord provides a common base class for all environmental geometry (as opposed to state) records used in the Environmental Process object.

It contains the standard environmental record header, plus a bool flag to indicate whether or not there is a state record corresponding to the geometry record represented.

Constructor & Destructor Documentation

DtEnvironmentalGeometryRecord::DtEnvironmentalGeometryRecord ( )

Constructor.

DtEnvironmentalGeometryRecord::DtEnvironmentalGeometryRecord ( const DtEnvironmentalGeometryRecord orig)

Copy constructor.

virtual DtEnvironmentalGeometryRecord::~DtEnvironmentalGeometryRecord ( )
virtual

Destructor.

Member Function Documentation

virtual DtEnvironmentalRecord* DtEnvironmentalGeometryRecord::clone ( ) const
virtual
virtual bool DtEnvironmentalGeometryRecord::hasState ( ) const
virtual
const DtEnvironmentalGeometryRecord& DtEnvironmentalGeometryRecord::operator= ( const DtEnvironmentalGeometryRecord orig)

Assignment Operator.

virtual void DtEnvironmentalGeometryRecord::setHasState ( bool  hasState)
virtual

Set/get a flag to indicate whether or not a state record is associated with this geometry record.

Member Data Documentation

bool DtEnvironmentalGeometryRecord::myHasState
protected

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

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)