25#ifndef _SO_PERF_COUNTER_H_
26#define _SO_PERF_COUNTER_H_
28#include <Inventor/stats/SoSubPerfCounter.h>
29#include <Inventor/threads/SbThreadMutex.h>
203 static void initClass();
208 static void exitClass();
309 static bool m_isInitialized;
310 static SoType m_classTypeId;
Character string stored in a hash table.
const char * getString() const
Returns pointer to the character string.
Class for smart character strings.
const char * toLatin1() const
Returns the string as a Latin-1/ASCII C string.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Portable mutex c...
int lock()
Locks the current thread on this mutex.
int unlock()
Relinquishes ownership of this mutex.
Abstract base class for Performance Counter.
void setOperation(SbString operation)
Sets the operation made between the two parents.
SbString getModule() const
Returns the module of the counter.
SbName getFirstParent() const
Returns the name of the first parent.
SoNONUNICODE const char * getDescription()
Returns the description of current counter;.
static SoType getClassTypeId()
Returns the Type of current class.
virtual void increment(SoPerfCounterValue value)
Increments/Decrements counter value by 'value'.
virtual SoType getTypeId() const
Returns the type of current instance.
SbString getOperation() const
Returns the operation made between the two parents.
void setScale(SoPerfCounterValue scale)
Sets the scale factor.
LevelEnum
Various levels for a counter.
const char * getName()
Returns the name of current counter;.
SbString getType() const
Returns the type of the counter.
SoPerfCounterValue getValue()
Returns the value of the counter.
SbString getStringDescription()
Returns the description of current counter;.
SoPerfCounterValue getScale() const
Returns the scale factor.
bool isCustom() const
Returns TRUE if the counter results of an operation between other counters.
SbString getStringLevel() const
Returns the level of the counter.
void setFirstParent(SbName firstParent)
Sets the name of the first parent.
void setID(int id)
Sets/Gets counter id.
int getLevel() const
Returns the level of the counter.
virtual void reset()=0
Reset the counter.
SbName getSecondParent() const
Returns the name of the second parent.
virtual void setValue(SoPerfCounterValue value)
Set the counter value.
double SoPerfCounterValue
void setSecondParent(SbName secondParent)
Sets the name of the second parent.
virtual void decrement(SoPerfCounterValue value)
void setEnable(bool e)
Sets/Gets the use state.
Stores runtime type information.