27#include <Inventor/SbBasic.h>
31typedef void SoSensorCB(
void * data,
SoSensor * sensor);
32typedef SoSensorCB * SoSensorCBPtr;
37 SoSensor(SoSensorCB * func,
void * data);
40 void setFunction(SoSensorCB * callbackfunction);
41 SoSensorCBPtr getFunction(
void)
const;
42 void setData(
void * callbackdata);
43 void * getData(
void)
const;
49 virtual void trigger(
void);
52 void setNextInQueue(
SoSensor * next);
53 SoSensor * getNextInQueue(
void)
const;
55 static void initClass(
void);
The SoSensor class is the abstract base class for all sensors.
Definition SoSensor.h:34
virtual void schedule(void)=0
SoSensorCB * func
Definition SoSensor.h:58
virtual void unschedule(void)=0
virtual SbBool isScheduled(void) const =0
virtual SbBool isBefore(const SoSensor *s) const =0
void * funcData
Definition SoSensor.h:59
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.