VR-Forces 5.0.2 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
DtIfParentChanged Class Reference

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.

Inheritance diagram for DtIfParentChanged:
Inheritance graph
[legend]

Public Member Functions

 DtIfParentChanged ()
 
virtual ~DtIfParentChanged ()
 
 DtIfParentChanged (const DtIfParentChanged &orig)
 
DtIfParentChangedoperator= (const DtIfParentChanged &orig)
 
virtual int type () const
 
virtual DtSimInterfaceContentclone () const
 
virtual const DtUUIDuuid () const
 
virtual void setUUID (const DtUUID &)
 
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

DtUUID myUUID
 
- 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

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.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfParentChanged::clone ( ) const
virtual

Implements DtSimInterfaceContent.

virtual const DtUUID& DtIfParentChanged::uuid ( ) const
virtual

Set/get the unit whose parent has changed Was: echelonId.

virtual void DtIfParentChanged::setUUID ( const DtUUID )
virtual

Was: setEchelonId.

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.

static DtSimInterfaceContent* DtIfParentChanged::creator ( )
static

Member Data Documentation

DtUUID DtIfParentChanged::myUUID
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)