12 #include <mrpt/config.h>
48 void publishEvent(
const mrptEvent &e)
const;
Inherit from this class for those objects capable of being observed by a CObserver class.
bool hasSubscribers() const
Can be called by a derived class before preparing an event for publishing with publishEvent to determ...
std::set< CObserver * > m_subscribers
Inherit from this class to get notified about events from any CObservable object after subscribing to...
The basic event type for the observer-observable pattern in MRPT.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.