VR-Link API Documentation for HLA 1516
 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
DtEnvironmentalDRLineRecord Class Reference

DtEnvironmentalDRLineRecord implements the Environmental geometry record type "Line Record 2." See Enumerated Bit Values document, section 12.3.4.4. More...

+ Inheritance diagram for DtEnvironmentalDRLineRecord:
+ Collaboration diagram for DtEnvironmentalDRLineRecord:

Public Member Functions

 DtEnvironmentalDRLineRecord ()
 Constructor. More...
 
 DtEnvironmentalDRLineRecord (const DtEnvironmentalDRLineRecord &orig)
 Copy constructor. More...
 
const DtEnvironmentalDRLineRecordoperator= (const DtEnvironmentalDRLineRecord &orig)
 Assignment Operator. More...
 
virtual ~DtEnvironmentalDRLineRecord ()
 Destructor. More...
 
virtual DtEnvironmentalRecordclone () const
 Clone. More...
 
virtual void setStartLocation (const DtVector &startLocation)
 Set/ get start location. More...
 
virtual const DtVectorstartLocation () const
 
virtual void setEndLocation (const DtVector &endLocation)
 Set/ get end location. More...
 
virtual const DtVectorendLocation () const
 
virtual void setStartVelocity (const DtVector &startVelocity)
 Set/ get start velocity. More...
 
virtual const DtVectorstartVelocity () const
 
virtual void setEndVelocity (const DtVector &endVelocity)
 Set/ get end velocity. More...
 
virtual const DtVectorendVelocity () const
 
virtual bool createNetworkRepresentation ()
 Create this record's network representation. More...
 
const
DtNetEnvironmentalDRLineRecord
drLineNetRep () const
 returns the network representation of the environmental record More...
 
DtNetEnvironmentalDRLineRecorddrLineNetRep ()
 
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

DtEnvironmentalDRLineRecordself () 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 myStartLocation
 
DtVector myEndLocation
 
DtVector myStartVelocity
 
DtVector myEndVelocity
 
- Protected Attributes inherited from DtEnvironmentalGeometryRecord
bool myHasState
 
- Protected Attributes inherited from DtEnvironmentalRecord
DtNetEnvironmentalRecordmyNetRep
 

Detailed Description

DtEnvironmentalDRLineRecord implements the Environmental geometry record type "Line Record 2." See Enumerated Bit Values document, section 12.3.4.4.

Constructor & Destructor Documentation

DtEnvironmentalDRLineRecord::DtEnvironmentalDRLineRecord ( )

Constructor.

DtEnvironmentalDRLineRecord::DtEnvironmentalDRLineRecord ( const DtEnvironmentalDRLineRecord orig)

Copy constructor.

virtual DtEnvironmentalDRLineRecord::~DtEnvironmentalDRLineRecord ( )
virtual

Destructor.

Member Function Documentation

virtual DtEnvironmentalRecord* DtEnvironmentalDRLineRecord::clone ( ) const
virtual

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

virtual bool DtEnvironmentalDRLineRecord::createNetworkRepresentation ( )
virtual

Create this record's network representation.

Reimplemented from DtEnvironmentalRecord.

const DtNetEnvironmentalDRLineRecord* DtEnvironmentalDRLineRecord::drLineNetRep ( ) const

returns the network representation of the environmental record

DtNetEnvironmentalDRLineRecord* DtEnvironmentalDRLineRecord::drLineNetRep ( )
virtual const DtVector& DtEnvironmentalDRLineRecord::endLocation ( ) const
virtual
virtual const DtVector& DtEnvironmentalDRLineRecord::endVelocity ( ) const
virtual
virtual int DtEnvironmentalDRLineRecord::netRepSize ( ) const
virtual

returns the size of the net representation, in bytes.

Reimplemented from DtEnvironmentalRecord.

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

Assignment Operator.

DtEnvironmentalDRLineRecord* DtEnvironmentalDRLineRecord::self ( ) const
protected

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

virtual void DtEnvironmentalDRLineRecord::setEndLocation ( const DtVector endLocation)
virtual

Set/ get end location.

virtual void DtEnvironmentalDRLineRecord::setEndVelocity ( const DtVector endVelocity)
virtual

Set/ get end velocity.

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

used by the PDU class to fill in the network representation

Reimplemented from DtEnvironmentalRecord.

virtual void DtEnvironmentalDRLineRecord::setStartLocation ( const DtVector startLocation)
virtual

Set/ get start location.

virtual void DtEnvironmentalDRLineRecord::setStartVelocity ( const DtVector startVelocity)
virtual

Set/ get start velocity.

virtual const DtVector& DtEnvironmentalDRLineRecord::startLocation ( ) const
virtual
virtual const DtVector& DtEnvironmentalDRLineRecord::startVelocity ( ) const
virtual

Member Data Documentation

DtVector DtEnvironmentalDRLineRecord::myEndLocation
protected
DtVector DtEnvironmentalDRLineRecord::myEndVelocity
protected
DtVector DtEnvironmentalDRLineRecord::myStartLocation
protected
DtVector DtEnvironmentalDRLineRecord::myStartVelocity
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)