VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfSpawnBreach Class Reference

Class DtIfSpawnBreach.

Instances of DtIfSpawnBreach are the content portions of a Spawn Breach message. This message contains the position where to spawn the breach and on which engineering object the breach is being put on.

Inheritance diagram for DtIfSpawnBreach:
Inheritance graph
[legend]

Public Member Functions

 DtIfSpawnBreach ()
 
virtual ~DtIfSpawnBreach ()
 
 DtIfSpawnBreach (const DtIfSpawnBreach &orig)
 
DtIfSpawnBreachoperator= (const DtIfSpawnBreach &orig)
 
virtual int type () const
 
virtual DtSimInterfaceContentclone () const
 
virtual const DtVectorbreachStartPoint () const
 
virtual void setBreachStartPoint (const DtVector &stPoint)
 
virtual const DtVectorbreachEndPoint () const
 
virtual void setBreachEndPoint (const DtVector &endPoint)
 
virtual const DtVectorbreachPosition () const
 
virtual void setBreachPosition (const DtVector &point)
 
virtual const DtObjectTypebreachType () const
 
virtual void setBreachType (const DtObjectType &type)
 
virtual const DtEntityIdentifier & breachedObjectId () const
 
virtual void setBreachedObjectId (const DtEntityIdentifier &id)
 
virtual int netRepSize () const
 
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 
virtual bool setToNet ()
 
virtual void printDataToString (DtString &str)
 
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
 
virtual bool update (const DtSimInterfaceContent *data)
 
virtual charnetRep ()
 
virtual void printContentType (DtString &str)
 
virtual void setUseSessionId (bool yesNo)
 
virtual bool useSessionId () const
 

Static Public Member Functions

static DtSimInterfaceContentcreator ()
 
- Static Public Member Functions inherited from DtSimInterfaceContent
static DtSimInterfaceContentcreateInterfaceContent (int type)
 
static void addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn)
 
static void setFactory (DtInterfaceContentFactory *factory)
 
static DtInterfaceContentFactoryfactory ()
 
static void registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn)
 

Protected Attributes

DtObjectType myBreachType
 
DtVector myBreachPosition
 
DtVector myBreachEndPoint
 
DtVector myBreachStartPoint
 
DtEntityIdentifier myBreachedObjectId
 
- Protected Attributes inherited from DtSimInterfaceContent
charmyNetRep
 
bool myUseSessionId
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
 
const DtSimInterfaceContentoperator= (const DtSimInterfaceContent &orig)
 
virtual charcreateNetworkBuffer ()
 
- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactorymyFactory
 
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn
 

Constructor & Destructor Documentation

DtIfSpawnBreach::DtIfSpawnBreach ( )

default constructor

virtual DtIfSpawnBreach::~DtIfSpawnBreach ( )
virtual

destructor

DtIfSpawnBreach::DtIfSpawnBreach ( const DtIfSpawnBreach orig)

copy constructor

Member Function Documentation

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

assignment operator

virtual int DtIfSpawnBreach::type ( ) const
virtual

Returns the type of Interface Content.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfSpawnBreach::clone ( ) const
virtual

Implements DtSimInterfaceContent.

virtual const DtVector& DtIfSpawnBreach::breachStartPoint ( ) const
virtual

Set/get the position of the breach Can either specify start and end or specify CM.

virtual void DtIfSpawnBreach::setBreachStartPoint ( const DtVector stPoint)
virtual
virtual const DtVector& DtIfSpawnBreach::breachEndPoint ( ) const
virtual
virtual void DtIfSpawnBreach::setBreachEndPoint ( const DtVector endPoint)
virtual
virtual const DtVector& DtIfSpawnBreach::breachPosition ( ) const
virtual
virtual void DtIfSpawnBreach::setBreachPosition ( const DtVector point)
virtual
virtual const DtObjectType& DtIfSpawnBreach::breachType ( ) const
virtual

Set/get the kind of Breach. Is it dependent on an entity like a AVLB or is it a breach by damage, ie miclich.

virtual void DtIfSpawnBreach::setBreachType ( const DtObjectType type)
virtual
virtual const DtEntityIdentifier& DtIfSpawnBreach::breachedObjectId ( ) const
virtual
virtual void DtIfSpawnBreach::setBreachedObjectId ( const DtEntityIdentifier &  id)
virtual
virtual int DtIfSpawnBreach::netRepSize ( ) const
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfSpawnBreach::setFromNet ( const char contentBuffer,
unsigned  contentSize 
)
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfSpawnBreach::setToNet ( )
virtual

Reimplemented from DtSimInterfaceContent.

virtual void DtIfSpawnBreach::printDataToString ( DtString str)
virtual

Reimplemented from DtSimInterfaceContent.

static DtSimInterfaceContent* DtIfSpawnBreach::creator ( )
static

Member Data Documentation

DtObjectType DtIfSpawnBreach::myBreachType
protected
DtVector DtIfSpawnBreach::myBreachPosition
protected
DtVector DtIfSpawnBreach::myBreachEndPoint
protected
DtVector DtIfSpawnBreach::myBreachStartPoint
protected
DtEntityIdentifier DtIfSpawnBreach::myBreachedObjectId
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)