VR-Link API Documentation for HLA 1.3
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtEnvironmentalDRPointRecord Class Reference

DtEnvironmentalDRPointRecord implements the Environmental geometry record type "Point Record 2." See Enumerated Bit Values document, section 12.3.4.2. More...

+ Inheritance diagram for DtEnvironmentalDRPointRecord:
+ Collaboration diagram for DtEnvironmentalDRPointRecord:

Public Member Functions

 DtEnvironmentalDRPointRecord ()
 Constructor.
 DtEnvironmentalDRPointRecord (const DtEnvironmentalDRPointRecord &orig)
 Copy Constructor.
const
DtEnvironmentalDRPointRecord
operator= (const DtEnvironmentalDRPointRecord &orig)
 Assignment Operator.
virtual ~DtEnvironmentalDRPointRecord ()
 Destructor.
virtual DtEnvironmentalRecordclone () const
 Clone.
virtual void setLocation (const DtVector &location)
 Set/ get location.
virtual const DtVectorlocation () const
virtual void setVelocity (const DtVector &velocity)
 Set/ get velocity.
virtual const DtVectorvelocity () const
virtual bool createNetworkRepresentation ()
 This doesn't need to be called explicitly.
const
DtNetEnvironmentalDRPointRecord
drPointNetRep () const
 returns the network representation of the environmental record
DtNetEnvironmentalDRPointRecorddrPointNetRep ()
virtual void setFromNet (const DtNetEnvironmentalRecord &buffer)
 used by the PDU class to fill in the network representation
virtual int netRepSize () const
 returns the size of the net representation, in bytes.
- Public Member Functions inherited from DtEnvironmentalGeometryRecord
 DtEnvironmentalGeometryRecord ()
 Constructor.
 DtEnvironmentalGeometryRecord (const DtEnvironmentalGeometryRecord &orig)
 Copy Constructor.
const
DtEnvironmentalGeometryRecord
operator= (const DtEnvironmentalGeometryRecord &orig)
 Assignment Operator.
virtual ~DtEnvironmentalGeometryRecord ()
 Destructor.
virtual void setHasState (bool hasState)
 Set/get a flag to indicate whether or not a state record is associated with this geometry record.
virtual bool hasState () const
- Public Member Functions inherited from DtEnvironmentalRecord
 DtEnvironmentalRecord ()
const DtEnvironmentalRecordoperator= (const DtEnvironmentalRecord &orig)
virtual ~DtEnvironmentalRecord ()
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
DtNetEnvironmentalRecordnetRep ()

Protected Member Functions

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

Protected Attributes

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

Detailed Description

DtEnvironmentalDRPointRecord implements the Environmental geometry record type "Point Record 2." See Enumerated Bit Values document, section 12.3.4.2.

Constructor & Destructor Documentation

DtEnvironmentalDRPointRecord::DtEnvironmentalDRPointRecord ( )

Constructor.

DtEnvironmentalDRPointRecord::DtEnvironmentalDRPointRecord ( const DtEnvironmentalDRPointRecord orig)

Copy Constructor.

virtual DtEnvironmentalDRPointRecord::~DtEnvironmentalDRPointRecord ( )
virtual

Destructor.

Member Function Documentation

virtual DtEnvironmentalRecord* DtEnvironmentalDRPointRecord::clone ( ) const
virtual

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

virtual bool DtEnvironmentalDRPointRecord::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.

const DtNetEnvironmentalDRPointRecord* DtEnvironmentalDRPointRecord::drPointNetRep ( ) const

returns the network representation of the environmental record

DtNetEnvironmentalDRPointRecord* DtEnvironmentalDRPointRecord::drPointNetRep ( )
virtual const DtVector& DtEnvironmentalDRPointRecord::location ( ) const
virtual
virtual int DtEnvironmentalDRPointRecord::netRepSize ( ) const
virtual

returns the size of the net representation, in bytes.

Reimplemented from DtEnvironmentalRecord.

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

Assignment Operator.

DtEnvironmentalDRPointRecord* DtEnvironmentalDRPointRecord::self ( ) const
protected

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

Reimplemented from DtEnvironmentalRecord.

virtual void DtEnvironmentalDRPointRecord::setFromNet ( const DtNetEnvironmentalRecord buffer)
virtual

used by the PDU class to fill in the network representation

Reimplemented from DtEnvironmentalRecord.

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

Set/ get location.

virtual void DtEnvironmentalDRPointRecord::setVelocity ( const DtVector velocity)
virtual

Set/ get velocity.

virtual const DtVector& DtEnvironmentalDRPointRecord::velocity ( ) const
virtual

Member Data Documentation

DtVector DtEnvironmentalDRPointRecord::myLocation
protected
DtVector DtEnvironmentalDRPointRecord::myVelocity
protected

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

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)