ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Negation_F32_2C.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Negation_F32_2C.h
3 //! @brief Negation_F32_2C function block class header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2022 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Blocks/Function_Block_Negation.h $
7 //! $Revision: 2905 $
8 //! $Date: 2021-12-02 19:39:13 +0500 (Чт, 02 дек 2021) $
9 //! $Author: minch $
10 //------------------------------------------------------------------------------
11 //
12 // Redistribution and use in source and binary forms, with or without
13 // modification, are permitted provided that the following conditions are met:
14 //
15 // 1. Redistributions of source code must retain the above copyright notice,
16 // this list of conditions and the following disclaimer.
17 //
18 // 2. Redistributions in binary form must reproduce the above copyright notice,
19 // this list of conditions and the following disclaimer in the documentation
20 // and/or other materials provided with the distribution.
21 //
22 // 3. Neither the name of ANVILEX nor the names of its contributors may be
23 // used to endorse or promote products derived from this software without
24 // specific prior written permission.
25 //
26 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 // POSSIBILITY OF SUCH DAMAGE.
37 //
38 //------------------------------------------------------------------------------
39 
40 //------------------------------------------------------------------------------
41 // Protecting header files from mutual, recursive inclusion.
42 //------------------------------------------------------------------------------
43 
44 #pragma once
45 
46 //------------------------------------------------------------------------------
47 // Include ConOpSys header files
48 //------------------------------------------------------------------------------
49 
50 #include "Function_Block_Base.h"
51 
52 //------------------------------------------------------------------------------
53 //! @brief Class declaration description
54 //------------------------------------------------------------------------------
55 
57 {
58 
59  //----------------------------------------------------------------------------
60  // Public defines, methods and variables
61  //----------------------------------------------------------------------------
62 
63  public:
64 
65  //!-------------------------------------------------------------------------
66  //! @brief Class constructor method.
67  //! @note None
68  //! \par Override
69  //! Not allowed
70  //! @attention Don't call this method directly.
71  //--------------------------------------------------------------------------
72 
74 
75  //!-------------------------------------------------------------------------
76  //! @brief Class destructor method.
77  //! @note None
78  //! \par Override
79  //! Not allowed
80  //! @attention Don't call this method directly.
81  //--------------------------------------------------------------------------
82 
84 
85  //!-------------------------------------------------------------------------
86  //! @brief Function block initialisation method.
87  //! @note None
88  //! \par Override
89  //! Not allowed
90  //! @attention Don't call this method directly.
91  //--------------------------------------------------------------------------
92 
93  virtual VOID Init();
94 
95  //!-------------------------------------------------------------------------
96  //! @brief Function block execution method.
97  //! @note None
98  //! \par Override
99  //! Not allowed
100  //! @attention None
101  //--------------------------------------------------------------------------
102 
103  virtual VOID Execute();
104 
105  //--------------------------------------------------------------------------
106  // Function block parameter connectors
107  //--------------------------------------------------------------------------
108 
109  //--------------------------------------------------------------------------
110  // Function block input connectors
111  //--------------------------------------------------------------------------
112 
113  //! @brief Block input signal channel 1
115 
116  //! @brief Block input signal channel 2
118 
119  //--------------------------------------------------------------------------
120  // Function block output connectors
121  //--------------------------------------------------------------------------
122 
123  //! @brief Block output signal channel 1
125 
126  //! @brief Block output signal channel 2
128 
129  //----------------------------------------------------------------------------
130  // Protected defines, methods and variables
131  //----------------------------------------------------------------------------
132 
133  protected:
134 
135  //----------------------------------------------------------------------------
136  // Private defines, methods and variables
137  //----------------------------------------------------------------------------
138 
139  private:
140 
141 };
142 
143 //------------------------------------------------------------------------------
144 // End of file
145 //------------------------------------------------------------------------------
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_Negation_F32_2C.h:57
TFunction_Block_Negation_F32_2C()
Class constructor method.
Definition: Function_Block_Negation_F32_2C.cpp:68
TBlock_Input_Connector object_f32_Input_1
Block input signal channel 1.
Definition: Function_Block_Negation_F32_2C.h:114
virtual ~TFunction_Block_Negation_F32_2C()
Class destructor method.
Definition: Function_Block_Negation_F32_2C.cpp:97
TBlock_Output_Connector object_f32_Output_2
Block output signal channel 2.
Definition: Function_Block_Negation_F32_2C.h:127
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Negation_F32_2C.cpp:105
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Negation_F32_2C.cpp:113
TBlock_Input_Connector object_f32_Input_2
Block input signal channel 2.
Definition: Function_Block_Negation_F32_2C.h:117
TBlock_Output_Connector object_f32_Output_1
Block output signal channel 1.
Definition: Function_Block_Negation_F32_2C.h:124