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

Instances of DtBreachableSegmentRecord implement the BreachableSegmentStruct used to implement the Breachable Linear Object. More...

+ Inheritance diagram for DtBreachableSegmentRecord:
+ Collaboration diagram for DtBreachableSegmentRecord:

Public Member Functions

 DtBreachableSegmentRecord ()
 Default CTOR.
 DtBreachableSegmentRecord (const DtBreachableSegmentRecord &orig)
 Copy CTOR.
 DtBreachableSegmentRecord (const DtLinearSegmentRecord &orig)
 Copy CTOR.
virtual ~DtBreachableSegmentRecord ()
 Virtual DTOR.
DtBreachableSegmentRecordoperator= (const DtNetBreachableSegmentRecord &orig)
 Assignment Operator (Net Type).
virtual void setBreachLength (DtU32 length)
 Get/Set Breach Length.
virtual DtU32 breachLength () const
virtual void setBreachedState (DtTankDitchBreachStatus state)
 Get/Set Breached State.
virtual DtTankDitchBreachStatus breachedState () const
virtual bool setSegmentBreached (int index, bool state)
 Get/Set Segment Breached Returns false if the index is out of bounds.
virtual bool segmentBreached (int index, bool &state) const
virtual void unloadNetRecord (const DtNetBreachableSegmentRecord &record)
virtual void loadNetRecord (DtNetBreachableSegmentRecord &record) const
virtual void printData () const
 Print Data.
virtual void printDataToStream (std::ostream &stream) const
- Public Member Functions inherited from DtLinearSegmentRecord
 DtLinearSegmentRecord ()
 CTOR.
 DtLinearSegmentRecord (const DtLinearSegmentRecord &orig)
 Copy CTOR.
virtual ~DtLinearSegmentRecord ()
 Virtual DTOR.
virtual void setSegmentNumber (const DtU32 value)
 Set/Get Segment Number.
virtual DtU32 segmentNumber () const
virtual void setModifications (DtU8 value)
 Set/Get the modifications (by 8-bit integer).
virtual DtU8 modifications () const
virtual void setModificationsField (DtModificationField field, bool value)
 Set/Get the modifications (by field).
virtual bool modificationsField (DtModificationField field) const
virtual void setLocation (const DtVector &coords)
 Set/Get Location.
virtual const DtVectorlocation () const
virtual void setOrientation (const DtTaitBryan &orientation)
 Set/Get Orientation.
virtual const DtTaitBryanorientation () const
virtual void setLength (const DtU16 value)
 Set/Get Length.
virtual DtU16 length () const
virtual void setWidth (const DtU16 value)
 Set/Get Width.
virtual DtU16 width () const
virtual void setHeight (const DtU16 value)
 Set/Get Height.
virtual DtU16 height () const
virtual void setDepth (const DtU16 value)
 Set/Get Depth.
virtual DtU16 depth () const
virtual void setGeneralAppearance (DtU16 appearance)
 Set/Get General Appearance.
virtual DtU16 generalAppearance () const
virtual void setSpecificAppearance (DtU32 appearance)
 Set/Get Specific Appearance.
virtual DtU32 specificAppearance () const
virtual void setGeneralAppearanceAttribute (DtAppearAttribute attr, DtAppearAttrVal val)
 Set/Get General Appearance Attribute.
virtual DtAppearAttrVal generalAppearanceAttribute (DtAppearAttribute attr) const
virtual void setSpecificAppearanceAttribute (DtAppearAttribute attr, DtAppearAttrVal val)
 Set/Get Specific Appearance Attribute.
virtual DtU32 specificAppearanceAttribute (DtAppearAttribute attr) const
virtual void setPercentComplete (const DtU32 value)
 Set/Get Percent Complete.
virtual DtU32 percentComplete () const
virtual void setDamagedState (const DtDamageState state)
 Set/Get Damaged State.
virtual DtDamageState damagedState () const
virtual void setObjectPreDistributed (bool onOff)
 Set/Get ObjectPreDistributed.
virtual bool objectPreDistributed () const
virtual void setDeactivated (bool onOff)
 Set/Get Deactivated.
virtual bool deactivated () const
virtual void setSmoking (bool onOff)
 Set/Get Smoking.
virtual bool smoking () const
virtual void setFlaming (bool onOff)
 Set/Get Flaming.
virtual bool flaming () const
virtual void unloadNetRecord (const DtNetLinearSegmentParameter &record)
 Load/Unload data from a DIS packet record.
virtual void loadNetRecord (DtNetLinearSegmentParameter &record) const
virtual void unloadNetRecord (const DtNetLinearSegmentRecord &record)
 Load/Unload data from an HLA packet record.
virtual void loadNetRecord (DtNetLinearSegmentRecord &record) const
virtual DtLinearSegmentRecordoperator= (const DtLinearSegmentRecord &orig)
virtual DtLinearSegmentRecordoperator= (const DtNetLinearSegmentRecord &orig)
virtual DtLinearSegmentRecordoperator= (const DtNetLinearSegmentParameter &orig)
virtual bool operator== (const DtLinearSegmentRecord &rec) const
virtual bool operator!= (const DtLinearSegmentRecord &rec) const

Additional Inherited Members

- Protected Attributes inherited from DtLinearSegmentRecord
DtU32 mySegmentNumber
DtU8 myModifications
DtVector myLocation
DtTaitBryan myOrientation
DtU16 myLength
DtU16 myWidth
DtU16 myHeight
DtU16 myDepth
DtU16 myGeneralAppearance
DtU32 mySpecificAppearance

Detailed Description

Instances of DtBreachableSegmentRecord implement the BreachableSegmentStruct used to implement the Breachable Linear Object.

Constructor & Destructor Documentation

DtBreachableSegmentRecord::DtBreachableSegmentRecord ( )

Default CTOR.

DtBreachableSegmentRecord::DtBreachableSegmentRecord ( const DtBreachableSegmentRecord orig)

Copy CTOR.

DtBreachableSegmentRecord::DtBreachableSegmentRecord ( const DtLinearSegmentRecord orig)

Copy CTOR.

virtual DtBreachableSegmentRecord::~DtBreachableSegmentRecord ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual DtTankDitchBreachStatus DtBreachableSegmentRecord::breachedState ( ) const
virtual
virtual DtU32 DtBreachableSegmentRecord::breachLength ( ) const
virtual
virtual void DtBreachableSegmentRecord::loadNetRecord ( DtNetBreachableSegmentRecord record) const
virtual
DtBreachableSegmentRecord& DtBreachableSegmentRecord::operator= ( const DtNetBreachableSegmentRecord orig)

Assignment Operator (Net Type).

virtual void DtBreachableSegmentRecord::printData ( ) const
virtual

Print Data.

Reimplemented from DtLinearSegmentRecord.

virtual void DtBreachableSegmentRecord::printDataToStream ( std::ostream &  stream) const
virtual

Reimplemented from DtLinearSegmentRecord.

virtual bool DtBreachableSegmentRecord::segmentBreached ( int  index,
bool state 
) const
virtual
virtual void DtBreachableSegmentRecord::setBreachedState ( DtTankDitchBreachStatus  state)
virtual

Get/Set Breached State.

virtual void DtBreachableSegmentRecord::setBreachLength ( DtU32  length)
virtual

Get/Set Breach Length.

virtual bool DtBreachableSegmentRecord::setSegmentBreached ( int  index,
bool  state 
)
virtual

Get/Set Segment Breached Returns false if the index is out of bounds.

There are 8 SegmentBreached records, so a valid index is >= 0 and <=7

virtual void DtBreachableSegmentRecord::unloadNetRecord ( const DtNetBreachableSegmentRecord record)
virtual

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

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)