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

class DtFedTimeCbList: More...

+ Collaboration diagram for DtFedTimeCbList:

List of all members.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

DtList myList

Detailed Description

class DtFedTimeCbList:

Instances of DtFedTimeCbList are used to provide a list of callbacks which are called when the RTI's Time Management services are invoked.


Constructor & Destructor Documentation

default constructor

virtual DtFedTimeCbList::~DtFedTimeCbList ( ) [virtual]

destructor

copy constructor


Member Function Documentation

virtual int DtFedTimeCbList::add ( DtFedTimeCb  cb,
void *  usr 
) [virtual]

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

Returns whether add/remove took place.

virtual void DtFedTimeCbList::apply ( const RTI::LogicalTime &  theFedTime) [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 DtFedTimeCbList::clear ( ) [virtual]

Remove all callbacks from the list.

void DtFedTimeCbList::ctorCopyList ( const DtFedTimeCbList orig) [protected]

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

Non-virtual since meant to be called from ctor.

void DtFedTimeCbList::dtorClear ( ) [protected]

Remove all callbacks from the list.

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

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

assignment operator

virtual int DtFedTimeCbList::remove ( DtFedTimeCb  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)