56#ifndef _SO_AUDITOR_LIST_
57#define _SO_AUDITOR_LIST_
123 void notify1(
SoNotList *list,
int index);
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
List of generic (void *) pointers.
void remove(int which)
Removes pointer with given index.
int find(const void *ptr) const
Returns index of given pointer in list, or -1 if not found.
int getLength() const
Returns number of auditors in list.
void append(void *auditor, SoNotRec::Type type)
Adds an auditor of the given type to the list.
void remove(int index)
Removes an auditor from the list.
SoNotRec::Type getType(int index) const
void * getObject(int index) const
Returns object or type for given index.
void set(int index, void *auditor, SoNotRec::Type type)
Sets auditor and type for given index.
SoAuditorList()
Constructor and destructor.
int find(void *auditor, SoNotRec::Type type) const
Finds an auditor in the list, returning the index or -1 if not found.
int findLast(void *auditor, SoNotRec::Type type) const
Finds an auditor in the list, starting from the end, returning the index or -1 if not found.
void remove(void *auditor, SoNotRec::Type type)
void notify(SoNotList *list)
Propagates notification to all auditors in list.
Holds a list of SoNotRec notification records.
Type
Notification types (what receives notification).