SCENE C++ API  2.0.22
Public Member Functions | List of all members
LSSensorEvent< T > Class Template Reference

An event that is caused by a sensor and can contain extra data. More...

#include <lssensorevent.h>

+ Inheritance diagram for LSSensorEvent< T >:

Public Member Functions

T & getData ()
 Returns the data attached to the event. More...
 
- Public Member Functions inherited from LSEvent
 LSEvent ()
 Constructor. More...
 
virtual ~LSEvent ()
 Destructor. More...
 
bool isConsumed () const
 Query whether this event has been consumed. More...
 
void consume ()
 Consumes this event if the event can be consumed. More...
 

Additional Inherited Members

- Protected Member Functions inherited from LSRefType
void ref () const
 Increments the internal reference counter. More...
 
void unref () const
 Decrements the internal reference counter. More...
 

Detailed Description

template<typename T>
class SCENE_API::LSSensorEvent< T >

An event that is caused by a sensor and can contain extra data.

Version
SCENE API Version 2.0.14.

Member Function Documentation

◆ getData()

T& getData ( )

Returns the data attached to the event.

Version
SCENE API Version 2.0.14.