VR-Forces 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 () override
 
 DtIfParentChanged (const DtIfParentChanged &orig)
 
DtIfParentChanged & operator= (const DtIfParentChanged &orig)
 
virtual int type () const override
 
virtual DtSimInterfaceContent * clone () const override
 
virtual const DtUUID & uuid () const
 
virtual void setUUID (const DtUUID &)
 
virtual int netRepSize () const override
 
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize) override
 
virtual bool setToNet () override
 
virtual void printDataToString (DtString &str) override
 
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
 
virtual bool update (const DtSimInterfaceContent *data)
 
virtual char * netRep ()
 
virtual void printContentType (DtString &str)
 
virtual void setUseSessionId (bool yesNo)
 
virtual bool useSessionId () const
 

Static Public Member Functions

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

Protected Attributes

DtUUID myUUID
 
- Protected Attributes inherited from DtSimInterfaceContent
char * myNetRep
 
bool myUseSessionId
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
 
const DtSimInterfaceContent & operator= (const DtSimInterfaceContent &orig)
 
virtual char * createNetworkBuffer ()
 
- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactory * myFactory
 
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn
 

Constructor & Destructor Documentation

DtIfParentChanged::DtIfParentChanged ( )

default constructor

virtual DtIfParentChanged::~DtIfParentChanged ( )
overridevirtual

destructor

DtIfParentChanged::DtIfParentChanged ( const DtIfParentChanged &  orig)

copy constructor

Member Function Documentation

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

assignment operator

virtual int DtIfParentChanged::type ( ) const
overridevirtual

Returns the type of Interface Content.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfParentChanged::clone ( ) const
overridevirtual

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
overridevirtual

Reimplemented from DtSimInterfaceContent.

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

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfParentChanged::setToNet ( )
overridevirtual

Reimplemented from DtSimInterfaceContent.

virtual void DtIfParentChanged::printDataToString ( DtString &  str)
overridevirtual

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 Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)