![]() |
VR-Forces 4.6 Class Documentation
|
A reflected object which wraps another reflected object to allow a bulk environment process to be processed in pieces. More...

Classes | |
| struct | CallbackInfo |
| struct | SubObjectInfo |
Public Member Functions | |
| DtReflectedBulkEnvironmentProcess (DtReflectedControlObject *obj, DtExerciseConn *conn) | |
| Constructor. | |
| virtual | ~DtReflectedBulkEnvironmentProcess () |
| Destructor. | |
| virtual DtStateRepository * | stateRep () const |
| Implementation for abstract base class. Calls cosr(). | |
| const DtReflectedControlObject * | reflectedControlObject () const |
| Returns the reflected control object this bulk object wraps. | |
| virtual unsigned | numberOfSubObjects () const |
| Returns the number of sub-objects. | |
| virtual void | setActiveSubObject (const DtEntityIdentifier &entityId) |
| Sets the active sub-object, which dictates the state repository to be returned by any of the state repository accessor methods. | |
| virtual void | resetActiveSubObject () |
| Resets the active sub-object to be the first one. | |
| virtual bool | incrementActiveSubObject () |
| Makes the next sub-object in the list the active sub-object. | |
| virtual void | processControlObjectUpdated (DtReflectedControlObject *obj) |
| Process updates to bulk control object. Updates the sub-objects. | |
| virtual void | updateExtensions () |
| Extracts the extended environmental process state information, if present, from the sub-object state repositories. | |
| virtual DtControlObjectRepository * | controlObjectStateRep () const |
| Returns a pointer to the repository for the sub-object currently being processed. | |
| virtual DtControlObjectRepository * | cosr () const |
| virtual void | addNewSubObjectCallback (DtControlObjectCallbackFunction cb, void *userData) |
| Registers for callbacks for addition of new sub-objects. | |
| virtual void | removeNewSubObjectCallback (DtControlObjectCallbackFunction cb, void *userData) |
| virtual void | addPostUpdateCallback (DtControlObjectCallbackFunction cb, void *userData) |
| Registers for callbacks for updates to the current active sub-object. | |
| virtual void | removePostUpdateCallback (DtControlObjectCallbackFunction cb, void *userData) |
| virtual void | addAboutToBeRemovedCallback (DtControlObjectCallbackFunction cb, void *userData) |
| Registers for callbacks for removal of a sub-object. | |
| virtual void | removeAboutToBeRemovedCallback (DtControlObjectCallbackFunction cb, void *userData) |
Public Member Functions inherited from DtReflectedControlObject | |
| DtReflectedControlObject (DtHlaObject *obj, DtExerciseConn *conn) | |
| virtual | ~DtReflectedControlObject () |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| virtual DtReflectedControlObject * | nextCO () const |
| virtual DtReflectedControlObject * | prevCO () const |
| virtual DtReflectedControlObject * | wrapNextCO () const |
| virtual DtReflectedControlObject * | wrapPrevCO () const |
| virtual void | processPostUpdateCallback (DtReflectedControlObject *obj) |
Static Public Member Functions | |
| static void | postControlObjectUpdateCallback (DtReflectedControlObject *obj, void *userData) |
Static Public Member Functions inherited from DtReflectedControlObject | |
| static void | postUpdateCallback (DtReflectedControlObject *obj, void *userData) |
Protected Types | |
| typedef std::map < DtEntityIdentifier, SubObjectInfo > | SubObjectMap |
Protected Attributes | |
| DtReflectedControlObject * | myReflectedObject |
| std::list< CallbackInfo > | myNewSubObjectCallbacks |
| SubObjectMap | mySubObjects |
| DtEntityIdentifier | myActiveSubObject |
Private Member Functions | |
| DtReflectedBulkEnvironmentProcess (const DtReflectedBulkEnvironmentProcess &orig) | |
| DtReflectedBulkEnvironmentProcess & | operator= (const DtReflectedBulkEnvironmentProcess &orig) |
A reflected object which wraps another reflected object to allow a bulk environment process to be processed in pieces.
|
protected |
| DtReflectedBulkEnvironmentProcess::DtReflectedBulkEnvironmentProcess | ( | DtReflectedControlObject * | obj, |
| DtExerciseConn * | conn | ||
| ) |
Constructor.
Must be passed the DtReflectedControlObject which it will wrap and help parse into sub-objects.
|
virtual |
Destructor.
|
private |
|
virtual |
Returns a pointer to the repository for the sub-object currently being processed.
Reimplemented from DtReflectedControlObject.
|
virtual |
Reimplemented from DtReflectedControlObject.
|
virtual |
Implementation for abstract base class. Calls cosr().
Reimplemented from DtReflectedControlObject.
| const DtReflectedControlObject* DtReflectedBulkEnvironmentProcess::reflectedControlObject | ( | ) | const |
Returns the reflected control object this bulk object wraps.
|
virtual |
Returns the number of sub-objects.
|
virtual |
Sets the active sub-object, which dictates the state repository to be returned by any of the state repository accessor methods.
|
virtual |
Resets the active sub-object to be the first one.
|
virtual |
Makes the next sub-object in the list the active sub-object.
If the end of the list has been reached, wraps to the beginning and returns false.
|
virtual |
Registers for callbacks for addition of new sub-objects.
|
virtual |
|
virtual |
Registers for callbacks for updates to the current active sub-object.
Reimplemented from DtReflectedControlObject.
|
virtual |
Reimplemented from DtReflectedControlObject.
|
virtual |
Registers for callbacks for removal of a sub-object.
|
virtual |
|
static |
|
virtual |
Process updates to bulk control object. Updates the sub-objects.
|
virtual |
Extracts the extended environmental process state information, if present, from the sub-object state repositories.
Reimplemented from DtReflectedControlObject.
|
private |
|
protected |
|
protected |
|
protected |
|
protected |