Open Inventor Reference
|
#include <Inventor/sensors/SoDataSensor.h>
Go to the source code of this file.
Classes | |
class | SoFieldSensor |
Sensor class that can be attached to Inventor fields. More... | |
class | SoFieldSensorCallback |
Base class for typed field sensor callbacks. More... | |
class | SoTypedFieldSensorCallback< Object, Method > |
Typed field sensor that called given member function on object when triggered. More... | |
Macros | |
#define | SO_NODE_ADD_FIELD_CALLBACK(field, method) this->addManagedSensor(SoCreateFieldSensor(this, &InventorThisClass::method, field)); |
Adds a SoFieldSensor to the given field and calls the member function method when the field changes/is touched. More... | |
#define | SO_NODE_ADD_FIELD_CALLBACK_WITH_PRIORITY(field, method, priority) |
Adds a SoFieldSensor to the given field and calls the member function method when the field changes/is touched. More... | |
Functions | |
template<class Object , class Method > | |
SoFieldSensor * | SoCreateFieldSensor (Object *object, Method method, SoField &field) |
Helper method to create a field sensor by type inference. More... | |
#define SO_NODE_ADD_FIELD_CALLBACK | ( | field, | |
method | |||
) | this->addManagedSensor(SoCreateFieldSensor(this, &InventorThisClass::method, field)); |
Definition at line 175 of file SoFieldSensor.h.
#define SO_NODE_ADD_FIELD_CALLBACK_WITH_PRIORITY | ( | field, | |
method, | |||
priority | |||
) |
The sensor has the given priority
.
Definition at line 180 of file SoFieldSensor.h.
|
inline |
Definition at line 166 of file SoFieldSensor.h.
References SoFieldSensor::attach().