VR-Link API Documentation for HLA 1.3
Public Member Functions | Protected Member Functions
DtReflectedGenericObject Class Reference

Instances of DtReflectedGenericObject are used to represent "GenericObject" objects simulated remotely, that we hear about through the RTI. More...

+ Inheritance diagram for DtReflectedGenericObject:
+ Collaboration diagram for DtReflectedGenericObject:

List of all members.

Public Member Functions

 DtReflectedGenericObject (DtHlaObject *obj, DtExerciseConn *conn)
 constructor
virtual ~DtReflectedGenericObject ()
 destructor
virtual DtGenericStateRepositorygenericStateRep () const
 Returns a pointer to the DtGenericStateRepository, through which you can inspect current state information.
virtual DtGenericStateRepositorygsr () const
 Synonym for genericStateRep().
virtual DtReflectedGenericObjectnext () const
 Functions to get the next and previous objects in the list.
virtual DtReflectedGenericObjectprev () const
virtual DtReflectedGenericObjectwrapNext () const
 Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning).
virtual DtReflectedGenericObjectwrapPrev () const
virtual void addPostUpdateCallback (DtGenericObjectCallbackFunction cb, void *userData)
 Registration/deregistration of postUpdate callbacks.
virtual void removePostUpdateCallback (DtGenericObjectCallbackFunction cb, void *userData)

Protected Member Functions

 DtReflectedGenericObject (const DtReflectedGenericObject &other)
 Copy Ctor -- Not Implemented.
DtReflectedGenericObjectoperator= (const DtReflectedGenericObject &other)
 Assignment Operator -- Not Implemented.

Detailed Description

Instances of DtReflectedGenericObject are used to represent "GenericObject" objects simulated remotely, that we hear about through the RTI.

Instances are created and deleted automatically by DtReflectedGenericObjectList in response to discover and remove RTI service invocations. This class is derived from DtDtReflectedObject, which does most of the work. The derived class mostly exists to provide type safety, and to configure the base class object.


Constructor & Destructor Documentation

constructor

destructor

Copy Ctor -- Not Implemented.


Member Function Documentation

virtual void DtReflectedGenericObject::addPostUpdateCallback ( DtGenericObjectCallbackFunction  cb,
void *  userData 
) [virtual]

Registration/deregistration of postUpdate callbacks.

Returns a pointer to the DtGenericStateRepository, through which you can inspect current state information.

Synonym for genericStateRep().

Functions to get the next and previous objects in the list.

The "wrap" functions cycle to the beginning/end of the list.

Reimplemented from DtListedObj.

DtReflectedGenericObject& DtReflectedGenericObject::operator= ( const DtReflectedGenericObject other) [protected]

Assignment Operator -- Not Implemented.

Reimplemented from DtListedObj.

virtual void DtReflectedGenericObject::removePostUpdateCallback ( DtGenericObjectCallbackFunction  cb,
void *  userData 
) [virtual]

Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning).

Only returns NULL when the list is totally empty.

Reimplemented from DtListedObj.

Reimplemented from DtListedObj.


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)