VR-Link API Documentation for DIS
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtEnvironmentalLineRecord Class Reference

DtEnvironmentalLineRecord implements the Environmental geometry record type "Line Record 1." See Enumerated Bit Values document, section 12.3.4.3. More...

+ Inheritance diagram for DtEnvironmentalLineRecord:
+ Collaboration diagram for DtEnvironmentalLineRecord:

Public Member Functions

 DtEnvironmentalLineRecord ()
 Constructor.
 DtEnvironmentalLineRecord (const DtEnvironmentalLineRecord &orig)
 Copy Constructor.
const DtEnvironmentalLineRecordoperator= (const DtEnvironmentalLineRecord &orig)
 Assignment Operator.
virtual ~DtEnvironmentalLineRecord ()
 Destructor.
virtual DtEnvironmentalRecordclone () const
 Clone.
virtual void setStartLocation (const DtVector &startLocation)
 Set/get start location.
virtual const DtVectorstartLocation () const
virtual void setEndLocation (const DtVector &endLocation)
 Set/get end location.
virtual const DtVectorendLocation () const
virtual bool createNetworkRepresentation ()
 This doesn't need to be called explicitly.
const
DtNetEnvironmentalLineRecord
lineNetRep () const
 returns the network representation of the environmental record
DtNetEnvironmentalLineRecordlineNetRep ()
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

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

Protected Attributes

DtVector myStartLocation
DtVector myEndLocation
- Protected Attributes inherited from DtEnvironmentalGeometryRecord
bool myHasState
- Protected Attributes inherited from DtEnvironmentalRecord
DtNetEnvironmentalRecordmyNetRep

Detailed Description

DtEnvironmentalLineRecord implements the Environmental geometry record type "Line Record 1." See Enumerated Bit Values document, section 12.3.4.3.

Constructor & Destructor Documentation

DtEnvironmentalLineRecord::DtEnvironmentalLineRecord ( )

Constructor.

DtEnvironmentalLineRecord::DtEnvironmentalLineRecord ( const DtEnvironmentalLineRecord orig)

Copy Constructor.

virtual DtEnvironmentalLineRecord::~DtEnvironmentalLineRecord ( )
virtual

Destructor.

Member Function Documentation

virtual DtEnvironmentalRecord* DtEnvironmentalLineRecord::clone ( ) const
virtual

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

virtual bool DtEnvironmentalLineRecord::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& DtEnvironmentalLineRecord::endLocation ( ) const
virtual
const DtNetEnvironmentalLineRecord* DtEnvironmentalLineRecord::lineNetRep ( ) const

returns the network representation of the environmental record

DtNetEnvironmentalLineRecord* DtEnvironmentalLineRecord::lineNetRep ( )
virtual int DtEnvironmentalLineRecord::netRepSize ( ) const
virtual

returns the size of the net representation, in bytes.

Reimplemented from DtEnvironmentalRecord.

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

Assignment Operator.

DtEnvironmentalLineRecord* DtEnvironmentalLineRecord::self ( ) const
protected

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

Reimplemented from DtEnvironmentalRecord.

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

Set/get end location.

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

used by the PDU class to fill in the network representation

Reimplemented from DtEnvironmentalRecord.

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

Set/get start location.

virtual const DtVector& DtEnvironmentalLineRecord::startLocation ( ) const
virtual

Member Data Documentation

DtVector DtEnvironmentalLineRecord::myEndLocation
protected
DtVector DtEnvironmentalLineRecord::myStartLocation
protected

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

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)