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. More...
 
 DtBreachableSegmentRecord (const DtBreachableSegmentRecord &orig)
 Copy CTOR. More...
 
 DtBreachableSegmentRecord (const DtLinearSegmentRecord &orig)
 Copy CTOR. More...
 
virtual ~DtBreachableSegmentRecord ()
 Virtual DTOR. More...
 
DtBreachableSegmentRecordoperator= (const DtNetBreachableSegmentRecord &orig)
 Assignment Operator (Net Type). More...
 
virtual void setBreachLength (DtU32 length)
 Get/Set Breach Length. More...
 
virtual DtU32 breachLength () const
 
virtual void setBreachedState (DtTankDitchBreachStatus state)
 Get/Set Breached State. More...
 
virtual DtTankDitchBreachStatus breachedState () const
 
virtual bool setSegmentBreached (int index, bool state)
 Get/Set Segment Breached Returns false if the index is out of bounds. More...
 
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. More...
 
virtual void printDataToStream (std::ostream &stream) const
 
- Public Member Functions inherited from DtLinearSegmentRecord
 DtLinearSegmentRecord ()
 CTOR. More...
 
 DtLinearSegmentRecord (const DtLinearSegmentRecord &orig)
 Copy CTOR. More...
 
virtual ~DtLinearSegmentRecord ()
 Virtual DTOR. More...
 
virtual void setSegmentNumber (const DtU32 value)
 Set/Get Segment Number. More...
 
virtual DtU32 segmentNumber () const
 
virtual void setModifications (DtU8 value)
 Set/Get the modifications (by 8-bit integer). More...
 
virtual DtU8 modifications () const
 
virtual void setModificationsField (DtModificationField field, bool value)
 Set/Get the modifications (by field). More...
 
virtual bool modificationsField (DtModificationField field) const
 
virtual void setLocation (const DtVector &coords)
 Set/Get Location. More...
 
virtual const DtVectorlocation () const
 
virtual void setOrientation (const DtTaitBryan &orientation)
 Set/Get Orientation. More...
 
virtual const DtTaitBryanorientation () const
 
virtual void setLength (const DtU16 value)
 Set/Get Length. More...
 
virtual DtU16 length () const
 
virtual void setWidth (const DtU16 value)
 Set/Get Width. More...
 
virtual DtU16 width () const
 
virtual void setHeight (const DtU16 value)
 Set/Get Height. More...
 
virtual DtU16 height () const
 
virtual void setDepth (const DtU16 value)
 Set/Get Depth. More...
 
virtual DtU16 depth () const
 
virtual void setGeneralAppearance (DtU16 appearance)
 Set/Get General Appearance. More...
 
virtual DtU16 generalAppearance () const
 
virtual void setSpecificAppearance (DtU32 appearance)
 Set/Get Specific Appearance. More...
 
virtual DtU32 specificAppearance () const
 
virtual void setGeneralAppearanceAttribute (DtAppearAttribute attr, DtAppearAttrVal val)
 Set/Get General Appearance Attribute. More...
 
virtual DtAppearAttrVal generalAppearanceAttribute (DtAppearAttribute attr) const
 
virtual void setSpecificAppearanceAttribute (DtAppearAttribute attr, DtAppearAttrVal val)
 Set/Get Specific Appearance Attribute. More...
 
virtual DtU32 specificAppearanceAttribute (DtAppearAttribute attr) const
 
virtual void setPercentComplete (const DtU32 value)
 Set/Get Percent Complete. More...
 
virtual DtU32 percentComplete () const
 
virtual void setDamagedState (const DtDamageState state)
 Set/Get Damaged State. More...
 
virtual DtDamageState damagedState () const
 
virtual void setObjectPreDistributed (bool onOff)
 Set/Get ObjectPreDistributed. More...
 
virtual bool objectPreDistributed () const
 
virtual void setDeactivated (bool onOff)
 Set/Get Deactivated. More...
 
virtual bool deactivated () const
 
virtual void setSmoking (bool onOff)
 Set/Get Smoking. More...
 
virtual bool smoking () const
 
virtual void setFlaming (bool onOff)
 Set/Get Flaming. More...
 
virtual bool flaming () const
 
virtual void unloadNetRecord (const DtNetLinearSegmentParameter &record)
 Load/Unload data from a DIS packet record. More...
 
virtual void loadNetRecord (DtNetLinearSegmentParameter &record) const
 
virtual void unloadNetRecord (const DtNetLinearSegmentRecord &record)
 Load/Unload data from an HLA packet record. More...
 
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 Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)