Performance State Counter. More...
#include <Inventor/stats/SoPerfStateCounter.h>
Public Member Functions | |
SoPerfStateCounter (const SbString &name, const SbString &description, const SbString &module="no module", const LevelEnum level=MEDIUM, bool custom=false) | |
SoNONUNICODE | SoPerfStateCounter (const char *name, const char *description) |
virtual | ~SoPerfStateCounter () |
virtual void | reset () |
Performance State Counter.
Defines a performance counter of type state. A counter is "custom" when its values are the result of an operation between the values of other counters. Resetting this counter has no effect.
SoPerfCounter, SoPerfAccumCounter, SoPerfCounterManager
SoPerfStateCounter::SoPerfStateCounter | ( | const SbString & | name, | |
const SbString & | description, | |||
const SbString & | module = "no module" , |
|||
const LevelEnum | level = MEDIUM , |
|||
bool | custom = false | |||
) |
Constructor with SbString.
Creates a counter of type "state".
name | Name of the counter. | |
description | What the counter does. | |
module | The module in which it is relevant to use this counter. | |
level | The qualification level required to use this counter. | |
custom | TRUE if the counter results of an operation between other counters. If it is the case, you will have to set the names of the two parents and the operation with the appropriate methods. |
SoNONUNICODE SoPerfStateCounter::SoPerfStateCounter | ( | const char * | name, | |
const char * | description | |||
) |
Constructor with char*.
Creates a counter of type "state".
name | Name of the counter. | |
description | What the counter does. |
virtual SoPerfStateCounter::~SoPerfStateCounter | ( | ) | [virtual] |
Destructor.
virtual void SoPerfStateCounter::reset | ( | ) | [virtual] |