ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Comparator_Greater_Than.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Comparator_Greater_Than.h
3 //! @brief Comparator greater than class header file.
4 //! @copyright ANVILEX GmbH
5 //! @attention No special attention requered.
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Blocks/Function_Block_Comparator_Greater_Than.h $
7 //! $Revision: 2904 $
8 //! $Date: 2021-12-02 02:39:23 +0500 (Do, 02 Dez 2021) $
9 //! $Author: minch $
10 //
11 //! COPYRIGHT(C) 2018-2019 ANVILEX GmbH
12 //!
13 //! Redistribution and use in source and binary forms, with or without
14 //! modification, are permitted provided that the following conditions are met:
15 //!
16 //! 1. Redistributions of source code must retain the above copyright notice,
17 //! this list of conditions and the following disclaimer.
18 //!
19 //! 2. Redistributions in binary form must reproduce the above copyright notice,
20 //! this list of conditions and the following disclaimer in the documentation
21 //! and/or other materials provided with the distribution.
22 //!
23 //! 3. Neither the name of ANVILEX nor the names of its contributors may be
24 //! used to endorse or promote products derived from this software without
25 //! specific prior written permission.
26 //!
27 //! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28 //! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 //! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 //! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
31 //! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 //! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 //! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 //! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 //! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 //! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 //! POSSIBILITY OF SUCH DAMAGE.
38 //------------------------------------------------------------------------------
39 //
40 // TFunction_Block_Comparator_Greater_Than_F32_1C (TFunction_Block_Comparator_Greater_Than_F32)
41 // TFunction_Block_Comparator_Greater_Than_F32_12C
42 //
43 //------------------------------------------------------------------------------
44 
45 //------------------------------------------------------------------------------
46 // Protecting header files from mutual, recursive inclusion.
47 //------------------------------------------------------------------------------
48 
49 #pragma once
50 
51 //------------------------------------------------------------------------------
52 // Include standard libraries header files
53 //------------------------------------------------------------------------------
54 
55 //------------------------------------------------------------------------------
56 // Include thrid party header files
57 //------------------------------------------------------------------------------
58 
59 //------------------------------------------------------------------------------
60 // Include ConOpSys header files
61 //------------------------------------------------------------------------------
62 
63 #include "Function_Block_Base.h"
64 
65 //------------------------------------------------------------------------------
66 // Include ConOpSys application header files
67 //------------------------------------------------------------------------------
68 
69 //------------------------------------------------------------------------------
70 // Macros
71 //------------------------------------------------------------------------------
72 
73 //------------------------------------------------------------------------------
74 //! @brief 1 channel greater than comparator class
75 //------------------------------------------------------------------------------
76 
78 {
79 
80  //----------------------------------------------------------------------------
81  // Public defines, methods and variables
82  //----------------------------------------------------------------------------
83 
84  public:
85 
86  //!-------------------------------------------------------------------------
87  //! @brief Class constructor method
88  //! @note None
89  //! \par Override
90  //! Not allowed
91  //! @attention Don't call this method directly.
92  //--------------------------------------------------------------------------
93 
95 
96  //!-------------------------------------------------------------------------
97  //! @brief Class destructor method
98  //! @note None
99  //! \par Override
100  //! Not allowed
101  //! @attention Don't call this method directly.
102  //--------------------------------------------------------------------------
103 
105 
106  //!-------------------------------------------------------------------------
107  //! @brief Function block initialisation method
108  //! @note None
109  //! @return None
110  //! \par Override
111  //! Not allowed
112  //! @attention None
113  //--------------------------------------------------------------------------
114 
115  virtual VOID Init();
116 
117  //!-------------------------------------------------------------------------
118  //! @brief Function block execution method
119  //! @note None
120  //! @return None
121  //! \par Override
122  //! Not allowed
123  //! @attention None
124  //--------------------------------------------------------------------------
125 
126  virtual VOID Execute();
127 
128  //--------------------------------------------------------------------------
129  // Function block parameter connectors
130  //--------------------------------------------------------------------------
131 
132  //--------------------------------------------------------------------------
133  // Function block inputs
134  //--------------------------------------------------------------------------
135 
136  //!< Left side input signal
138 
139  //!< Right side input signal
141 
142  //--------------------------------------------------------------------------
143  // Function block outputs
144  //--------------------------------------------------------------------------
145 
146  //!< Comparator Function block output
148 
149  //----------------------------------------------------------------------------
150  // Protected defines, methods and variables
151  //----------------------------------------------------------------------------
152 
153  protected:
154 
155  //----------------------------------------------------------------------------
156  // Private defines, methods and variables
157  //----------------------------------------------------------------------------
158 
159  private:
160 
161 };
162 
163 //------------------------------------------------------------------------------
164 //! @brief 12 channel greater than comparator class
165 //------------------------------------------------------------------------------
166 
168 {
169 
170  //----------------------------------------------------------------------------
171  // Public defines, methods and variables
172  //----------------------------------------------------------------------------
173 
174  public:
175 
176  //!-------------------------------------------------------------------------
177  //! @brief Class constructor method
178  //! @note None
179  //! \par Override
180  //! Not allowed
181  //! @attention Don't call this method directly.
182  //--------------------------------------------------------------------------
183 
185 
186  //!-------------------------------------------------------------------------
187  //! @brief Class destructor method
188  //! @note None
189  //! \par Override
190  //! Not allowed
191  //! @attention Don't call this method directly.
192  //--------------------------------------------------------------------------
193 
195 
196  //!-------------------------------------------------------------------------
197  //! @brief Function block initialisation method
198  //! @note None
199  //! @return None
200  //! \par Override
201  //! Not allowed
202  //! @attention None
203  //--------------------------------------------------------------------------
204 
205  virtual VOID Init();
206 
207  //!-------------------------------------------------------------------------
208  //! @brief Function block execution method
209  //! @note None
210  //! @return None
211  //! \par Override
212  //! Not allowed
213  //! @attention None
214  //--------------------------------------------------------------------------
215 
216  virtual VOID Execute();
217 
218  //--------------------------------------------------------------------------
219  // Function block parameter connectors
220  //--------------------------------------------------------------------------
221 
222  //--------------------------------------------------------------------------
223  // Function block inputs
224  //--------------------------------------------------------------------------
225 
226  //!< Left side input signal 1
228 
229  //!< Left side input signal 2
231 
232  //!< Left side input signal 3
234 
235  //!< Left side input signal 4
237 
238  //!< Left side input signal 5
240 
241  //!< Left side input signal 6
243 
244  //!< Left side input signal 7
246 
247  //!< Left side input signal 8
249 
250  //!< Left side input signal 9
252 
253  //!< Left side input signal 10
255 
256  //!< Left side input signal 11
258 
259  //!< Left side input signal 12
261 
262  //!< Right side input signal
264 
265  //--------------------------------------------------------------------------
266  // Function block outputs
267  //--------------------------------------------------------------------------
268 
269  //!< Comparator Function block output 1
271 
272  //!< Comparator Function block output 2
274 
275  //!< Comparator Function block output 3
277 
278  //!< Comparator Function block output 4
280 
281  //!< Comparator Function block output 5
283 
284  //!< Comparator Function block output 6
286 
287  //!< Comparator Function block output 7
289 
290  //!< Comparator Function block output 8
292 
293  //!< Comparator Function block output 9
295 
296  //!< Comparator Function block output 10
298 
299  //!< Comparator Function block output 11
301 
302  //!< Comparator Function block output 12
304 
305  //----------------------------------------------------------------------------
306  // Protected defines, methods and variables
307  //----------------------------------------------------------------------------
308 
309  protected:
310 
311  //----------------------------------------------------------------------------
312  // Private defines, methods and variables
313  //----------------------------------------------------------------------------
314 
315  private:
316 
317 };
318 
319 //------------------------------------------------------------------------------
320 // End of file
321 //------------------------------------------------------------------------------
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
12 channel greater than comparator class
Definition: Function_Block_Comparator_Greater_Than.h:168
TBlock_Output_Connector object_bool_Output_12
Definition: Function_Block_Comparator_Greater_Than.h:303
TFunction_Block_Comparator_Greater_Than_F32_12C()
Class constructor method.
Definition: Function_Block_Comparator_Greater_Than.cpp:146
TBlock_Output_Connector object_bool_Output_3
Comparator Function block output 4.
Definition: Function_Block_Comparator_Greater_Than.h:276
TBlock_Output_Connector object_bool_Output_9
Comparator Function block output 10.
Definition: Function_Block_Comparator_Greater_Than.h:294
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Comparator_Greater_Than.cpp:202
TBlock_Output_Connector object_bool_Output_11
Comparator Function block output 12.
Definition: Function_Block_Comparator_Greater_Than.h:300
TBlock_Input_Connector object_f32_Left_Input_4
Left side input signal 5.
Definition: Function_Block_Comparator_Greater_Than.h:236
TBlock_Output_Connector object_bool_Output_8
Comparator Function block output 9.
Definition: Function_Block_Comparator_Greater_Than.h:291
TBlock_Output_Connector object_bool_Output_1
< Comparator Function block output 1
Definition: Function_Block_Comparator_Greater_Than.h:270
TBlock_Output_Connector object_bool_Output_2
Comparator Function block output 3.
Definition: Function_Block_Comparator_Greater_Than.h:273
virtual ~TFunction_Block_Comparator_Greater_Than_F32_12C()
Class destructor method.
Definition: Function_Block_Comparator_Greater_Than.cpp:194
TBlock_Input_Connector object_f32_Left_Input_11
Left side input signal 12.
Definition: Function_Block_Comparator_Greater_Than.h:257
TBlock_Input_Connector object_f32_Left_Input_7
Left side input signal 8.
Definition: Function_Block_Comparator_Greater_Than.h:245
TBlock_Output_Connector object_bool_Output_10
Comparator Function block output 11.
Definition: Function_Block_Comparator_Greater_Than.h:297
TBlock_Input_Connector object_f32_Left_Input_2
Left side input signal 3.
Definition: Function_Block_Comparator_Greater_Than.h:230
TBlock_Input_Connector object_f32_Left_Input_1
< Left side input signal 1
Definition: Function_Block_Comparator_Greater_Than.h:227
TBlock_Output_Connector object_bool_Output_7
Comparator Function block output 8.
Definition: Function_Block_Comparator_Greater_Than.h:288
TBlock_Input_Connector object_f32_Left_Input_9
Left side input signal 10.
Definition: Function_Block_Comparator_Greater_Than.h:251
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Comparator_Greater_Than.cpp:238
TBlock_Input_Connector object_f32_Left_Input_12
Right side input signal.
Definition: Function_Block_Comparator_Greater_Than.h:260
TBlock_Output_Connector object_bool_Output_4
Comparator Function block output 5.
Definition: Function_Block_Comparator_Greater_Than.h:279
TBlock_Input_Connector object_f32_Left_Input_3
Left side input signal 4.
Definition: Function_Block_Comparator_Greater_Than.h:233
TBlock_Input_Connector object_f32_Left_Input_8
Left side input signal 9.
Definition: Function_Block_Comparator_Greater_Than.h:248
TBlock_Input_Connector object_f32_Left_Input_5
Left side input signal 6.
Definition: Function_Block_Comparator_Greater_Than.h:239
TBlock_Output_Connector object_bool_Output_5
Comparator Function block output 6.
Definition: Function_Block_Comparator_Greater_Than.h:282
TBlock_Input_Connector object_f32_Left_Input_6
Left side input signal 7.
Definition: Function_Block_Comparator_Greater_Than.h:242
TBlock_Input_Connector object_f32_Left_Input_10
Left side input signal 11.
Definition: Function_Block_Comparator_Greater_Than.h:254
TBlock_Input_Connector object_f32_Right_Input
Definition: Function_Block_Comparator_Greater_Than.h:263
TBlock_Output_Connector object_bool_Output_6
Comparator Function block output 7.
Definition: Function_Block_Comparator_Greater_Than.h:285
1 channel greater than comparator class
Definition: Function_Block_Comparator_Greater_Than.h:78
TFunction_Block_Comparator_Greater_Than_F32_1C()
Class constructor method.
Definition: Function_Block_Comparator_Greater_Than.cpp:75
TBlock_Output_Connector object_bool_Output
< Comparator Function block output
Definition: Function_Block_Comparator_Greater_Than.h:147
virtual ~TFunction_Block_Comparator_Greater_Than_F32_1C()
Class destructor method.
Definition: Function_Block_Comparator_Greater_Than.cpp:101
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Comparator_Greater_Than.cpp:134
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Comparator_Greater_Than.cpp:109
TBlock_Input_Connector object_f32_Input_2
Definition: Function_Block_Comparator_Greater_Than.h:140
TBlock_Input_Connector object_f32_Input_1
< Left side input signal
Definition: Function_Block_Comparator_Greater_Than.h:137