RunnersRegistry.cc
Go to the documentation of this file.
void RunRegistered(const RegisteredRunner::Method &event)
Definition: RunnersRegistry.cc:64
std::set< RegisteredRunner * > Runners
a collection of unique runners, in no particular order
Definition: RunnersRegistry.cc:16
static bool RunnersGone
used to avoid re-creating deleted TheRunners after shutdown finished.
Definition: RunnersRegistry.cc:20
bool RegisterRunner(RegisteredRunner *rr)
registers a given runner with the given registry and returns true on success
Definition: RunnersRegistry.cc:49
A RegisteredRunner with lifetime determined by forces outside the Registry.
Definition: RunnersRegistry.h:107
void unregisterRunner()
unregisters self; safe to call multiple times
Definition: RunnersRegistry.cc:96
Definition: RunnersRegistry.h:38
void(RegisteredRunner::* Method)()
a pointer to one of the above notification methods
Definition: RunnersRegistry.h:94
virtual void finishShutdown()
Meant for cleanup of services needed by the already destroyed objects.
Definition: RunnersRegistry.h:91