VR-Link API Documentation for HLA Evolved
Public Member Functions | Protected Member Functions | Protected Attributes
DtStartStopInterCbList Class Reference

class DtStartStopInterCbList: More...

+ Collaboration diagram for DtStartStopInterCbList:

List of all members.

Public Member Functions

 DtStartStopInterCbList ()
 default constructor
virtual ~DtStartStopInterCbList ()
 destructor
 DtStartStopInterCbList (const DtStartStopInterCbList &orig)
 copy constructor
DtStartStopInterCbListoperator= (const DtStartStopInterCbList &orig)
 assignment operator
virtual int add (RTI::InteractionClassHandle hand, DtStartStopInterCb cb, void *usr)
 Add/Remove a start updates callback to/from the list.
virtual int remove (RTI::InteractionClassHandle hand, DtStartStopInterCb cb, void *usr)
virtual void clear ()
 Remove all callbacks from the list.
virtual void apply (RTI::InteractionClassHandle interClass)
 Callbacks are for a particular inter class handle.

Protected Member Functions

void dtorClear ()
 Remove all callbacks from the list.
void ctorCopyList (const DtStartStopInterCbList &orig)
 Copy another callback list into this inter's callback list.

Protected Attributes

DtList myList

Detailed Description

class DtStartStopInterCbList:

Instances of DtStartStopInterCbList are used to provide a list of callbacks (DtStartStopInterCbInfo) which are called when the RTI's start or stopInteractionGeneration services are invoked.


Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

virtual int DtStartStopInterCbList::add ( RTI::InteractionClassHandle  hand,
DtStartStopInterCb  cb,
void *  usr 
) [virtual]

Add/Remove a start updates callback to/from the list.

Returns whether add/remove took place.

virtual void DtStartStopInterCbList::apply ( RTI::InteractionClassHandle  interClass) [virtual]

Callbacks are for a particular inter class handle.

Call any callbacks in the list for the inter class handle for the start updates inter.

virtual void DtStartStopInterCbList::clear ( ) [virtual]

Remove all callbacks from the list.

Copy another callback list into this inter's callback list.

Non-virtual since meant to be called from ctor.

void DtStartStopInterCbList::dtorClear ( ) [protected]

Remove all callbacks from the list.

Non-virtual, since meant to be called from dtor, otherwise should call clear().

DtStartStopInterCbList& DtStartStopInterCbList::operator= ( const DtStartStopInterCbList orig)

assignment operator

virtual int DtStartStopInterCbList::remove ( RTI::InteractionClassHandle  hand,
DtStartStopInterCb  cb,
void *  usr 
) [virtual]

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)