Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CPerfCounter Class Reference

A performance counter definition. More...

#include <PerfData.h>

List of all members.

Public Member Functions

 CPerfCounter (CPerfObject *object, CPerfData::CounterId counterId, LPCWSTR name, LPCWSTR help, DWORD detailLevel, DWORD defaultScale, DWORD type, CPerfData::CounterId counterIdParent=0)
 Constructs a new performance counter.
void setNext (CPerfCounter *next)
 Set the next performance counter in the chain.
void setTitleInfo (DWORD counterTitleIndex, DWORD helpTitleIndex)
 Set the title indexes for the counter.
DWORD getIndex () const
 Get the index of this counter.
CPerfData::CounterId getId () const
 Get the id of this counter.
CPerfCountergetNext () const
 Get the next counter in the chain.
LPCWSTR getName () const
 Get the title of this counter.
LPCWSTR getHelp () const
 Get the help (explain) text for the counter.
DWORD getDetailLevel () const
 Get the detail level for this counter.
DWORD getDefaultScale () const
 Get the default scale for this counter.
DWORD getType () const
 Get the type of this counter.
CPerfData::CounterId getParentCounter () const
 Get the parent of this counter.
bool shared () const
 See if this counter shares data with a parent.


Detailed Description

A performance counter definition.


Constructor & Destructor Documentation

OW32::CPerfCounter::CPerfCounter CPerfObject object,
CPerfData::CounterId  counterId,
LPCWSTR  name,
LPCWSTR  help,
DWORD  detailLevel,
DWORD  defaultScale,
DWORD  type,
CPerfData::CounterId  counterIdParent = 0
 

Constructs a new performance counter.

Parameters:
object The parent object
counterId The id of this counter
name The counter's name
help The counter's help string
detailLevel The detail level to show the counter at (e.g. PERF_DETAIL_NOVICE)
defaultScale The default scale of the counter
type The type of counter (see winperf docs)
counterIdParent Optional: the parent counter if this counter shares data storage with another.


Member Function Documentation

void OW32::CPerfCounter::setNext CPerfCounter next  ) 
 

Set the next performance counter in the chain.

Parameters:
next The next counter

void OW32::CPerfCounter::setTitleInfo DWORD  counterTitleIndex,
DWORD  helpTitleIndex
 

Set the title indexes for the counter.

Parameters:
counterTitleIndex The index of the counter title
helpTitleIndex The index of the help title


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:26 2005 for OW32 by  doxygen 1.3.9.1