VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfParentChanged Class Reference

class DtIfParentChanged: More...

Inheritance diagram for DtIfParentChanged:
Inheritance graph
[legend]

Public Member Functions

 DtIfParentChanged ()
 default constructor
virtual ~DtIfParentChanged ()
 destructor
 DtIfParentChanged (const DtIfParentChanged &orig)
 copy constructor
DtIfParentChangedoperator= (const DtIfParentChanged &orig)
 assignment operator
virtual int type () const
 Returns the type of Interface Content.
virtual DtSimInterfaceContentclone () const
virtual const DtStringechelonId () const
 Set/get the echelon ID string of unit whose parent has changed.
virtual void setEchelonId (const DtString &name)
virtual int netRepSize () const
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
virtual bool setToNet ()
virtual void printDataToString (DtString &str)

Static Public Member Functions

static DtSimInterfaceContentcreator ()

Protected Attributes

DtString myEchelonId

Detailed Description

class DtIfParentChanged:

Instances of DtIfParentChanged are the notification that a unit's parent has changed. They are created and delivered when a parent is attachted to or detached from another unit. Attaching or detaching occurs because of user commands which generate load/unload/embark/disembark tasks or when an .oob file with attached units is read in.

Constructor & Destructor Documentation

DtIfParentChanged::DtIfParentChanged ( )

default constructor

virtual DtIfParentChanged::~DtIfParentChanged ( )
virtual

destructor

DtIfParentChanged::DtIfParentChanged ( const DtIfParentChanged orig)

copy constructor

Member Function Documentation

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

assignment operator

virtual int DtIfParentChanged::type ( ) const
virtual

Returns the type of Interface Content.

virtual DtSimInterfaceContent* DtIfParentChanged::clone ( ) const
virtual
virtual const DtString& DtIfParentChanged::echelonId ( ) const
virtual

Set/get the echelon ID string of unit whose parent has changed.

virtual void DtIfParentChanged::setEchelonId ( const DtString name)
virtual
virtual int DtIfParentChanged::netRepSize ( ) const
virtual
virtual bool DtIfParentChanged::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
)
virtual
virtual bool DtIfParentChanged::setToNet ( )
virtual
virtual void DtIfParentChanged::printDataToString ( DtString str)
virtual
static DtSimInterfaceContent* DtIfParentChanged::creator ( )
static

Member Data Documentation

DtString DtIfParentChanged::myEchelonId
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)