MeVisLab Toolbox Reference
ml::WMIInterface Class Reference

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

#include <mlWMIInterface.h>

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 35 of file mlWMIInterface.h.

Member Function Documentation

◆ cleanup()

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

cleanup of the singleton

◆ init()

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

initializes the singleton

◆ queryWMIString()

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

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

◆ queryWMIuint32()

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

returns integer WMI property given the wmiClassName and wmiPropery

◆ self()

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: