VR-Link API Documentation for DIS
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:

List of all members.

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.

Protected Member Functions

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

Protected Attributes

DtVector myLocation
DtVector myVelocity

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

Constructor.

Copy Constructor.

Destructor.


Member Function Documentation

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

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.

returns the network representation of the environmental record

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.

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


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)