VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtReflectAttributeValuesCbList Class Reference

Instances of DtReflectAttributeValuesCbList are used to provide a list of callbacks (DtReflectAttributeValuesCbInfo) which are called when attributes change for an object in a federation. More...

+ Collaboration diagram for DtReflectAttributeValuesCbList:

Public Member Functions

 DtReflectAttributeValuesCbList ()
 default constructor More...
 
virtual ~DtReflectAttributeValuesCbList ()
 destructor More...
 
 DtReflectAttributeValuesCbList (const DtReflectAttributeValuesCbList &orig)
 copy constructor More...
 
DtReflectAttributeValuesCbListoperator= (const DtReflectAttributeValuesCbList &orig)
 assignment operator More...
 
virtual int add (RTI::ObjectHandle id, DtReflectAttributeValuesCb cb, void *usr)
 Add/Remove a reflect attribute callback to/from the list. More...
 
virtual int remove (RTI::ObjectHandle id, DtReflectAttributeValuesCb cb, void *usr)
 
virtual void clear ()
 Remove all callbacks from the list. More...
 
virtual void apply (const DtStateMsg &msg)
 State messages are for a specific object id. More...
 

Protected Member Functions

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

Protected Attributes

DtList myList
 

Detailed Description

Instances of DtReflectAttributeValuesCbList are used to provide a list of callbacks (DtReflectAttributeValuesCbInfo) which are called when attributes change for an object in a federation.

Constructor & Destructor Documentation

DtReflectAttributeValuesCbList::DtReflectAttributeValuesCbList ( )

default constructor

virtual DtReflectAttributeValuesCbList::~DtReflectAttributeValuesCbList ( )
virtual

destructor

DtReflectAttributeValuesCbList::DtReflectAttributeValuesCbList ( const DtReflectAttributeValuesCbList orig)

copy constructor

Member Function Documentation

virtual int DtReflectAttributeValuesCbList::add ( RTI::ObjectHandle  id,
DtReflectAttributeValuesCb  cb,
void *  usr 
)
virtual

Add/Remove a reflect attribute callback to/from the list.

Returns whether add/remove took place.

virtual void DtReflectAttributeValuesCbList::apply ( const DtStateMsg msg)
virtual

State messages are for a specific object id.

Callbacks are for a particular object id. Call any callbacks in the list for the object id specified in the state message.

virtual void DtReflectAttributeValuesCbList::clear ( )
virtual

Remove all callbacks from the list.

void DtReflectAttributeValuesCbList::ctorCopyList ( const DtReflectAttributeValuesCbList orig)
protected

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

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

void DtReflectAttributeValuesCbList::dtorClear ( )
protected

Remove all callbacks from the list.

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

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

assignment operator

virtual int DtReflectAttributeValuesCbList::remove ( RTI::ObjectHandle  id,
DtReflectAttributeValuesCb  cb,
void *  usr 
)
virtual

Member Data Documentation

DtList DtReflectAttributeValuesCbList::myList
protected

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

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)