Abstract base class for Inventor sensors.
More...
#include <Inventor/sensors/SoSensor.h>
Sensors detect changes either to time or to Inventor objects in a scene graph, and call a user-defined callback function. Sensors are scheduled when the thing they are attached to changes, and sometime after they are scheduled they are triggered, calling the user's callback function.
- See Also
- SoAlarmSensor, SoDataSensor, SoFieldSensor, SoIdleSensor, SoNodeSensor, SoPathSensor, SoSensorManager
Definition at line 108 of file SoSensor.h.
◆ SoSensor() [1/2]
◆ SoSensor() [2/2]
◆ ~SoSensor()
virtual SoSensor::~SoSensor |
( |
| ) |
|
|
virtual |
◆ getData()
void* SoSensor::getData |
( |
| ) |
const |
|
inline |
◆ getFunction()
◆ getNextInQueue()
SoSensor* SoSensor::getNextInQueue |
( |
| ) |
const |
|
inline |
◆ initClass()
static void SoSensor::initClass |
( |
| ) |
|
|
static |
◆ isBefore()
virtual bool SoSensor::isBefore |
( |
const SoSensor * |
s | ) |
const |
|
pure virtual |
◆ isScheduled()
virtual bool SoSensor::isScheduled |
( |
| ) |
const |
|
pure virtual |
◆ schedule()
virtual void SoSensor::schedule |
( |
| ) |
|
|
pure virtual |
◆ setData()
void SoSensor::setData |
( |
void * |
d | ) |
|
|
inline |
◆ setFunction()
The function must take two arguments em user-supplied callback data (of type void *) and a pointer to the sensor that is triggering the function (of type SoSensor *).
Definition at line 123 of file SoSensor.h.
◆ setNextInQueue()
void SoSensor::setNextInQueue |
( |
SoSensor * |
next | ) |
|
|
inline |
◆ trigger()
virtual void SoSensor::trigger |
( |
| ) |
|
|
virtual |
◆ unschedule()
virtual void SoSensor::unschedule |
( |
| ) |
|
|
pure virtual |
◆ func
◆ funcData
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.1_0/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/sensors/SoSensor.h