GM6000 Digital Heater Controller Build: 16 (Branch = develop)
SDX-1330
InOutModelPoints.h
Go to the documentation of this file.
1#ifndef Driver_DIO_Simulated_InOut_ModelPoints_h_
2#define Driver_DIO_Simulated_InOut_ModelPoints_h_
3/*-----------------------------------------------------------------------------
4* This file is part of the Colony.Apps Project. The Colony.Apps Project is an
5* open source project with a BSD type of licensing agreement. See the license
6* agreement (license.txt) in the top/ directory or on the Internet at
7* http://integerfox.com/colony.apps/license.txt
8*
9* Copyright (c) 2015-2022 John T. Taylor
10*
11* Redistributions of the source code must retain the above copyright notice.
12*----------------------------------------------------------------------------*/
13/** @file
14
15 This file defines all of the Model Points for the Simulated DIO InOut
16 driver.
17
18 All of the model points are placed into the 'mp' namespace. The model
19 point names map 1-to-1 with the instance names.
20
21 The Application/Client is RESPONSIBLE for ensuring input values are with
22 the defined range for the model point instance.
23 */
24
26#include "Cpl/Dm/Mp/Bool.h"
27
28/// Maximum number of supported inputs
29#define DRIVER_DIO_SIMULATED_INOUT_MAX_INPUTS 8
30
31/// Maximum number of supported output
32#define DRIVER_DIO_SIMULATED_INOUT_MAX_OUTPUTS 8
33
34
35/** Encapsulate all Model Points in the 'mp' namespace to prevent polluting
36 the global name space
37 */
38namespace mp {
39
40/// Simulated Input
42
43/// Simulated Input
45
46/// Simulated Input
48
49/// Simulated Input
51
52/// Simulated Input
54
55/// Simulated Input
57
58/// Simulated Input
60
61/// Simulated Input
63
64/// Array of Inputs
66
67
68/// Simulated Output
70
71/// Simulated Output
73
74/// Simulated Output
76
77/// Simulated Output
79
80/// Simulated Output
82
83/// Simulated Output
85
86/// Simulated Output
88
89/// Simulated Output
91
92/// Array of Output
94
95
96/*---------------------------------------------------------------------------*/
97/// The Application's Model Point Database
99
100
101} // end namespace
102#endif // end header latch
#define DRIVER_DIO_SIMULATED_INOUT_MAX_INPUTS
Maximum number of supported inputs.
Definition InOutModelPoints.h:29
#define DRIVER_DIO_SIMULATED_INOUT_MAX_OUTPUTS
Maximum number of supported output.
Definition InOutModelPoints.h:32
This concrete class implements a simple Model Database.
Definition ModelDatabase.h:56
This class provides a concrete implementation for a Point who's data is a bool.
Definition Bool.h:40
Encapsulate all Model Points in the 'mp' namespace to prevent polluting the global name space.
Definition ModelPoints.h:30
Cpl::Dm::Mp::Bool simDioInOut_in1
Simulated Input.
Cpl::Dm::Mp::Bool simDioInOut_in0
Simulated Input.
Cpl::Dm::Mp::Bool simDioInOut_out3
Simulated Output.
Cpl::Dm::Mp::Bool simDioInOut_out5
Simulated Output.
Cpl::Dm::Mp::Bool * simDioInOut_inputs[DRIVER_DIO_SIMULATED_INOUT_MAX_INPUTS]
Array of Inputs.
Cpl::Dm::Mp::Bool simDioInOut_in4
Simulated Input.
Cpl::Dm::Mp::Bool simDioInOut_in2
Simulated Input.
Cpl::Dm::Mp::Bool simDioInOut_out1
Simulated Output.
Cpl::Dm::Mp::Bool simDioInOut_out6
Simulated Output.
Cpl::Dm::Mp::Bool simDioInOut_out7
Simulated Output.
Cpl::Dm::Mp::Bool simDioInOut_in7
Simulated Input.
Cpl::Dm::Mp::Bool simDioInOut_in3
Simulated Input.
Cpl::Dm::Mp::Bool simDioInOut_out4
Simulated Output.
Cpl::Dm::Mp::Bool simDioInOut_in5
Simulated Input.
Cpl::Dm::Mp::Bool * simDioInOut_outputs[DRIVER_DIO_SIMULATED_INOUT_MAX_OUTPUTS]
Array of Output.
Cpl::Dm::Mp::Bool simDioInOut_out0
Simulated Output.
Cpl::Dm::Mp::Bool simDioInOut_in6
Simulated Input.
Cpl::Dm::ModelDatabase g_modelDatabase
The Application's Model Point Database.
Definition InOutModelPoints.h:98
Cpl::Dm::Mp::Bool simDioInOut_out2
Simulated Output.