MRPT
1.9.9
|
#include "hwdrivers-precomp.h"
#include <mrpt/hwdrivers/CWirelessPower.h>
#include <iostream>
#include <windows.h>
#include <objbase.h>
#include <wlanapi.h>
#include <wtypes.h>
Go to the source code of this file.
Functions | |
void * | ConnectWlanServerW () |
Gets a connection to the server. More... | |
std::vector< PWLAN_INTERFACE_INFO > | ListInterfacesW (HANDLE hClient) |
Gets a list of the interfaces available in the system (in Windows format) More... | |
std::string | GUID2Str (const GUID &ifaceGuid) |
Transforms a GUID structure (in Windows format) to a string. More... | |
PWLAN_INTERFACE_INFO | GetInterfaceW (std::string guid, HANDLE hClient) |
Gets a handle to the interface that has been set by setNet() (in Windows format) More... | |
std::vector< PWLAN_AVAILABLE_NETWORK > | ListNetworksW (PWLAN_INTERFACE_INFO iface, HANDLE hClient) |
Gets a list of the networks available for an interface (in Windows format) More... | |
PWLAN_AVAILABLE_NETWORK | GetNetworkW (HANDLE hClient, const std::string &ssid, const std::string &guid) |
Gets a handle to the network that has been set by setNet() (in Windows format) More... | |
void* ConnectWlanServerW | ( | ) |
Gets a connection to the server.
std::exception | In case there is a failure (happens when WiFi is not started) |
Definition at line 56 of file CWirelessPower.cpp.
References THROW_EXCEPTION.
Referenced by mrpt::hwdrivers::CWirelessPower::loadConfig_sensorSpecific().
PWLAN_INTERFACE_INFO GetInterfaceW | ( | std::string | guid, |
HANDLE | hClient | ||
) |
Gets a handle to the interface that has been set by setNet() (in Windows format)
std::exception | In case there is a failure |
Definition at line 185 of file CWirelessPower.cpp.
References GUID2Str(), and ListInterfacesW().
Referenced by GetNetworkW(), and mrpt::hwdrivers::CWirelessPower::ListNetworks().
PWLAN_AVAILABLE_NETWORK GetNetworkW | ( | HANDLE | hClient, |
const std::string & | ssid, | ||
const std::string & | guid | ||
) |
Gets a handle to the network that has been set by setNet() (in Windows format)
std::exception | In case there is a failure |
Definition at line 280 of file CWirelessPower.cpp.
References GetInterfaceW(), and ListNetworksW().
Referenced by mrpt::hwdrivers::CWirelessPower::GetPower().
std::string GUID2Str | ( | const GUID & | ifaceGuid | ) |
Transforms a GUID structure (in Windows format) to a string.
std::exception | In case there is a failure |
Definition at line 133 of file CWirelessPower.cpp.
References THROW_EXCEPTION.
Referenced by GetInterfaceW(), and mrpt::hwdrivers::CWirelessPower::ListInterfaces().
std::vector<PWLAN_INTERFACE_INFO> ListInterfacesW | ( | HANDLE | hClient | ) |
Gets a list of the interfaces available in the system (in Windows format)
std::exception | In case there is a failure |
Definition at line 86 of file CWirelessPower.cpp.
References THROW_EXCEPTION.
Referenced by GetInterfaceW(), and mrpt::hwdrivers::CWirelessPower::ListInterfaces().
std::vector<PWLAN_AVAILABLE_NETWORK> ListNetworksW | ( | PWLAN_INTERFACE_INFO | iface, |
HANDLE | hClient | ||
) |
Gets a list of the networks available for an interface (in Windows format)
std::exception | In case there is a failure |
iface | handle to the WiFi interface |
Definition at line 222 of file CWirelessPower.cpp.
Referenced by GetNetworkW(), and mrpt::hwdrivers::CWirelessPower::ListNetworks().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |