SoPerfAccumCounter Class Reference

Performance Accumulation Counter. More...

#include <Inventor/stats/SoPerfAccumCounter.h>

Inheritance diagram for SoPerfAccumCounter:
SoPerfCounter

List of all members.

Public Member Functions

 SoPerfAccumCounter (const SbString &name, const SbString &description, const SbString &module="no module", const LevelEnum level=MEDIUM, bool custom=false)
SoNONUNICODE SoPerfAccumCounter (const char *name, const char *description)
virtual ~SoPerfAccumCounter ()
virtual void reset ()

Detailed Description

Performance Accumulation Counter.

Defines a performance counter of type accumulation. A counter is "custom" when its values are the result of an operation between the values of other counters. This counter is reset once a second.

SEE ALSO

SoPerfCounter, SoPerfStateCounter, SoPerfCounterManager


Constructor & Destructor Documentation

SoPerfAccumCounter::SoPerfAccumCounter ( 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 "accumulation".

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 SoPerfAccumCounter::SoPerfAccumCounter ( const char *  name,
const char *  description 
)

Constructor with char*.

Creates a counter of type "accumulation".

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 SoPerfAccumCounter::~SoPerfAccumCounter (  )  [virtual]

Destructor.


Member Function Documentation

virtual void SoPerfAccumCounter::reset (  )  [virtual]

Reset the counter.

Implements SoPerfCounter.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/