ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Instantaneous_Power.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Instantaneous_Power.h
3 //! @author ANVILEX GmbH
4 //! @version V1.0
5 //! @date 04.05.2015
6 //! @brief Instantaneous power class header file.
7 //! @attention
8 //!
9 //! COPYRIGHT(C) 2015-2017 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_Instantaneous_Power_ABC_PQ ==> ANVILEX: Rename to T1
39 // TFunction_Block_Instantaneous_Power_ab_PQ ==> ANVILEX: Rename to T2
40 // TFunction_Block_Instantaneous_Power_ab0_PQ ==> ANVILEX: Rename to T3
41 // TFunction_Block_Instantaneous_Power_DQ_PQ ==> ANVILEX: Rename to T4
42 // TFunction_Block_Instantaneous_Power_DQ0_PQ ==> ANVILEX: Rename to T5
43 //
44 //------------------------------------------------------------------------------
45 
46 //------------------------------------------------------------------------------
47 // Protecting header files from mutual, recursive inclusion.
48 //------------------------------------------------------------------------------
49 
50 #pragma once
51 
52 //------------------------------------------------------------------------------
53 // Include standard libraries header files
54 //------------------------------------------------------------------------------
55 
56 //------------------------------------------------------------------------------
57 // Include thrid party header files
58 //------------------------------------------------------------------------------
59 
60 //------------------------------------------------------------------------------
61 // Include ConOpSys header files
62 //------------------------------------------------------------------------------
63 
64 #include "Function_Block_Base.h"
65 
66 //------------------------------------------------------------------------------
67 // Include ConOpSys application header files
68 //------------------------------------------------------------------------------
69 
70 //------------------------------------------------------------------------------
71 //! @brief Class declaration description
72 //------------------------------------------------------------------------------
73 
74 // ANVILEX: Rename in TFunction_Block_Instantaneous_Power_T1
76 {
77 
78  //----------------------------------------------------------------------------
79  // Public defines, methods and variables
80  //----------------------------------------------------------------------------
81 
82  public:
83 
84  //!-------------------------------------------------------------------------
85  //! @brief Class constructor method.
86  //! @note None
87  //! \par Override
88  //! Not allowed
89  //! @attention Don't call this method directly.
90  //--------------------------------------------------------------------------
91 
93 
94  //!-------------------------------------------------------------------------
95  //! @brief Class destructor method.
96  //! @note None
97  //! \par Override
98  //! Not allowed
99  //! @attention Don't call this method directly.
100  //--------------------------------------------------------------------------
101 
103 
104  //!-------------------------------------------------------------------------
105  //! @brief Function block initialisation method.
106  //! @note None
107  //! \par Override
108  //! Not allowed
109  //! @attention Don't call this method directly.
110  //--------------------------------------------------------------------------
111 
112  virtual VOID Init();
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 input connectors
126  //----------------------------------------------------------------------------
127 
134 
135  //----------------------------------------------------------------------------
136  // Function block output connectors
137  //----------------------------------------------------------------------------
138 
141 
142  //----------------------------------------------------------------------------
143  // Protected methods and variables
144  //----------------------------------------------------------------------------
145 
146  protected:
147 
148  //----------------------------------------------------------------------------
149  // Private methods and variables
150  //----------------------------------------------------------------------------
151 
152  private:
153 
154 };
155 
156 //------------------------------------------------------------------------------
157 //! @brief Class declaration description
158 //------------------------------------------------------------------------------
159 
161 {
162 
163  //----------------------------------------------------------------------------
164  // Public defines, methods and variables
165  //----------------------------------------------------------------------------
166 
167  public:
168 
169  //!-------------------------------------------------------------------------
170  //! @brief Class constructor method.
171  //! @note None
172  //! \par Override
173  //! Not allowed
174  //! @attention Don't call this method directly.
175  //--------------------------------------------------------------------------
176 
178 
179  //!-------------------------------------------------------------------------
180  //! @brief Class destructor method.
181  //! @note None
182  //! \par Override
183  //! Not allowed
184  //! @attention Don't call this method directly.
185  //--------------------------------------------------------------------------
186 
188 
189  //!-------------------------------------------------------------------------
190  //! @brief Function block initialisation method.
191  //! @note None
192  //! \par Override
193  //! Not allowed
194  //! @attention Don't call this method directly.
195  //--------------------------------------------------------------------------
196 
197  virtual VOID Init();
198 
199  //!-------------------------------------------------------------------------
200  //! @brief Function block execution method.
201  //! @note None
202  //! \par Override
203  //! Not allowed
204  //! @attention None
205  //--------------------------------------------------------------------------
206 
207  virtual VOID Execute();
208 
209  //--------------------------------------------------------------------------
210  // Function block input connectors
211  //--------------------------------------------------------------------------
216 
217  //--------------------------------------------------------------------------
218  // Function block output connectors
219  //--------------------------------------------------------------------------
220 
223 
224  //----------------------------------------------------------------------------
225  // Protected methods and variables
226  //----------------------------------------------------------------------------
227 
228  protected:
229 
230  //----------------------------------------------------------------------------
231  // Private methods and variables
232  //----------------------------------------------------------------------------
233 
234  private:
235 
236 };
237 
238 //------------------------------------------------------------------------------
239 //! @brief Class declaration description
240 //------------------------------------------------------------------------------
241 
243 {
244 
245  //----------------------------------------------------------------------------
246  // Public defines, methods and variables
247  //----------------------------------------------------------------------------
248 
249  public:
250 
251  //!-------------------------------------------------------------------------
252  //! @brief Class constructor method.
253  //! @note None
254  //! \par Override
255  //! Not allowed
256  //! @attention Don't call this method directly.
257  //--------------------------------------------------------------------------
258 
260 
261  //!-------------------------------------------------------------------------
262  //! @brief Class destructor method.
263  //! @note None
264  //! \par Override
265  //! Not allowed
266  //! @attention Don't call this method directly.
267  //--------------------------------------------------------------------------
268 
270 
271  //!-------------------------------------------------------------------------
272  //! @brief Function block initialisation method.
273  //! @note None
274  //! \par Override
275  //! Not allowed
276  //! @attention Don't call this method directly.
277  //--------------------------------------------------------------------------
278 
279  virtual VOID Init();
280 
281  //!-------------------------------------------------------------------------
282  //! @brief Function block execution method.
283  //! @note None
284  //! \par Override
285  //! Not allowed
286  //! @attention None
287  //--------------------------------------------------------------------------
288 
289  virtual VOID Execute();
290 
291  //--------------------------------------------------------------------------
292  // Function block input connectors
293  //--------------------------------------------------------------------------
294 
301 
302  //--------------------------------------------------------------------------
303  // Function block output connectors
304  //--------------------------------------------------------------------------
305 
309 
310  //----------------------------------------------------------------------------
311  // Protected methods and variables
312  //----------------------------------------------------------------------------
313 
314  protected:
315 
316  //----------------------------------------------------------------------------
317  // Private methods and variables
318  //----------------------------------------------------------------------------
319 
320  private:
321 
322 };
323 
324 //------------------------------------------------------------------------------
325 //! @brief Class declaration description
326 //------------------------------------------------------------------------------
327 
329 {
330 
331  //----------------------------------------------------------------------------
332  // Public defines, methods and variables
333  //----------------------------------------------------------------------------
334 
335  public:
336 
337  //!-------------------------------------------------------------------------
338  //! @brief Class constructor method.
339  //! @note None
340  //! \par Override
341  //! Not allowed
342  //! @attention Don't call this method directly.
343  //--------------------------------------------------------------------------
344 
346 
347  //!-------------------------------------------------------------------------
348  //! @brief Class destructor method.
349  //! @note None
350  //! \par Override
351  //! Not allowed
352  //! @attention Don't call this method directly.
353  //--------------------------------------------------------------------------
354 
356 
357  //!-------------------------------------------------------------------------
358  //! @brief Function block initialisation method.
359  //! @note None
360  //! \par Override
361  //! Not allowed
362  //! @attention Don't call this method directly.
363  //--------------------------------------------------------------------------
364 
365  virtual VOID Init();
366 
367  //!-------------------------------------------------------------------------
368  //! @brief Function block execution method.
369  //! @note None
370  //! \par Override
371  //! Not allowed
372  //! @attention None
373  //--------------------------------------------------------------------------
374 
375  virtual VOID Execute();
376 
377  //--------------------------------------------------------------------------
378  // Function block input connectors
379  //--------------------------------------------------------------------------
380 
385 
386  //--------------------------------------------------------------------------
387  // Function block output connectors
388  //--------------------------------------------------------------------------
389 
392 
393  //----------------------------------------------------------------------------
394  // Protected methods and variables
395  //----------------------------------------------------------------------------
396 
397  protected:
398 
399  //----------------------------------------------------------------------------
400  // Private methods and variables
401  //----------------------------------------------------------------------------
402 
403  private:
404 
405 };
406 
407 //------------------------------------------------------------------------------
408 //! @brief Class declaration description
409 //------------------------------------------------------------------------------
410 
412 {
413 
414  //----------------------------------------------------------------------------
415  // Public defines, methods and variables
416  //----------------------------------------------------------------------------
417 
418  public:
419 
420  //!-------------------------------------------------------------------------
421  //! @brief Class constructor method.
422  //! @note None
423  //! \par Override
424  //! Not allowed
425  //! @attention Don't call this method directly.
426  //--------------------------------------------------------------------------
427 
429 
430  //!-------------------------------------------------------------------------
431  //! @brief Class destructor method.
432  //! @note None
433  //! \par Override
434  //! Not allowed
435  //! @attention Don't call this method directly.
436  //--------------------------------------------------------------------------
437 
439 
440  //!-------------------------------------------------------------------------
441  //! @brief Function block initialisation method.
442  //! @note None
443  //! \par Override
444  //! Not allowed
445  //! @attention Don't call this method directly.
446  //--------------------------------------------------------------------------
447 
448  virtual VOID Init();
449 
450  //!-------------------------------------------------------------------------
451  //! @brief Function block execution method.
452  //! @note None
453  //! \par Override
454  //! Not allowed
455  //! @attention None
456  //--------------------------------------------------------------------------
457 
458  virtual VOID Execute();
459 
460  //--------------------------------------------------------------------------
461  // Function block input connectors
462  //--------------------------------------------------------------------------
463 
470 
471  //--------------------------------------------------------------------------
472  // Function block output connectors
473  //--------------------------------------------------------------------------
474 
477 
478  //----------------------------------------------------------------------------
479  // Protected methods and variables
480  //----------------------------------------------------------------------------
481 
482  protected:
483 
484  //----------------------------------------------------------------------------
485  // Private methods and variables
486  //----------------------------------------------------------------------------
487 
488  private:
489 
490 };
491 
492 //------------------------------------------------------------------------------
493 // End Of File
494 //------------------------------------------------------------------------------
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_Instantaneous_Power.h:76
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Instantaneous_Power.cpp:117
TBlock_Output_Connector object_f32_Q
Definition: Function_Block_Instantaneous_Power.h:140
TBlock_Input_Connector object_f32_V_C
Definition: Function_Block_Instantaneous_Power.h:130
TBlock_Output_Connector object_f32_P
Definition: Function_Block_Instantaneous_Power.h:139
TFunction_Block_Instantaneous_Power_ABC_PQ()
Class constructor method.
Definition: Function_Block_Instantaneous_Power.cpp:68
TBlock_Input_Connector object_f32_I_B
Definition: Function_Block_Instantaneous_Power.h:132
TBlock_Input_Connector object_f32_V_B
Definition: Function_Block_Instantaneous_Power.h:129
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Instantaneous_Power.cpp:128
TBlock_Input_Connector object_f32_I_A
Definition: Function_Block_Instantaneous_Power.h:131
virtual ~TFunction_Block_Instantaneous_Power_ABC_PQ()
Class destructor method.
Definition: Function_Block_Instantaneous_Power.cpp:109
TBlock_Input_Connector object_f32_V_A
Definition: Function_Block_Instantaneous_Power.h:128
TBlock_Input_Connector object_f32_I_C
Definition: Function_Block_Instantaneous_Power.h:133
Class declaration description.
Definition: Function_Block_Instantaneous_Power.h:412
TBlock_Input_Connector object_f32_I_D
Definition: Function_Block_Instantaneous_Power.h:467
TBlock_Input_Connector object_f32_I_0
Definition: Function_Block_Instantaneous_Power.h:469
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Instantaneous_Power.cpp:444
TBlock_Input_Connector object_f32_V_0
Definition: Function_Block_Instantaneous_Power.h:466
TBlock_Input_Connector object_f32_I_Q
Definition: Function_Block_Instantaneous_Power.h:468
TBlock_Output_Connector object_f32_Q
Definition: Function_Block_Instantaneous_Power.h:476
TBlock_Input_Connector object_f32_V_Q
Definition: Function_Block_Instantaneous_Power.h:465
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Instantaneous_Power.cpp:433
TBlock_Output_Connector object_f32_P
Definition: Function_Block_Instantaneous_Power.h:475
TFunction_Block_Instantaneous_Power_DQ0_PQ()
Class constructor method.
Definition: Function_Block_Instantaneous_Power.cpp:384
TBlock_Input_Connector object_f32_V_D
Definition: Function_Block_Instantaneous_Power.h:464
virtual ~TFunction_Block_Instantaneous_Power_DQ0_PQ()
Class destructor method.
Definition: Function_Block_Instantaneous_Power.cpp:425
Class declaration description.
Definition: Function_Block_Instantaneous_Power.h:329
TBlock_Input_Connector object_f32_V_D
Definition: Function_Block_Instantaneous_Power.h:381
TBlock_Output_Connector object_f32_P
Definition: Function_Block_Instantaneous_Power.h:390
TBlock_Input_Connector object_f32_V_Q
Definition: Function_Block_Instantaneous_Power.h:382
virtual ~TFunction_Block_Instantaneous_Power_DQ_PQ()
Class destructor method.
Definition: Function_Block_Instantaneous_Power.cpp:344
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Instantaneous_Power.cpp:352
TBlock_Input_Connector object_f32_I_Q
Definition: Function_Block_Instantaneous_Power.h:384
TBlock_Input_Connector object_f32_I_D
Definition: Function_Block_Instantaneous_Power.h:383
TFunction_Block_Instantaneous_Power_DQ_PQ()
Class constructor method.
Definition: Function_Block_Instantaneous_Power.cpp:309
TBlock_Output_Connector object_f32_Q
Definition: Function_Block_Instantaneous_Power.h:391
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Instantaneous_Power.cpp:364
Class declaration description.
Definition: Function_Block_Instantaneous_Power.h:243
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Instantaneous_Power.cpp:287
TBlock_Input_Connector object_f32_I_Gamma
Definition: Function_Block_Instantaneous_Power.h:300
TBlock_Input_Connector object_f32_I_Beta
Definition: Function_Block_Instantaneous_Power.h:299
TBlock_Output_Connector object_f32_P
Definition: Function_Block_Instantaneous_Power.h:306
virtual ~TFunction_Block_Instantaneous_Power_ab0_PQ()
Class destructor method.
Definition: Function_Block_Instantaneous_Power.cpp:267
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Instantaneous_Power.cpp:275
TBlock_Input_Connector object_f32_V_Beta
Definition: Function_Block_Instantaneous_Power.h:296
TBlock_Input_Connector object_f32_I_Alpha
Definition: Function_Block_Instantaneous_Power.h:298
TBlock_Input_Connector object_f32_V_Alpha
Definition: Function_Block_Instantaneous_Power.h:295
TFunction_Block_Instantaneous_Power_ab0_PQ()
Class constructor method.
Definition: Function_Block_Instantaneous_Power.cpp:223
TBlock_Output_Connector object_f32_P0
Definition: Function_Block_Instantaneous_Power.h:308
TBlock_Input_Connector object_f32_V_Gamma
Definition: Function_Block_Instantaneous_Power.h:297
TBlock_Output_Connector object_f32_Q
Definition: Function_Block_Instantaneous_Power.h:307
Class declaration description.
Definition: Function_Block_Instantaneous_Power.h:161
TBlock_Input_Connector object_f32_I_Alpha
Definition: Function_Block_Instantaneous_Power.h:214
TBlock_Input_Connector object_f32_I_Beta
Definition: Function_Block_Instantaneous_Power.h:215
TBlock_Input_Connector object_f32_V_Beta
Definition: Function_Block_Instantaneous_Power.h:213
TBlock_Output_Connector object_f32_P
Definition: Function_Block_Instantaneous_Power.h:221
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Instantaneous_Power.cpp:193
virtual ~TFunction_Block_Instantaneous_Power_ab_PQ()
Class destructor method.
Definition: Function_Block_Instantaneous_Power.cpp:185
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Instantaneous_Power.cpp:204
TBlock_Input_Connector object_f32_V_Alpha
Definition: Function_Block_Instantaneous_Power.h:212
TFunction_Block_Instantaneous_Power_ab_PQ()
Class constructor method.
Definition: Function_Block_Instantaneous_Power.cpp:150
TBlock_Output_Connector object_f32_Q
Definition: Function_Block_Instantaneous_Power.h:222