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

DtEnvironmentalPointRecord implements the Environmental geometry record type "Point Record 1.". More...

+ Inheritance diagram for DtEnvironmentalPointRecord:
+ Collaboration diagram for DtEnvironmentalPointRecord:

Public Member Functions

 DtEnvironmentalPointRecord ()
 Constructor. More...
 
 DtEnvironmentalPointRecord (const DtEnvironmentalPointRecord &orig)
 Copy constructor. More...
 
const DtEnvironmentalPointRecordoperator= (const DtEnvironmentalPointRecord &orig)
 Assignment Operator. More...
 
virtual ~DtEnvironmentalPointRecord ()
 Destructor. More...
 
virtual DtEnvironmentalRecordclone () const
 Clone. More...
 
virtual void setLocation (const DtVector &location)
 Set/get location. More...
 
virtual const DtVectorlocation () const
 
virtual bool createNetworkRepresentation ()
 This doesn't need to be called explicitly. More...
 
const
DtNetEnvironmentalPointRecord
pointNetRep () const
 returns the network representation of the environmental record More...
 
DtNetEnvironmentalPointRecordpointNetRep ()
 
virtual void setFromNet (const DtNetEnvironmentalRecord &buffer, int protocolVersion)
 used by the PDU class to fill in the network representation More...
 
virtual int netRepSize () const
 returns the size of the net representation, in bytes. More...
 
- Public Member Functions inherited from DtEnvironmentalGeometryRecord
 DtEnvironmentalGeometryRecord ()
 Constructor. More...
 
 DtEnvironmentalGeometryRecord (const DtEnvironmentalGeometryRecord &orig)
 Copy constructor. More...
 
const
DtEnvironmentalGeometryRecord
operator= (const DtEnvironmentalGeometryRecord &orig)
 Assignment Operator. More...
 
virtual ~DtEnvironmentalGeometryRecord ()
 Destructor. 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 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 ()
 

Protected Member Functions

DtEnvironmentalPointRecordself () const
 Casts the 'this' pointer for changing elements in a const function. More...
 
- 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...
 

Protected Attributes

DtVector myLocation
 
- Protected Attributes inherited from DtEnvironmentalGeometryRecord
bool myHasState
 
- Protected Attributes inherited from DtEnvironmentalRecord
DtNetEnvironmentalRecordmyNetRep
 

Detailed Description

DtEnvironmentalPointRecord implements the Environmental geometry record type "Point Record 1.".

See Enumerated Bit Values(!) document, section 12.3.4.1

Constructor & Destructor Documentation

DtEnvironmentalPointRecord::DtEnvironmentalPointRecord ( )

Constructor.

DtEnvironmentalPointRecord::DtEnvironmentalPointRecord ( const DtEnvironmentalPointRecord orig)

Copy constructor.

virtual DtEnvironmentalPointRecord::~DtEnvironmentalPointRecord ( )
virtual

Destructor.

Member Function Documentation

virtual DtEnvironmentalRecord* DtEnvironmentalPointRecord::clone ( ) const
virtual

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

virtual bool DtEnvironmentalPointRecord::createNetworkRepresentation ( )
virtual

This doesn't need to be called explicitly.

If any routine that needs the repository finds that it hasn't been created yet, it calls this method.

Reimplemented from DtEnvironmentalRecord.

virtual const DtVector& DtEnvironmentalPointRecord::location ( ) const
virtual
virtual int DtEnvironmentalPointRecord::netRepSize ( ) const
virtual

returns the size of the net representation, in bytes.

Reimplemented from DtEnvironmentalRecord.

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

Assignment Operator.

const DtNetEnvironmentalPointRecord* DtEnvironmentalPointRecord::pointNetRep ( ) const

returns the network representation of the environmental record

DtNetEnvironmentalPointRecord* DtEnvironmentalPointRecord::pointNetRep ( )
DtEnvironmentalPointRecord* DtEnvironmentalPointRecord::self ( ) const
protected

Casts the 'this' pointer for changing elements in a const function.

virtual void DtEnvironmentalPointRecord::setFromNet ( const DtNetEnvironmentalRecord buffer,
int  protocolVersion 
)
virtual

used by the PDU class to fill in the network representation

Reimplemented from DtEnvironmentalRecord.

virtual void DtEnvironmentalPointRecord::setLocation ( const DtVector location)
virtual

Set/get location.

Member Data Documentation

DtVector DtEnvironmentalPointRecord::myLocation
protected

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

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)