Abstract base class for Performance Counter. More...
#include <Inventor/stats/SoPerfCounter.h>
Abstract base class for Performance Counter.
Defines the basic methods to define a performance counter.
typedef double SoPerfCounter::SoPerfCounterValue |
Various levels for a counter. Since Open Inventor 8.1
virtual void SoPerfCounter::decrement | ( | SoPerfCounterValue | value | ) | [inline, virtual] |
static SoType SoPerfCounter::getClassTypeId | ( | ) | [static] |
Returns the Type of current class.
SoNONUNICODE char* SoPerfCounter::getDescription | ( | ) | [inline] |
Returns the description of current counter;.
SbName SoPerfCounter::getFirstParent | ( | ) | const [inline] |
Returns the name of the first parent. Since Open Inventor 8.1
int SoPerfCounter::getID | ( | ) | [inline] |
int SoPerfCounter::getLevel | ( | ) | const [inline] |
Returns the level of the counter. Since Open Inventor 8.1
SbString SoPerfCounter::getModule | ( | ) | const [inline] |
Returns the module of the counter. Since Open Inventor 8.1
char* SoPerfCounter::getName | ( | ) | [inline] |
Returns the name of current counter;.
SbString SoPerfCounter::getOperation | ( | ) | const [inline] |
Returns the operation made between the two parents. Since Open Inventor 8.1
SoPerfCounterValue SoPerfCounter::getScale | ( | ) | const [inline] |
Returns the scale factor. Since Open Inventor 8.1
SbName SoPerfCounter::getSecondParent | ( | ) | const [inline] |
Returns the name of the second parent. Since Open Inventor 8.1
SbString SoPerfCounter::getStringDescription | ( | ) | [inline] |
Returns the description of current counter;.
SbString SoPerfCounter::getStringLevel | ( | ) | const |
Returns the level of the counter. Since Open Inventor 8.1
SbString SoPerfCounter::getType | ( | ) | const [inline] |
Returns the type of the counter. Since Open Inventor 8.1
virtual SoType SoPerfCounter::getTypeId | ( | ) | const [virtual] |
Returns the type of current instance.
SoPerfCounterValue SoPerfCounter::getValue | ( | ) |
Returns the value of the counter.
virtual void SoPerfCounter::increment | ( | SoPerfCounterValue | value | ) | [inline, virtual] |
Increments/Decrements counter value by 'value'.
bool SoPerfCounter::isCustom | ( | ) | const [inline] |
Returns TRUE if the counter results of an operation between other counters. Since Open Inventor 8.1
bool SoPerfCounter::isEnabled | ( | ) | [inline] |
virtual void SoPerfCounter::reset | ( | ) | [pure virtual] |
Reset the counter.
Implemented in SoPerfAccumCounter, and SoPerfStateCounter.
void SoPerfCounter::setEnable | ( | bool | e | ) | [inline] |
Sets/Gets the use state.
void SoPerfCounter::setFirstParent | ( | SbName | firstParent | ) | [inline] |
Sets the name of the first parent. Since Open Inventor 8.1
void SoPerfCounter::setID | ( | int | id | ) | [inline] |
Sets/Gets counter id.
void SoPerfCounter::setOperation | ( | SbString | operation | ) | [inline] |
Sets the operation made between the two parents. Since Open Inventor 8.1
void SoPerfCounter::setScale | ( | SoPerfCounterValue | scale | ) | [inline] |
Sets the scale factor. Since Open Inventor 8.1
void SoPerfCounter::setSecondParent | ( | SbName | secondParent | ) | [inline] |
Sets the name of the second parent. Since Open Inventor 8.1
virtual void SoPerfCounter::setValue | ( | SoPerfCounterValue | value | ) | [inline, virtual] |
Set the counter value.