1#ifndef COIN_SOEVENTCALLBACK_H
2#define COIN_SOEVENTCALLBACK_H
36#include <Inventor/nodes/SoSubNode.h>
37#include <Inventor/lists/SbList.h>
41#include <Inventor/actions/SoHandleEventAction.h>
65 void * userdata = NULL);
67 void * userdata = NULL);
87 SoEventCallbackCB * func;
95 SbBool operator==(
const CallbackInfo & cbi) {
96 return this->func == cbi.func && this->eventtype == cbi.eventtype && this->userdata == cbi.userdata;
98 SbBool operator!=(
const CallbackInfo & cbi) {
99 return !(*
this == cbi);
The SbList class is a template container class for lists.
Definition SbList.h:70
The SoEventCallback class provides functionality for catching events.
Definition SoEventCallback.h:52
void removeEventCallback(SoType eventtype, SoEventCallbackCB *f, void *userdata=NULL)
Definition SoEventCallback.cpp:192
const SoPath * getPath(void)
Definition SoEventCallback.cpp:165
const SoEvent * getEvent(void) const
Definition SoEventCallback.cpp:230
SbBool isHandled(void) const
Definition SoEventCallback.cpp:282
void setHandled(void)
Definition SoEventCallback.cpp:264
void addEventCallback(SoType eventtype, SoEventCallbackCB *f, void *userdata=NULL)
Definition SoEventCallback.cpp:177
void releaseEvents(void)
Definition SoEventCallback.cpp:320
const SoPickedPoint * getPickedPoint(void) const
Definition SoEventCallback.cpp:242
void grabEvents(void)
Definition SoEventCallback.cpp:301
SoHandleEventAction * getAction(void) const
Definition SoEventCallback.cpp:216
SoEventCallback(void)
Definition SoEventCallback.cpp:106
void setPath(SoPath *path)
Definition SoEventCallback.cpp:141
The SoEvent class is the base class for all Coin events.
Definition SoEvent.h:45
The SoHandleEventAction class distributes user events to the scene.
Definition SoHandleEventAction.h:46
SoNode(void)
Definition SoNode.cpp:417
virtual void handleEvent(SoHandleEventAction *action)
Definition SoNode.cpp:1132
static void initClass(void)
Sets up initialization for data common to all instances of this class, like submitting necessary info...
Definition SoNode.cpp:573
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:52
The SoPickedPoint class is used for specifying picked points.
Definition SoPickedPoint.h:48
The SoType class is the basis for the runtime type system in Coin.
Definition SoType.h:59
#define SO_NODE_HEADER(classname)
Definition Coin_macros.dox:50