VR-Forces 4.6.1 Class Documentation
 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. More...

Inheritance diagram for DtReflectedRectangularPyramidList:
Inheritance graph
[legend]

Public Member Functions

 DtReflectedRectangularPyramidList (DtExerciseConn *exConn)
 Constructor.
virtual ~DtReflectedRectangularPyramidList ()
 Destructor.
virtual
DtReflectedRectangularPyramid
first () const
virtual
DtReflectedRectangularPyramid
last () const
virtual void addRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 RectangularPyramid added callback registration/deregistration.
virtual void removeRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
virtual void addRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 RectangularPyramid removed callback registration/deregistration.
virtual void removeRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
virtual void print ()
 Print the SRs of all objects.
virtual
DtReflectedRectangularPyramid
processRectangularPyramidState (const DtRectangularPyramidPdu &pdu)
 Process an incoming RectangularPyramid state pdu.
 DtReflectedRectangularPyramidList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0)
 Constructor.
 DtReflectedRectangularPyramidList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0)
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedRectangularPyramidList ()
 Destructor.
virtual
DtReflectedRectangularPyramid
lookup (RTI::ObjectHandle id)
 Look up by identifier.
virtual
DtReflectedRectangularPyramid
lookup (const DtGlobalObjectDesignator &objName)
 Look up by name.
virtual
DtReflectedRectangularPyramid
first () const
 Get the first reflected object in the list.
virtual
DtReflectedRectangularPyramid
last () const
 Get the last reflected object in the list.
virtual void addRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 RectangularPyramid added callback registration.
virtual void removeRectangularPyramidAdditionCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 RectangularPyramid added callback deregistration.
virtual void addRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 RectangularPyramid removed callback registration.
virtual void removeRectangularPyramidRemovalCallback (DtRectangularPyramidCallbackFunction cb, void *userData)
 RectangularPyramid removed callback deregistration.

Protected Member Functions

virtual DtReflectedObjectnewReflectedObj (const DtStateMsg &msg)
 Create a new object from a state message.
virtual DtReflectedObjectprocessStateMessage (const DtStateMsg &msg)
 Process an incoming state message.
virtual void objectAdded (DtReflectedObject *obj)
 Called after an RectangularPyramid is added and before additional callbacks are processed.
virtual const DtBaseHashKeyhashKeyFromStateMessage (const DtStateMsg *msg)
 Get a hash key from a state message.
virtual
DtReflectedRectangularPyramid
newReflectedRectangularPyramid (const DtEntityIdentifier &id) const
 Create a new reflected RectangularPyramid.
virtual void RectangularPyramidAdded (DtReflectedRectangularPyramid *agg)
 Called after a RectangularPyramid is added and before additional callbacks are processed.
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Override of virtual function. Here, we create a DtReflectedRectangularPyramid.
virtual void objectAdded (DtReflectedObject *obj)
 Called from processDiscoverObject() after a remote RectangularPyramid has been added to the list.

Static Protected Member Functions

static void RectangularPyramidStateCb (DtRectangularPyramidPdu *pdu, void *usr)
 Callback for the exercise connection.

Protected Attributes

DtBaseHashKeymyHashKey

Private Member Functions

DtReflectedRectangularPyramidListoperator= (const DtReflectedRectangularPyramidList &orig)
 Assignment operator – not implemented.
 DtReflectedRectangularPyramidList (const DtReflectedRectangularPyramidList &orig)
 Copy constructor – not implemented.
 DtReflectedRectangularPyramidList (const DtReflectedRectangularPyramidList &orig)
 Copy constructor not implemented - cannot be copied.
DtReflectedRectangularPyramidListoperator= (const DtReflectedRectangularPyramidList &orig)
 Assignment operator not implemented - cannot be copied.

Detailed Description

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.

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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)