ModularSensors > Classes > Variable > MPL115A2_Pressure
ModularSensors > Modules > Freescale Semiconductor MPL115A2 > MPL115A2_Pressure


MPL115A2_Pressure class

The Variable sub-class used for the pressure output from a Freescale Semiconductor MPL115A2.

Base classes

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

Constructors, destructors, conversion operators

MPL115A2_Pressure(MPL115A2* parentSense, const char* uuid = "", const char* varCode = MPL115A2_PRESSURE_DEFAULT_CODE) explicit
Construct a new MPL115A2_Pressure object.
MPL115A2_Pressure()
Construct a new MPL115A2_Pressure object.
~MPL115A2_Pressure()
Destroy the MPL115A2_Pressure object - no action needed.

Function documentation

MPL115A2_Pressure(MPL115A2* parentSense, const char* uuid = "", const char* varCode = MPL115A2_PRESSURE_DEFAULT_CODE) explicit

Construct a new MPL115A2_Pressure object.

Parameters
parentSense The parent MPL115A2 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 "MPL115A2_Pressure".

MPL115A2_Pressure()

Construct a new MPL115A2_Pressure object.