58#ifndef _SO_CALLBACK_LIST_
59#define _SO_CALLBACK_LIST_
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
void INVENTOR_API SoCallbackListCB(void *userData, void *callbackData)
Callback functions that are registered with this class should be cast to this type.
List of generic (void *) pointers.
Manages a list of callback functions and associated data.
void addCallback(SoCallbackListCB *f, void *userData=NULL)
Managing callback functions At callback time, f will be called with userData as the first parameter,...
void clearCallbacks()
Clears all callback functions from the list.
int getNumCallbacks() const
Returns the number of callback functions in the list.
~SoCallbackList()
Constructor and destructor.
SoCallbackList()
Constructor and destructor.
void removeCallback(SoCallbackListCB *f, void *userData=NULL)
Adds a function to or removes a function from the list of callback functions.
void invokeCallbacks(void *callbackData)
Invokes each callback function in the list, passing each function the user data supplied when they we...