This class implements a wireless power probe.
#include <mrpt/hwdrivers/CWirelessPower.h>

Public Member Functions | |||
| CWirelessPower () | |||
| Default constructor. | |||
| virtual | ~CWirelessPower () | ||
| void | setNet (std::string ssid_, std::string guid_) | ||
| Set the SSID and GUID of the target network. | |||
| void | doProcess () | ||
This method will be invoked at a minimum rate of "process_rate" (Hz)
| |||
| void | loadConfig_sensorSpecific (const mrpt::utils::CConfigFileBase &configSource, const std::string §ion) | ||
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see utils::CConfigFileBase and derived classes)
| |||
| std::vector< std::string > | ListInterfaces () | ||
Gets a list of the interfaces
| |||
| int | GetPower () | ||
Gets the power of a given network
| |||
| bool | getObservation (mrpt::slam::CObservationWirelessPower &outObservation) | ||
| Gets the power of a given network as a timestamped observation. | |||
| std::vector< std::string > | ListNetworks () | ||
Gets a list of the networks available for an interface
| |||
Private Attributes | |||
| std::string | ssid | ||
| SSID of the WiFi network. | |||
| std::string | guid | ||
| GUID of the WiFi interface. | |||
| void * | hClient | ||
| Handle to the WLAN server (Windows) | |||
| mrpt::hwdrivers::CWirelessPower::CWirelessPower | ( | ) |
Default constructor.
| virtual mrpt::hwdrivers::CWirelessPower::~CWirelessPower | ( | ) | [inline, virtual] |
Definition at line 64 of file CWirelessPower.h.
| void mrpt::hwdrivers::CWirelessPower::doProcess | ( | ) | [inline, virtual] |
This method will be invoked at a minimum rate of "process_rate" (Hz)
| This | method must throw an exception with a descriptive message if some critical error is found. |
Implements mrpt::hwdrivers::CGenericSensor.
Definition at line 73 of file CWirelessPower.h.
| bool mrpt::hwdrivers::CWirelessPower::getObservation | ( | mrpt::slam::CObservationWirelessPower & | outObservation | ) |
Gets the power of a given network as a timestamped observation.
| int mrpt::hwdrivers::CWirelessPower::GetPower | ( | ) |
Gets the power of a given network
| std::exception | In case there is a failure. |
| std::vector<std::string> mrpt::hwdrivers::CWirelessPower::ListInterfaces | ( | ) |
Gets a list of the interfaces
| std::exception | In case there is a failure. |
| std::vector<std::string> mrpt::hwdrivers::CWirelessPower::ListNetworks | ( | ) |
Gets a list of the networks available for an interface
| std::exception | In case there is a failure. |
| void mrpt::hwdrivers::CWirelessPower::loadConfig_sensorSpecific | ( | const mrpt::utils::CConfigFileBase & | configSource, |
| const std::string & | section | ||
| ) | [virtual] |
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see utils::CConfigFileBase and derived classes)
| This | method must throw an exception with a descriptive message if some critical parameter is missing or has an invalid value. |
Implements mrpt::hwdrivers::CGenericSensor.
| void mrpt::hwdrivers::CWirelessPower::setNet | ( | std::string | ssid_, |
| std::string | guid_ | ||
| ) |
Set the SSID and GUID of the target network.
| std::exception | In case there is a failure |
| ssid_ | SSID of the target network |
| guid_ | GUID of the network interface |
GUID of the WiFi interface.
Definition at line 54 of file CWirelessPower.h.
void* mrpt::hwdrivers::CWirelessPower::hClient [private] |
Handle to the WLAN server (Windows)
Definition at line 58 of file CWirelessPower.h.
SSID of the WiFi network.
Definition at line 50 of file CWirelessPower.h.
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Sun Oct 16 12:16:33 UTC 2011 |