47#define OIV_HAS_PROFILING
60 typedef void EnterScopeApplyActionCB(
SoAction* action);
61 typedef void EnterScopeFieldNotifyCB(
SoField* action);
63 typedef void EnterScopeProcessDelayQueueCB();
64 typedef void EnterScopeProcessTimerQueueCB();
69 typedef void LeaveScopeCB();
101 static bool _enabled;
103 static EnterScopeApplyActionCB* _enterScopeApplyActionCB;
104 static EnterScopeFieldNotifyCB* _enterScopeFieldNotifyCB;
105 static EnterScopeFieldContainerNotifyCB* _enterScopeFieldContainerNotifyCB;
106 static EnterScopeProcessDelayQueueCB* _enterScopeProcessDelayQueueCB;
107 static EnterScopeProcessTimerQueueCB* _enterScopeProcessTimerQueueCB;
108 static LeaveScopeCB* _leaveScopeCB;
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
Abstract base class for all actions.
Abstract base class for objects that contain fields.
Base class for all fields.
Static class that offers profiling callbacks for a number of selected Open Inventor features,...
static EnterScopeApplyActionCB * getEnterScopeApplyActionCB()
static void setEnterScopeApplyActionCB(EnterScopeApplyActionCB *cb)
static void setEnterScopeProcessTimerQueueCB(EnterScopeProcessTimerQueueCB *cb)
static void setEnterScopeProcessDelayQueueCB(EnterScopeProcessDelayQueueCB *cb)
static LeaveScopeCB * getLeaveScopeCB()
static bool isEnabled()
returns if profiling is enabled (callbacks are only called if profiling is enabled)
static void setEnterScopeFieldNotifyCB(EnterScopeFieldNotifyCB *cb)
static EnterScopeFieldNotifyCB * getEnterScopeFieldNotifyCB()
static void setEnabled(bool flag)
enables/disabled the profiling (default is false)
static void setLeaveScopeCB(LeaveScopeCB *cb)
static EnterScopeProcessTimerQueueCB * getEnterScopeProcessTimerQueueCB()
static EnterScopeFieldContainerNotifyCB * getEnterScopeFieldContainerNotifyCB()
static void setEnterScopeFieldContainerNotifyCB(EnterScopeFieldContainerNotifyCB *cb)
static EnterScopeProcessDelayQueueCB * getEnterScopeProcessDelayQueueCB()