47 template<
CEntityEvent E, typename... Args> inline
void emit(
Entity entity, Args&&... args) const;
70#include "EventManager.inl"
#define CE_SCRIPT_EXPORT(...)
The CE_SCRIPT_EXPORT macro marks a class or method as exportable and available in scripting environme...
Definition Macros.hpp:247
A type-safe event dispatcher implementation for events of type E.
Definition EventDispatcher.hpp:28
Definition EventManager.hpp:24
Vector< UPtr< AbstractEntityEventDispatcher > > mEventDispatchers
Definition EventManager.hpp:26
Map< EntityIndex, Vector< UPtr< AbstractEntityEventDispatcher > > > mEntityEventDispatchers
Definition EventManager.hpp:27
The base entity class.
Definition Entity.hpp:41
Definition EntityManager.hpp:49
Connection class.
Definition Event.hpp:44
Definition Application.hpp:19
std::vector< T, ScopedAllocatorAdaptor< StdAllocator< T, RawAllocator > > > Vector
Vector is a sequence container that encapsulates dynamic size arrays.
Definition Vector.hpp:17
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
std::map< Key, T, Compare, ScopedAllocatorAdaptor< StdAllocator< Pair< const Key, T >, RawAllocator > > > Map
Map is a sorted associative container that contains key-value pairs with unique keys.
Definition Map.hpp:24
Definition EntityID.hpp:25