9 #ifndef CWirelessPower_H
10 #define CWirelessPower_H
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
This class allows loading and storing values and vectors of different types from a configuration text...
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
This class implements a wireless power probe.
CWirelessPower()
Default constructor.
void * hClient
Handle to the WLAN server (Windows)
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)
bool getObservation(mrpt::obs::CObservationWirelessPower &outObservation)
Gets the power of a given network as a timestamped observation NOTE: Deprecated, use getObservations ...
std::vector< std::string > ListInterfaces()
Gets a list of the interfaces.
void setNet(std::string ssid_, std::string guid_)
Set the SSID and GUID of the target network.
int GetPower()
Gets the power of a given network.
std::string guid
GUID of the WiFi interface.
std::string ssid
SSID of the WiFi network.
virtual ~CWirelessPower()
std::vector< std::string > ListNetworks()
Gets a list of the networks available for an interface.
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string §ion)
Loads specific configuration for the device from a given source of configuration parameters,...
This represents a measurement of the wireless strength perceived by the robot.
GLsizei const GLchar ** string
Contains classes for various device interfaces.