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);
89 virtual void addInterest(
const EventType eventTypeId);
90 virtual void removeInterest(
const EventType eventTypeId);
std::function< void(EventHandle *events, UInt32 count)> convertAndExecute
Definition: eventManager.h:97
UInt64 EventManagerHandle
Definition: eventManager.h:27
std::atomic< int > myNextId
Definition: eventManager.h:104
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:37
A span represents a contiguous array of objects in memory.
Definition: span.h:21
Definition: eventManager.h:94
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
#define LEGION_DLL
Definition: legionDataStore/export.h:24
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:39
std::vector< CallbackData * > myCallbackData
Definition: eventManager.h:101
UInt64 EventHandle
Definition: eventInstance.h:22
UInt32 handle
Definition: eventManager.h:96
unsigned long long UInt64
Definition: dataTypes.h:46
UInt32 ParameterId
Definition: controlInstance.h:23
UInt32 EventType
Definition: eventInstance.h:20
EventManagerHandle myHandle
Definition: eventManager.h:106