64 const std::string& section)
override;
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
void getLimits(float &min, float &max)
Get alarm limits.
CRaePID()
Default constructor.
mrpt::obs::CObservationGasSensors getFullInfo()
Get full reading (see PID documentation).
A communications serial port built as an implementation of a utils::CStream.
bool errorStatus(std::string &errorString)
Get error status (true if an error was found).
std::string com_port
COM port name.
This class implements a driver for the RAE Systems gas PhotoIonization Detector (PID) (Tested on a Mi...
Contains classes for various device interfaces.
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string §ion) override
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see config::CConfigFileBase and derived classes)
std::string getSerialNumber()
Get serial number as a string.
void doProcess() override
This method will be invoked at a minimum rate of "process_rate" (Hz)
This class allows loading and storing values and vectors of different types from a configuration text...
std::string getName()
Get name string.
Declares a class derived from "CObservation" that represents a set of readings from gas sensors...
void close()
Close the port.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
mrpt::comms::CSerialPort COM
COM port.
bool tryToOpenTheCOM()
Returns true if the COM port is already open, or try to open it in other case.
bool switchPower()
Switch power on or off (returns true if turned on).
~CRaePID() override
Default destructor.
std::string getModel()
Get model string.
std::string getFirmware()
Get firmware version string.