VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfParentChanged Class Reference

class DtIfParentChanged: More...

Inheritance diagram for DtIfParentChanged:
Inheritance graph
[legend]

List of all members.

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

default constructor

destructor

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.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfParentChanged::clone ( ) const [virtual]

Implements DtSimInterfaceContent.

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]

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfParentChanged::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfParentChanged::setToNet ( ) [virtual]

Reimplemented from DtSimInterfaceContent.

virtual void DtIfParentChanged::printDataToString ( DtString str) [virtual]

Reimplemented from DtSimInterfaceContent.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)