TcrSdk-Windows V1.0
|
The Observer class is used to receive events from TcrSession. More...
#include <tcr_session.h>
Public Member Functions | |
virtual void | onEvent (Event event, const char *eventData)=0 |
This will be called when some event happened in the session. | |
The Observer class is used to receive events from TcrSession.
To receive events from a session, you need to implement this interface and register an instance of your implementation when creating the session. When an event happens in the session, the onEvent() method of your implementation will be called.
|
pure virtual |
This will be called when some event happened in the session.
event |
eventData | The data relative to the event. |