Temperature Class

class TemperatureClass : public EntityClass

TemperatureClass. This entitiy is only available on certain modules, and provides a temperature reading in microcelsius.

Public Functions

TemperatureClass()

Constructors.

~TemperatureClass()

Destructor.

!TemperatureClass ()

Finalizer.

void init (BrainStem2CLI::ModuleClass^ module, const unsigned char index)

Initializes the class. Should only be called when manually creating classes.

Parameters:
  • pModule – The module.

  • index – The cmdTEMPERATURE index to be addressed.

aErr getValue(int %microcelsius)

Get the temperature.

Parameters:

microcelsius – The temperature in micro-Celsius (1 == 1e-6C).

Returns:

Returns common entity return values

aErr getValueMin(int %minTemperature)

Get the module’s minimum temperature in micro-C

Parameters:

minTemperature – The module’s minimum system temperature in micro-C

Returns:

Returns common entity return values

aErr getValueMax(int %maxTemperature)

Get the module’s maximum temperature in micro-C

Parameters:

maxTemperature – The module’s maximum system temperature in micro-C

Returns:

Returns common entity return values