ML Reference
ml::WMIInterface Class Reference

Interface to the Windows Management Instrumentation http://msdn.microsoft.com/en-us/library/aa394582.aspx. More...

#include <mlWMIInterface.h>

List of all members.

Public Member Functions

std::string queryWMIString (const char *wmiClassName, const char *wmiProperty)
 returns UTF-8 encoded WMI property given the wmiClassName and wmiPropery
MLuint32 queryWMIuint32 (const char *wmiClassName, const char *wmiProperty)
 returns integer WMI property given the wmiClassName and wmiPropery

Static Public Member Functions

static WMIInterfaceself ()
 get singleton (creates singleton if init() was not yet called)
static void init ()
 initializes the singleton
static void cleanup ()
 cleanup of the singleton

Detailed Description

Interface to the Windows Management Instrumentation http://msdn.microsoft.com/en-us/library/aa394582.aspx.

Definition at line 30 of file mlWMIInterface.h.


Member Function Documentation

static void ml::WMIInterface::cleanup ( ) [static]

cleanup of the singleton

static void ml::WMIInterface::init ( ) [static]

initializes the singleton

std::string ml::WMIInterface::queryWMIString ( const char *  wmiClassName,
const char *  wmiProperty 
)

returns UTF-8 encoded WMI property given the wmiClassName and wmiPropery

MLuint32 ml::WMIInterface::queryWMIuint32 ( const char *  wmiClassName,
const char *  wmiProperty 
)

returns integer WMI property given the wmiClassName and wmiPropery

static WMIInterface* ml::WMIInterface::self ( ) [static]

get singleton (creates singleton if init() was not yet called)


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