![]() |
VR-Forces 5.0.2 Developer's Guide
|

Public Member Functions | |
| DtInfluenceEventDispatcher (DtSimulationServices *simServices) | |
| virtual | ~DtInfluenceEventDispatcher () |
| virtual bool | init () |
| virtual void | registerForInfluenceEvents (const DtUUID &uuid, DtInfluenceEventFunction func, void *userData) override |
| virtual void | unregisterForInfluenceEvents (const DtUUID &uuid, DtInfluenceEventFunction func, void *userData) override |
| virtual void | processInfluence (const makVrfEvents::DtEvent &m) |
Public Member Functions inherited from DtInfluenceDispatcherServiceInterface | |
| DtInfluenceDispatcherServiceInterface () | |
Protected Types | |
| typedef DtCallbackList < DtBoost::shared_ptr< const makVrfEvents::DtInfluenceEvent > > | CallbackList |
| typedef DtBoost::shared_ptr < CallbackList > | CallbackListPtr |
| typedef std::unordered_map < DtUUID, CallbackListPtr > | CallbackMap |
Protected Attributes | |
| DtSimulationServices * | mySimServices |
| boost::signals2::scoped_connection | myInfluenceEventConnection |
| CallbackMap | myRegisteredCallbacks |
| tbb::spin_mutex | myMutex |
Additional Inherited Members | |
Public Types inherited from DtInfluenceDispatcherServiceInterface | |
| typedef void(* | DtInfluenceEventFunction )(DtBoost::shared_ptr< const makVrfEvents::DtInfluenceEvent > influenceEvent, void *usr) |
|
protected |
|
protected |
|
protected |
| DtInfluenceEventDispatcher::DtInfluenceEventDispatcher | ( | DtSimulationServices * | simServices | ) |
|
virtual |
|
virtual |
|
overridevirtual |
Register to receive callbacks for influence events addressed to a specific UUID.
Implements DtInfluenceDispatcherServiceInterface.
|
overridevirtual |
Remove a callback registered with registerForInfluenceEvents()
Implements DtInfluenceDispatcherServiceInterface.
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |