The C++ framework for developing highly scalable, high performance servers on Windows platforms.

ICollectPerformanceData Class Reference
[Interfaces]

Inheritance diagram for ICollectPerformanceData:

List of all members.


Detailed Description

An interface to an object that manages a set of performance counter data that can be exposed via a dll that conforms to the API required for perfmon performance extension dll data collection dlls.

Public Member Functions

virtual void Open (const wchar_t *pDevNames)=0
 Opens the data and prepares it for collection. This will be called once and before Collect() is ever called.
virtual void Close ()=0
 Closes the data and cleans up and resources. This will be called once after all calls to Collect() that will be made have been completed.
virtual bool CollectW (const wchar_t *pszValueName, BYTE **ppData, DWORD *pcbTotalBytes, DWORD *pNumObjectTypes)=0
 Collects data. See here for more details on how to interpret the parameters to this function.
virtual ~ICollectPerformanceData ()

Constructor & Destructor Documentation

virtual ~ICollectPerformanceData (  )  [virtual]


Member Function Documentation

virtual void Open ( const wchar_t *  pDevNames  )  [pure virtual]

Opens the data and prepares it for collection. This will be called once and before Collect() is ever called.

Implemented in CPerformanceDataCollector.

virtual void Close (  )  [pure virtual]

Closes the data and cleans up and resources. This will be called once after all calls to Collect() that will be made have been completed.

Implemented in CPerformanceDataCollector.

virtual bool CollectW ( const wchar_t *  pszValueName,
BYTE **  ppData,
DWORD pcbTotalBytes,
DWORD pNumObjectTypes 
) [pure virtual]

Collects data. See here for more details on how to interpret the parameters to this function.

Implemented in CPerformanceDataCollector.


Generated on Sun Sep 12 19:09:50 2021 for The Server Framework - v7.4 by doxygen 1.5.3