37 template<
typename EVENT_TYPE>
38 EVENT_TYPE createEvent();
55 template<
typename EVENT_TYPE>
61 template<
typename EVENT_TYPE>
62 bool removeEventCallback(
UInt32 handle);
66 template<
typename EVENT_TYPE>
67 const std::vector<const EVENT_TYPE> getEvents();
71 template<
typename EVENT_TYPE>
72 const std::vector<EVENT_TYPE> peekEvents();
77 virtual bool selfReflecting()
const;
78 virtual void setSelfReflecting(
bool val);
80 virtual void addInterest(
const EventId eventId);
81 virtual void removeInterest(
const EventId eventId);
std::function< void(EventHandle *events, UInt32 count)> convertAndExecute
Definition: eventManager.h:95
UInt64 EventManagerHandle
Definition: eventManager.h:27
std::atomic< int > myNextId
Definition: eventManager.h:102
Defines a template callback object to make binding member function pointers easier.
The EventManager manages the creation and distribution of simulation events such as Fire and Detonate...
Definition: eventManager.h:33
An event descriptor describes the layout of an event.
Definition: eventDescriptor.h:43
A span represents a contiguous array of objects in memory.
Definition: span.h:22
Definition: eventManager.h:92
Callback template for binding static or member functions for callback at later time The return type a...
Definition: callback.h:66
An EventInstance is a single instance of a simulation event such as Fire or Detonate.
Definition: eventInstance.h:32
unsigned int UInt32
Definition: dataTypes.h:44
The SimulationDatabase stores all data for the simulation. It also owns the event, control, and view managers.
Definition: simulationDatabase.h:42
std::vector< CallbackData * > myCallbackData
Definition: eventManager.h:99
UInt64 EventHandle
Definition: eventInstance.h:22
UInt32 handle
Definition: eventManager.h:94
unsigned long long UInt64
Definition: dataTypes.h:46
UInt32 ParameterId
Definition: controlInstance.h:23
EventManagerHandle myHandle
Definition: eventManager.h:104
UInt32 EventId
Definition: eventInstance.h:20