ModularSensors > Classes > Variable > Modem_SignalPercent
ModularSensors > Modules > Modem Variables > Modem_SignalPercent


Modem_SignalPercent class

The Variable sub-class used for the percent of maximum signal measured by a modem.

The value is in units of percent and has resolution of 1 percent.

Base classes

class Variable
The variable class for a value and related metadata.

Constructors, destructors, conversion operators

Modem_SignalPercent(loggerModem* parentModem, const char* uuid = "", const char* varCode = MODEM_PERCENT_SIGNAL_DEFAULT_CODE) explicit
Construct a new Modem_SignalPercent object.
~Modem_SignalPercent()
Destroy the Modem_SignalPercent object - no action needed.

Function documentation

Modem_SignalPercent(loggerModem* parentModem, const char* uuid = "", const char* varCode = MODEM_PERCENT_SIGNAL_DEFAULT_CODE) explicit

Construct a new Modem_SignalPercent object.

Parameters
parentModem The parent modem providing the result values.
uuid A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string.
varCode A short code to help identify the variable in files; optional with a default value of "signalPercent".