VR-Link API Documentation for HLA 1516
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtReflectedIff Class Reference

class DtReflectedIff: More...

+ Inheritance diagram for DtReflectedIff:
+ Collaboration diagram for DtReflectedIff:

List of all members.

Public Types

typedef DtIffStateRepository *(* DtStateRepCreator )()
 Function prototype for functions that create DtIffStateRepositories.

Public Member Functions

 DtReflectedIff (DtHlaObject *obj, DtExerciseConn *conn)
 constructor
virtual ~DtReflectedIff ()
 destructor
virtual DtIffStateRepositoryiffStateRep () const
 Returns a pointer to the IffStateRepository, through which you can inspect current state information.
virtual DtIffStateRepositoryisr () const
 Synonym for iffStateRep()
virtual DtReflectedIffnext () const
 Functions to get the next and previous objects in the list.
virtual DtReflectedIffprev () const
virtual DtReflectedIffwrapNext () const
 Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning).
virtual DtReflectedIffwrapPrev () const
virtual void addPostUpdateCallback (DtIffCallbackFunction cb, void *userData)
 Registration/deregistration of postUpdate callbacks.
virtual void removePostUpdateCallback (DtIffCallbackFunction cb, void *userData)

Static Public Member Functions

static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs.

Protected Member Functions

 DtReflectedIff (const DtReflectedIff &orig)
 copy constructor -- not implemented
DtReflectedIffoperator= (const DtReflectedIff &orig)
 assignment operator -- not implemented

Static Protected Attributes

static DtStateRepCreator theStateRepCreator

Detailed Description

class DtReflectedIff:

Instances of DtReflectedIff are used to represent "IFF" objects simulated remotely, that we hear about through the RTI. Instances are created and deleted automatically by DtReflectedIffList in response to discover and remove RTI service invocations. This class is derived from DtReflectedObject, which does most of the work. The derived class mostly exists to provide type safety, and to configure the base class object.


Member Typedef Documentation

Function prototype for functions that create DtIffStateRepositories.


Constructor & Destructor Documentation

constructor

virtual DtReflectedIff::~DtReflectedIff ( ) [virtual]

destructor

DtReflectedIff::DtReflectedIff ( const DtReflectedIff orig) [protected]

copy constructor -- not implemented


Member Function Documentation

virtual void DtReflectedIff::addPostUpdateCallback ( DtIffCallbackFunction  cb,
void *  userData 
) [virtual]

Registration/deregistration of postUpdate callbacks.

DtIffStateRepository * DtReflectedIff::iffStateRep ( ) const [inline, virtual]

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

References DtReflectedObject::myStateRep.

DtIffStateRepository * DtReflectedIff::isr ( ) const [inline, virtual]
virtual DtReflectedIff* DtReflectedIff::next ( ) const [virtual]

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.

DtReflectedIff& DtReflectedIff::operator= ( const DtReflectedIff orig) [protected]

assignment operator -- not implemented

virtual DtReflectedIff* DtReflectedIff::prev ( ) const [virtual]

Reimplemented from DtListedObj.

virtual void DtReflectedIff::removePostUpdateCallback ( DtIffCallbackFunction  cb,
void *  userData 
) [virtual]

Give us a function to be used for creating SRs.

virtual DtReflectedIff* DtReflectedIff::wrapNext ( ) const [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.

virtual DtReflectedIff* DtReflectedIff::wrapPrev ( ) const [virtual]

Reimplemented from DtListedObj.


Member Data Documentation


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)