VR-Link API Documentation for HLA 1.3
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtUpdateControlCbList Class Reference

Instances of DtUpdateControlCbList are used to provide a list of callbacks (DtUpdateControlCbInfo) which are called when an object starts updating. More...

+ Collaboration diagram for DtUpdateControlCbList:

Public Member Functions

 DtUpdateControlCbList ()
 default constructor
virtual ~DtUpdateControlCbList ()
 destructor
 DtUpdateControlCbList (const DtUpdateControlCbList &orig)
 copy constructor
DtUpdateControlCbListoperator= (const DtUpdateControlCbList &orig)
 assignment operator
virtual int add (RTI::ObjectHandle hand, DtUpdateControlCb cb, void *usr)
 Add/Remove a start updates callback to/from the list.
virtual int remove (RTI::ObjectHandle hand, DtUpdateControlCb cb, void *usr)
virtual void clear ()
 Remove all callbacks from the list.
virtual void apply (RTI::ObjectHandle instanceHandle, const RTI::AttributeHandleSet &hSet)
 Callbacks are for a particular object class instanceHandle.

Protected Member Functions

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

Protected Attributes

DtList myList

Detailed Description

Instances of DtUpdateControlCbList are used to provide a list of callbacks (DtUpdateControlCbInfo) which are called when an object starts updating.

Constructor & Destructor Documentation

DtUpdateControlCbList::DtUpdateControlCbList ( )

default constructor

virtual DtUpdateControlCbList::~DtUpdateControlCbList ( )
virtual

destructor

DtUpdateControlCbList::DtUpdateControlCbList ( const DtUpdateControlCbList orig)

copy constructor

Member Function Documentation

virtual int DtUpdateControlCbList::add ( RTI::ObjectHandle  hand,
DtUpdateControlCb  cb,
void *  usr 
)
virtual

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

Returns whether add/remove took place.

virtual void DtUpdateControlCbList::apply ( RTI::ObjectHandle  instanceHandle,
const RTI::AttributeHandleSet &  hSet 
)
virtual

Callbacks are for a particular object class instanceHandle.

Call any callbacks in the list for the object class instanceHandle.

virtual void DtUpdateControlCbList::clear ( )
virtual

Remove all callbacks from the list.

void DtUpdateControlCbList::ctorCopyList ( const DtUpdateControlCbList orig)
protected

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

Non-virtual, since meant to be called from ctor.

void DtUpdateControlCbList::dtorClear ( )
protected

Remove all callbacks from the list.

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

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

assignment operator

virtual int DtUpdateControlCbList::remove ( RTI::ObjectHandle  hand,
DtUpdateControlCb  cb,
void *  usr 
)
virtual

Member Data Documentation

DtList DtUpdateControlCbList::myList
protected

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

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)