LeviLamina
Loading...
Searching...
No Matches
EventCoordinatorPimpl< T0 > Class Template Reference
Inheritance diagram for EventCoordinatorPimpl< T0 >:

Public Types

using EventFuncPtr = std::function<EventResult(T0&)>

Public Member Functions

MCAPI bool registerListener (gsl::not_null< T0 * > listener)
MCAPI void processEvent (EventFuncPtr processor)
template<class T1, class T2>
MCAPI auto _processEvent (T1 *, T2 &event)

Public Attributes

std::vector< T0 * > mListeners
std::vector< EventFuncPtr > mEventsToProcess
std::vector< T0 * > mPendingRegistrations
bool mHasPendingRegistrations {}
std::thread::id mThreadId
bool mThreadIdInitialized {}
uint mThreadCheckIndex {}

The documentation for this class was generated from the following file: