1 #ifndef COIN_SOSENSOR_H 2 #define COIN_SOSENSOR_H 36 #include <Inventor/SbBasic.h> 49 void setFunction(
SoSensorCB * callbackfunction);
50 SoSensorCBPtr getFunction(
void)
const;
51 void setData(
void * callbackdata);
52 void * getData(
void)
const;
54 virtual void schedule(
void) = 0;
55 virtual void unschedule(
void) = 0;
56 virtual SbBool isScheduled(
void)
const = 0;
58 virtual void trigger(
void);
60 virtual SbBool isBefore(
const SoSensor * s)
const = 0;
61 void setNextInQueue(
SoSensor * next);
62 SoSensor * getNextInQueue(
void)
const;
64 static void initClass(
void);
71 #endif // !COIN_SOSENSOR_H void SoSensorCB(void *data, SoSensor *sensor)
Definition: SoSensor.h:40
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:43
SoSensorCB * func
Definition: SoSensor.h:67
void * funcData
Definition: SoSensor.h:68