SoPerfStateCounter Class Reference

Performance State Counter. More...

#include <Inventor/stats/SoPerfStateCounter.h>

Inheritance diagram for SoPerfStateCounter:
SoPerfCounter

List of all members.

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 ()

Detailed Description

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.

SEE ALSO

SoPerfCounter, SoPerfAccumCounter, SoPerfCounterManager


Constructor & Destructor Documentation

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".

Parameters:
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".

Parameters:
name Name of the counter.
description What the counter does.
Non Unicode List:
This function should not be used in a Unicode application.
virtual SoPerfStateCounter::~SoPerfStateCounter (  )  [virtual]

Destructor.


Member Function Documentation

virtual void SoPerfStateCounter::reset (  )  [virtual]

Resets the counter.

Currently this method does not do anything.

Implements SoPerfCounter.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/