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 | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions
DtReflectedRectangularPyramidList Class Reference

Instances of this class provide a protocol independent interface to a list of RectangularPyramid in a DIS environment.

Instances of DtReflectedRectangularPyramidList manage a list of DtReflectedRectangularPyramid objects.

Inheritance diagram for DtReflectedRectangularPyramidList:
Inheritance graph
[legend]

Public Member Functions

 DtReflectedRectangularPyramidList (DtExerciseConn *exConn)
 
virtual ~DtReflectedRectangularPyramidList ()
 
virtual
DtReflectedRectangularPyramid
first () const
 
virtual
DtReflectedRectangularPyramid
last () const
 
virtual void addRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 
virtual void removeRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 
virtual void addRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 
virtual void removeRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 
virtual void print ()
 
virtual
DtReflectedRectangularPyramid
processRectangularPyramidState (const DtRectangularPyramidPdu &pdu)
 
 DtReflectedRectangularPyramidList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0)
 
 DtReflectedRectangularPyramidList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0)
 
virtual ~DtReflectedRectangularPyramidList ()
 
virtual
DtReflectedRectangularPyramid
lookup (RTI::ObjectHandle id)
 
virtual
DtReflectedRectangularPyramid
lookup (const DtGlobalObjectDesignator &objName)
 
virtual
DtReflectedRectangularPyramid
first () const
 
virtual
DtReflectedRectangularPyramid
last () const
 
virtual void addRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 
virtual void removeRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 
virtual void addRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 
virtual void removeRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 

Protected Member Functions

virtual DtReflectedObjectnewReflectedObj (const DtStateMsg &msg)
 
virtual DtReflectedObjectprocessStateMessage (const DtStateMsg &msg)
 
virtual void objectAdded (DtReflectedObject *obj)
 
virtual const DtBaseHashKeyhashKeyFromStateMessage (const DtStateMsg *msg)
 
virtual
DtReflectedRectangularPyramid
newReflectedRectangularPyramid (const DtEntityIdentifier &id) const
 
virtual void RectangularPyramidAdded (DtReflectedRectangularPyramid *agg)
 
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 
virtual void objectAdded (DtReflectedObject *obj)
 

Static Protected Member Functions

static void RectangularPyramidStateCb (DtRectangularPyramidPdu *pdu, void *usr)
 

Protected Attributes

DtBaseHashKeymyHashKey
 

Private Member Functions

DtReflectedRectangularPyramidListoperator= (const DtReflectedRectangularPyramidList &orig)
 
 DtReflectedRectangularPyramidList (const DtReflectedRectangularPyramidList &orig)
 
 DtReflectedRectangularPyramidList (const DtReflectedRectangularPyramidList &orig)
 
DtReflectedRectangularPyramidListoperator= (const DtReflectedRectangularPyramidList &orig)
 

Constructor & Destructor Documentation

DtReflectedRectangularPyramidList::DtReflectedRectangularPyramidList ( DtExerciseConn *  exConn)

Constructor.

virtual DtReflectedRectangularPyramidList::~DtReflectedRectangularPyramidList ( )
virtual

Destructor.

DtReflectedRectangularPyramidList::DtReflectedRectangularPyramidList ( const DtReflectedRectangularPyramidList orig)
private

Copy constructor – not implemented.

DtReflectedRectangularPyramidList::DtReflectedRectangularPyramidList ( DtExerciseConn *  exConn,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor.

DtReflectedRectangularPyramidList::DtReflectedRectangularPyramidList ( DtExerciseConn *  exConn,
const DtList *  handleList,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.

virtual DtReflectedRectangularPyramidList::~DtReflectedRectangularPyramidList ( )
virtual

Destructor.

DtReflectedRectangularPyramidList::DtReflectedRectangularPyramidList ( const DtReflectedRectangularPyramidList orig)
private

Copy constructor not implemented - cannot be copied.

Member Function Documentation

DtReflectedRectangularPyramidList& DtReflectedRectangularPyramidList::operator= ( const DtReflectedRectangularPyramidList orig)
private

Assignment operator – not implemented.

virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::first ( ) const
virtual
virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::last ( ) const
virtual
virtual void DtReflectedRectangularPyramidList::addRectangularPyramidAdditionCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual

RectangularPyramid added callback registration/deregistration.

virtual void DtReflectedRectangularPyramidList::removeRectangularPyramidAdditionCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedRectangularPyramidList::addRectangularPyramidRemovalCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual

RectangularPyramid removed callback registration/deregistration.

virtual void DtReflectedRectangularPyramidList::removeRectangularPyramidRemovalCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedRectangularPyramidList::print ( )
virtual

Print the SRs of all objects.

virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::processRectangularPyramidState ( const DtRectangularPyramidPdu pdu)
virtual

Process an incoming RectangularPyramid state pdu. Then calls down to base class processStateMessage().

virtual DtReflectedObject* DtReflectedRectangularPyramidList::newReflectedObj ( const DtStateMsg msg)
protectedvirtual

Create a new object from a state message.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkReflectedRectangularPyramidList.

virtual DtReflectedObject* DtReflectedRectangularPyramidList::processStateMessage ( const DtStateMsg msg)
protectedvirtual

Process an incoming state message.

virtual void DtReflectedRectangularPyramidList::objectAdded ( DtReflectedObject obj)
protectedvirtual

Called after an RectangularPyramid is added and before additional callbacks are processed. Right now, this function only calls DtInfo.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkReflectedRectangularPyramidList.

virtual const DtBaseHashKey& DtReflectedRectangularPyramidList::hashKeyFromStateMessage ( const DtStateMsg msg)
protectedvirtual

Get a hash key from a state message.

virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::newReflectedRectangularPyramid ( const DtEntityIdentifier &  id) const
protectedvirtual

Create a new reflected RectangularPyramid.

virtual void DtReflectedRectangularPyramidList::RectangularPyramidAdded ( DtReflectedRectangularPyramid agg)
protectedvirtual

Called after a RectangularPyramid is added and before additional callbacks are processed. Right now, this function only calls DtInfo.

static void DtReflectedRectangularPyramidList::RectangularPyramidStateCb ( DtRectangularPyramidPdu pdu,
void *  usr 
)
staticprotected

Callback for the exercise connection.

DtReflectedRectangularPyramidList& DtReflectedRectangularPyramidList::operator= ( const DtReflectedRectangularPyramidList orig)
private

Assignment operator not implemented - cannot be copied.

virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::lookup ( RTI::ObjectHandle  id)
virtual

Look up by identifier.

virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::lookup ( const DtGlobalObjectDesignator &  objName)
virtual

Look up by name.

virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::first ( ) const
virtual

Get the first reflected object in the list.

virtual DtReflectedRectangularPyramid* DtReflectedRectangularPyramidList::last ( ) const
virtual

Get the last reflected object in the list.

virtual void DtReflectedRectangularPyramidList::addRectangularPyramidAdditionCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual

RectangularPyramid added callback registration.

virtual void DtReflectedRectangularPyramidList::removeRectangularPyramidAdditionCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual

RectangularPyramid added callback deregistration.

virtual void DtReflectedRectangularPyramidList::addRectangularPyramidRemovalCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual

RectangularPyramid removed callback registration.

virtual void DtReflectedRectangularPyramidList::removeRectangularPyramidRemovalCallback ( DtRectangularPyramidCallbackFunction  cb,
void *  userData 
)
virtual

RectangularPyramid removed callback deregistration.

virtual DtReflectedObject* DtReflectedRectangularPyramidList::newReflectedObject ( DtHlaObject *  obj) const
protectedvirtual

Override of virtual function. Here, we create a DtReflectedRectangularPyramid.

virtual void DtReflectedRectangularPyramidList::objectAdded ( DtReflectedObject obj)
protectedvirtual

Called from processDiscoverObject() after a remote RectangularPyramid has been added to the list. Default implementation prints a message. Subclasses can override this function to add functionality on addition. obj will be an instance of a class derived from DtReflectedObj.

Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkReflectedRectangularPyramidList.

Member Data Documentation

DtBaseHashKey* DtReflectedRectangularPyramidList::myHashKey
protected

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

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)