Kallisto Linux API
Library for interacting with Kallisto devices
SensorEventListener Class Referenceabstract

#include <sensor_event_listener.hpp>

Public Member Functions

 SensorEventListener ()
 
virtual void onSensorChanged (Sensor &sensor, SensorEvent event)=0
 

Protected Member Functions

virtual ~SensorEventListener ()
 

Detailed Description

Callback listener interface for sensor events.

Constructor & Destructor Documentation

◆ ~SensorEventListener()

virtual ~SensorEventListener ( )
protectedvirtual

Destructor.

◆ SensorEventListener()

Constructor.

Member Function Documentation

◆ onSensorChanged()

virtual void onSensorChanged ( Sensor sensor,
SensorEvent  event 
)
pure virtual

Called when there is a new sensor event.

Parameters
sensorThe sensor that generated this event.
eventThe sensor event.

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