StatusReporter Class Reference

Reports various statistics to VMMON.EXE application using a shared file mapping. More...

#include <reporter.h>

Collaboration diagram for StatusReporter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

KdClientStatusGetStatusPointer ()
 Returns a pointer to the KdClientStatus structure.
 StatusReporter ()
 ~StatusReporter ()
void LogLineIfEnabled (const TCHAR *pszText)

Private Member Functions

void DoLogLine (const TCHAR *pszText)

Private Attributes

HANDLE m_hMapping
HANDLE m_hLogPipe
KdClientStatusm_pStatus
KdClientStatus m_UnusedStatus


Detailed Description

Reports various statistics to VMMON.EXE application using a shared file mapping.

Constructor & Destructor Documentation

StatusReporter::StatusReporter (  ) 

StatusReporter::~StatusReporter (  ) 


Member Function Documentation

void StatusReporter::DoLogLine ( const TCHAR *  pszText  )  [private]

KdClientStatus* StatusReporter::GetStatusPointer (  )  [inline]

Returns a pointer to the KdClientStatus structure.

Remarks:
This function never returns NULL. If the connection with VMMON.EXE was not established, the function returns a pointer to an unused structure stored inside the StatusReporter.

void StatusReporter::LogLineIfEnabled ( const TCHAR *  pszText  )  [inline]

Here is the call graph for this function:


Member Data Documentation

HANDLE StatusReporter::m_hLogPipe [private]

HANDLE StatusReporter::m_hMapping [private]


The documentation for this class was generated from the following files:
SourceForge.net Logo