![]() |
VR-Forces 5.0.2 Developer's Guide
|
class DtSimObjectListActivityCallbackInfo:
Instances of DtSimObjectListActivityCallbackInfo are used by the simobject manager to keep track of sim object list activity callback functions registered. The class contains a pointer to the callback fcn, usr data, and a DtObjectType filter. The filter enables clients to register an interest in notification of specific types of objects.
Classes | |
| struct | ObjectCallbackListCmp |
Public Member Functions | |
| DtSimObjectListActivityCallbackInfo (DtSimObjectListActivityCallbackFcn func, void *usrData, const DtObjectType &filter, bool invertFilter=false) | |
| virtual | ~DtSimObjectListActivityCallbackInfo () |
| DtSimObjectListActivityCallbackInfo (const DtSimObjectListActivityCallbackInfo &orig) | |
| DtSimObjectListActivityCallbackInfo & | operator= (const DtSimObjectListActivityCallbackInfo &orig) |
| virtual DtSimObjectListActivityCallbackFcn | func () const |
| virtual void * | usrData () const |
| virtual const DtObjectType & | filter () const |
| virtual bool | invertFilter () const |
| virtual void | setDeletedFlag (bool v) |
| virtual bool | deletedFlag () const |
| bool | operator== (const DtSimObjectListActivityCallbackInfo &rhs) const |
| bool | operator!= (const DtSimObjectListActivityCallbackInfo &rhs) const |
| bool | operator< (const DtSimObjectListActivityCallbackInfo &rhs) const |
| bool | operator>= (const DtSimObjectListActivityCallbackInfo &rhs) const |
| tbb::mutex & | mutex () const |
Protected Attributes | |
| DtSimObjectListActivityCallbackFcn | myFunc |
| void * | myUsrData |
| DtObjectType | myFilter |
| bool | myInvertFilter |
| boost::shared_ptr< bool > | myDeletedFlag |
| boost::shared_ptr< tbb::mutex > | myMutex |
| DtSimObjectListActivityCallbackInfo::DtSimObjectListActivityCallbackInfo | ( | DtSimObjectListActivityCallbackFcn | func, |
| void * | usrData, | ||
| const DtObjectType & | filter, | ||
| bool | invertFilter = false |
||
| ) |
constructor
|
virtual |
destructor
| DtSimObjectListActivityCallbackInfo::DtSimObjectListActivityCallbackInfo | ( | const DtSimObjectListActivityCallbackInfo & | orig | ) |
copy constructor
| DtSimObjectListActivityCallbackInfo& DtSimObjectListActivityCallbackInfo::operator= | ( | const DtSimObjectListActivityCallbackInfo & | orig | ) |
assignment operator
|
virtual |
Get the callback function.
Referenced by DtSimObjectListActivityCallbackInfo::ObjectCallbackListCmp::operator()().
|
virtual |
Get the user data.
Referenced by DtSimObjectListActivityCallbackInfo::ObjectCallbackListCmp::operator()().
|
virtual |
Get the sim object type filter.
Referenced by DtSimObjectListActivityCallbackInfo::ObjectCallbackListCmp::operator()().
|
virtual |
Get the flag that indicates whether the filter logic should be inverted, i.e., return all objects that don't match the object.
|
virtual |
|
virtual |
|
inline |
References myFilter, myFunc, myInvertFilter, and myUsrData.
|
inline |
|
inline |
References myFilter, myFunc, myInvertFilter, and myUsrData.
|
inline |
|
inline |
|
protected |
Referenced by operator<(), and operator==().
|
protected |
Referenced by operator<(), and operator==().
|
protected |
Referenced by operator<(), and operator==().
|
protected |
Referenced by operator<(), and operator==().
|
protected |
This is shared amongst representations such that when something is deleted, all copies of this get notified.
|
protected |