ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Comparator_Equal_To.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Comparator_Equal_To.h
3 //! @author ANVILEX GmbH
4 //! @version V1.0
5 //! @date 18.02.2016
6 //! @brief Comtarator equal to class header file.
7 //! @attention
8 //!
9 //! COPYRIGHT(C) 2016 ANVILEX GmbH
10 //!
11 //! Redistribution and use in source and binary forms, with or without
12 //! modification, are permitted provided that the following conditions are met:
13 //!
14 //! 1. Redistributions of source code must retain the above copyright notice,
15 //! this list of conditions and the following disclaimer.
16 //!
17 //! 2. Redistributions in binary form must reproduce the above copyright notice,
18 //! this list of conditions and the following disclaimer in the documentation
19 //! and/or other materials provided with the distribution.
20 //!
21 //! 3. Neither the name of ANVILEX nor the names of its contributors may be
22 //! used to endorse or promote products derived from this software without
23 //! specific prior written permission.
24 //!
25 //! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 //! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 //! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 //! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
29 //! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 //! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 //! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 //! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 //! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 //! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 //! POSSIBILITY OF SUCH DAMAGE.
36 //------------------------------------------------------------------------------
37 //
38 // TFunction_Block_Comparator_Equal_To_F32
39 // TFunction_Block_Comparator_Equal_To_U16
40 // TFunction_Block_Comparator_Equal_To_U32
41 //
42 //------------------------------------------------------------------------------
43 
44 //------------------------------------------------------------------------------
45 // Protecting header files from mutual, recursive inclusion.
46 //------------------------------------------------------------------------------
47 
48 #pragma once
49 
50 //------------------------------------------------------------------------------
51 // Include standard libraries header files
52 //------------------------------------------------------------------------------
53 
54 //------------------------------------------------------------------------------
55 // Include thrid party header files
56 //------------------------------------------------------------------------------
57 
58 //------------------------------------------------------------------------------
59 // Include ConOpSys header files
60 //------------------------------------------------------------------------------
61 
62 #include "Function_Block_Base.h"
63 
64 //------------------------------------------------------------------------------
65 // Include ConOpSys application header files
66 //------------------------------------------------------------------------------
67 
68 //------------------------------------------------------------------------------
69 // Macros
70 //------------------------------------------------------------------------------
71 
72 //------------------------------------------------------------------------------
73 //! @brief Class declaration description
74 //------------------------------------------------------------------------------
75 
77 {
78 
79  //----------------------------------------------------------------------------
80 
81  public:
82 
83  //!-------------------------------------------------------------------------
84  //! @brief Class constructor method.
85  //! @note None
86  //! \par Override
87  //! Not allowed
88  //! @attention Don't call this method directly.
89  //--------------------------------------------------------------------------
90 
92 
93  //!-------------------------------------------------------------------------
94  //! @brief Class destructor method.
95  //! @note None
96  //! \par Override
97  //! Not allowed
98  //! @attention Don't call this method directly.
99  //--------------------------------------------------------------------------
100 
102 
103  //!-------------------------------------------------------------------------
104  //! @brief Function block initialisation method.
105  //! @note None
106  //! \par Override
107  //! Not allowed
108  //! @attention Don't call this method directly.
109  //--------------------------------------------------------------------------
110 
111  virtual VOID Init();
112 
113 
114  //!-------------------------------------------------------------------------
115  //! @brief Function block execution method.
116  //! @note None
117  //! \par Override
118  //! Not allowed
119  //! @attention None
120  //--------------------------------------------------------------------------
121 
122  virtual VOID Execute();
123 
124  //--------------------------------------------------------------------------
125  // Function block parameter connectors
126  //--------------------------------------------------------------------------
127 
128  //--------------------------------------------------------------------------
129  // Function block input connectors
130  //--------------------------------------------------------------------------
131 
134 
135  //--------------------------------------------------------------------------
136  // Function block output connectors
137  //--------------------------------------------------------------------------
138 
139  TBlock_Output_Connector object_bool_Output; //!< Comparator block output
140 
141  //----------------------------------------------------------------------------
142 
143  protected:
144 
145  //----------------------------------------------------------------------------
146 
147  private:
148 
149 };
150 
151 //------------------------------------------------------------------------------
152 
154 {
155 
156  //----------------------------------------------------------------------------
157 
158  public:
159 
160  //!-------------------------------------------------------------------------
161  //! @brief Class constructor method.
162  //! @note None
163  //! \par Override
164  //! Not allowed
165  //! @attention Don't call this method directly.
166  //--------------------------------------------------------------------------
167 
169 
170  //!-------------------------------------------------------------------------
171  //! @brief Class destructor method.
172  //! @note None
173  //! \par Override
174  //! Not allowed
175  //! @attention Don't call this method directly.
176  //--------------------------------------------------------------------------
177 
179 
180  //!-------------------------------------------------------------------------
181  //! @brief Function block initialisation method.
182  //! @note None
183  //! \par Override
184  //! Not allowed
185  //! @attention Don't call this method directly.
186  //--------------------------------------------------------------------------
187 
188  virtual VOID Init();
189 
190 
191  //!-------------------------------------------------------------------------
192  //! @brief Function block execution method.
193  //! @note None
194  //! \par Override
195  //! Not allowed
196  //! @attention None
197  //--------------------------------------------------------------------------
198 
199  virtual VOID Execute();
200 
201  //--------------------------------------------------------------------------
202  // Function block parameter connectors
203  //--------------------------------------------------------------------------
204 
205  //--------------------------------------------------------------------------
206  // Function block input connectors
207  //--------------------------------------------------------------------------
208 
211 
212  //--------------------------------------------------------------------------
213  // Function block output connectors
214  //--------------------------------------------------------------------------
215 
216  TBlock_Output_Connector object_bool_Output; //!< Comparator block output
217 
218  //----------------------------------------------------------------------------
219 
220  protected:
221 
222  //----------------------------------------------------------------------------
223 
224  private:
225 
226 };
227 
228 //------------------------------------------------------------------------------
229 
231 {
232 
233  //----------------------------------------------------------------------------
234 
235  public:
236 
237  //!-------------------------------------------------------------------------
238  //! @brief Class constructor method.
239  //! @note None
240  //! \par Override
241  //! Not allowed
242  //! @attention Don't call this method directly.
243  //--------------------------------------------------------------------------
244 
246 
247  //!-------------------------------------------------------------------------
248  //! @brief Class destructor method.
249  //! @note None
250  //! \par Override
251  //! Not allowed
252  //! @attention Don't call this method directly.
253  //--------------------------------------------------------------------------
254 
256 
257  //!-------------------------------------------------------------------------
258  //! @brief Function block initialisation method.
259  //! @note None
260  //! \par Override
261  //! Not allowed
262  //! @attention Don't call this method directly.
263  //--------------------------------------------------------------------------
264 
265  virtual VOID Init();
266 
267 
268  //!-------------------------------------------------------------------------
269  //! @brief Function block execution method.
270  //! @note None
271  //! \par Override
272  //! Not allowed
273  //! @attention None
274  //--------------------------------------------------------------------------
275 
276  virtual VOID Execute();
277 
278  //--------------------------------------------------------------------------
279  // Function block parameter connectors
280  //--------------------------------------------------------------------------
281 
282  //--------------------------------------------------------------------------
283  // Function block input connectors
284  //--------------------------------------------------------------------------
285 
288 
289  //--------------------------------------------------------------------------
290  // Function block output connectors
291  //--------------------------------------------------------------------------
292 
293  TBlock_Output_Connector object_bool_Output; //!< Comparator block output
294 
295  //----------------------------------------------------------------------------
296 
297  protected:
298 
299  //----------------------------------------------------------------------------
300 
301  private:
302 
303 };
304 
305 //------------------------------------------------------------------------------
306 // End Of File
307 //------------------------------------------------------------------------------
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
Function block base class header file.
Function block input connector class.
Definition: Block_Input_Connector.h:83
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
Class declaration description.
Definition: Function_Block_Comparator_Equal_To.h:77
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Comparator_Equal_To.cpp:110
virtual ~TFunction_Block_Comparator_Equal_To_F32()
Class destructor method.
Definition: Function_Block_Comparator_Equal_To.cpp:100
TBlock_Output_Connector object_bool_Output
Comparator block output.
Definition: Function_Block_Comparator_Equal_To.h:139
TBlock_Input_Connector object_f32_Input_1
Input signal 1.
Definition: Function_Block_Comparator_Equal_To.h:132
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Comparator_Equal_To.cpp:121
TFunction_Block_Comparator_Equal_To_F32()
Class constructor method.
Definition: Function_Block_Comparator_Equal_To.cpp:68
TBlock_Input_Connector object_f32_Input_2
Input signal 2.
Definition: Function_Block_Comparator_Equal_To.h:133
Definition: Function_Block_Comparator_Equal_To.h:154
TBlock_Input_Connector object_u16_Input_2
Input signal 2.
Definition: Function_Block_Comparator_Equal_To.h:210
TBlock_Output_Connector object_bool_Output
Comparator block output.
Definition: Function_Block_Comparator_Equal_To.h:216
TFunction_Block_Comparator_Equal_To_U16()
Class constructor method.
Definition: Function_Block_Comparator_Equal_To.cpp:135
virtual ~TFunction_Block_Comparator_Equal_To_U16()
Class destructor method.
Definition: Function_Block_Comparator_Equal_To.cpp:167
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Comparator_Equal_To.cpp:188
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Comparator_Equal_To.cpp:177
TBlock_Input_Connector object_u16_Input_1
Input signal 1.
Definition: Function_Block_Comparator_Equal_To.h:209
Definition: Function_Block_Comparator_Equal_To.h:231
virtual ~TFunction_Block_Comparator_Equal_To_U32()
Class destructor method.
Definition: Function_Block_Comparator_Equal_To.cpp:234
TBlock_Input_Connector object_u32_Input_2
Input signal 2.
Definition: Function_Block_Comparator_Equal_To.h:287
TFunction_Block_Comparator_Equal_To_U32()
Class constructor method.
Definition: Function_Block_Comparator_Equal_To.cpp:202
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Comparator_Equal_To.cpp:244
TBlock_Input_Connector object_u32_Input_1
Input signal 1.
Definition: Function_Block_Comparator_Equal_To.h:286
TBlock_Output_Connector object_bool_Output
Comparator block output.
Definition: Function_Block_Comparator_Equal_To.h:293
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Comparator_Equal_To.cpp:255