TcrSdk-Windows V1.0
Public Member Functions | List of all members
TcrSession::Observer Class Referenceabstract

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.
 

Detailed Description

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.

Member Function Documentation

◆ onEvent()

virtual void onEvent ( Event  event,
const char *  eventData 
)
pure virtual

This will be called when some event happened in the session.

Parameters
event
See also
Event.
Parameters
eventDataThe data relative to the event.

The documentation for this class was generated from the following file: