Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MyObserver Class Reference

Detailed Description

Definition at line 26 of file vision_stereo_rectify/test.cpp.

Inheritance diagram for MyObserver:
Inheritance graph

Public Member Functions

void observeBegin (CObservable &obj)
 Starts the subscription of this observer to the given object. More...
 
void observeEnd (CObservable &obj)
 Ends the subscription of this observer to the given object (note that there is no need to call this method, since the destruction of the first of observer/observed will put an end to the process. More...
 

Protected Member Functions

void OnEvent (const mrptEvent &e)
 This virtual function will be called upon receive of any event after starting listening at any CObservable object. More...
 
void OnEvent (const mrptEvent &e)
 This virtual function will be called upon receive of any event after starting listening at any CObservable object. More...
 

Private Member Functions

void internal_on_event (const mrptEvent &e)
 

Private Attributes

std::set< CObservable * > m_subscribed
 

Member Function Documentation

◆ internal_on_event()

void CObserver::internal_on_event ( const mrptEvent e)
privateinherited

Definition at line 47 of file CObserver.cpp.

◆ observeBegin()

void CObserver::observeBegin ( CObservable obj)
inherited

Starts the subscription of this observer to the given object.

See also
observeEnd

Definition at line 26 of file CObserver.cpp.

Referenced by CGraphSlamHandler< GRAPH_T >::initVisualization().

◆ observeEnd()

void CObserver::observeEnd ( CObservable obj)
inherited

Ends the subscription of this observer to the given object (note that there is no need to call this method, since the destruction of the first of observer/observed will put an end to the process.

See also
observeBegin

Definition at line 36 of file CObserver.cpp.

◆ OnEvent() [1/2]

void MyObserver::OnEvent ( const mrptEvent e)
inlineprotectedvirtual

This virtual function will be called upon receive of any event after starting listening at any CObservable object.

Implements mrpt::system::CObserver.

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ OnEvent() [2/2]

void MyObserver::OnEvent ( const mrptEvent e)
inlineprotectedvirtual

This virtual function will be called upon receive of any event after starting listening at any CObservable object.

Implements mrpt::system::CObserver.

Definition at line 101 of file vision_stereo_rectify/test.cpp.

Member Data Documentation

◆ m_subscribed

std::set<CObservable*> mrpt::system::CObserver::m_subscribed
privateinherited

Definition at line 55 of file CObserver.h.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST