GM6000 Digital Heater Controller Branch: main
SDX-1330
Classes | Namespaces | Macros
Api.h File Reference
#include "colony_config.h"
#include "Cpl/MApp/MApp_.h"
#include "Cpl/Dm/Mp/Float.h"
#include "Cpl/Dm/MailboxServer.h"
#include "Cpl/System/Timer.h"
Include dependency graph for Api.h:

Go to the source code of this file.

Classes

class  Cpl::MApp::Temperature::Api
 This concrete class implements MApp the polls a model point for a temperature value and periodically writes the value to the trace output. More...
 

Namespaces

namespace  Cpl
 The 'Cpl' namespace is the root name space for the Colony.
 
namespace  Cpl::MApp
 The 'MApp' namespace is provides a 'micro application' framework for asynchronously running micro applications.
 
namespace  Cpl::MApp::Temperature
 The 'Temperature' namespace implements a simple/example MApp that samples and displays temperature.
 

Macros

#define OPTION_CPL_MAPP_TEMPEARTURE_SAMPLE_INTERVAL_MS   100
 Default interval time (in milliseconds) for sampling temperature.
 
#define OPTION_CPL_MAPP_TEMPEARTURE_DISPLAY_INTERVAL_MS   (5*1000)
 Default interval time (in milliseconds) for displaying temperature.
 
#define OPTION_CPL_MAPP_TEMPEARTURE_FAHRENHEIT   true
 Default temperature Units (false:=Celsius, true:=Fahrenheit)
 

Macro Definition Documentation

◆ OPTION_CPL_MAPP_TEMPEARTURE_DISPLAY_INTERVAL_MS

#define OPTION_CPL_MAPP_TEMPEARTURE_DISPLAY_INTERVAL_MS   (5*1000)

Default interval time (in milliseconds) for displaying temperature.

◆ OPTION_CPL_MAPP_TEMPEARTURE_FAHRENHEIT

#define OPTION_CPL_MAPP_TEMPEARTURE_FAHRENHEIT   true

Default temperature Units (false:=Celsius, true:=Fahrenheit)

◆ OPTION_CPL_MAPP_TEMPEARTURE_SAMPLE_INTERVAL_MS

#define OPTION_CPL_MAPP_TEMPEARTURE_SAMPLE_INTERVAL_MS   100

Default interval time (in milliseconds) for sampling temperature.