GM6000 Digital Heater Controller Branch: main
SDX-1330
Fsm_trace_.h
Go to the documentation of this file.
1/*-----------------------------------------------------------------------------
2* This file is part of the Colony.Core Project. The Colony.Core Project is an
3* open source project with a BSD type of licensing agreement. See the license
4* agreement (license.txt) in the top/ directory or on the Internet at
5* http://integerfox.com/colony.core/license.txt
6*
7* Copyright (c) 2014-2020 John T. Taylor
8*
9* Redistributions of the source code must retain the above copyright notice.
10*----------------------------------------------------------------------------*/
11/** @file */
12
13/* Command line options: -p CADIFRA -doxygen -o Fsm -l cppx -Trace Fsm.cdd */
14/* This file is generated from Fsm_trace - do not edit manually */
15/* Generated on: Version 6.0.2.3601 */
16
17
18#ifndef FSM_TRACE_AJAX_HEATING_SUPERVISOR_H
19#define FSM_TRACE_AJAX_HEATING_SUPERVISOR_H
20
21#include "Cpl/System/Trace.h"
22
23/// Trace Section
24#define SECT_ "Ajax::Heating::Supervisor::Fsm"
25
26
27#include <stdint.h>
28
29#ifndef DOXYGEN_WILL_SKIP_THIS
30
31namespace Ajax { namespace Heating { namespace Supervisor {
32
33
34 /*Simulation strings which can be sent to the state-machine statediagram.simulator via UDP */
35 /*or to print which event triggered a state change in trace code. */
36 #define FSM_TRACE_EVENT_LEN (7U)
37
38#define FsmTraceEvent(a) CPL_SYSTEM_TRACE_MSG( SECT_, ( " Old State=%s, Event=%s", getNameByState(getInnermostActiveState()), FsmTraceEvents[a] ));
39
40 const char* FsmTraceEvents[] = {
41 "evHiTemp",
42 "evSafeTemp",
43 "evEnabled",
44 "evDisabled",
45 "evNoTempSensor",
46 "evSensorAvailable",
47 "__INIT__"
48 };
49
50
51}}} //namespace Ajax { namespace Heating { namespace Supervisor
52
53
54#endif // !DOXYGEN_WILL_SKIP_THIS
55
56#endif
The 'Ajax' namespace is the root name space all GM6000 application specific source code.