The basic event type for the observer-observable pattern in MRPT.
Inherit from this class for those objects capable of being observed by a CObserver class.
void observeEnd(CObservable &obj)
Ends the subscription of this observer to the given object (note that there is no need to call this m...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void internal_on_event(const mrptEvent &e)
virtual void OnEvent(const mrptEvent &e)=0
This virtual function will be called upon receive of any event after starting listening at any CObser...
Inherit from this class to get notified about events from any CObservable object after subscribing to...
std::set< CObservable * > m_subscribed
void observeBegin(CObservable &obj)
Starts the subscription of this observer to the given object.
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |