ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Nor_1C_20I.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Nor_1C_20I.h
3 //! @brief Function block logical NOR_1C_20I 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_Nor.h $
7 //! $Revision: 2904 $
8 //! $Date: 2021-12-02 02:39:23 +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 standard libraries header files
48 //------------------------------------------------------------------------------
49 
50 //------------------------------------------------------------------------------
51 // Include thrid party header files
52 //------------------------------------------------------------------------------
53 
54 //------------------------------------------------------------------------------
55 // Include ConOpSys header files
56 //------------------------------------------------------------------------------
57 
58 #include "Function_Block_Base.h"
59 
60 //------------------------------------------------------------------------------
61 // Include ConOpSys application header files
62 //------------------------------------------------------------------------------
63 
64 //------------------------------------------------------------------------------
65 // Macros
66 //------------------------------------------------------------------------------
67 
68 //------------------------------------------------------------------------------
69 //! @brief Class declaration description
70 //------------------------------------------------------------------------------
71 
73 {
74 
75  //----------------------------------------------------------------------------
76  // Public defines, methods and variables
77  //----------------------------------------------------------------------------
78 
79  public:
80 
81  //!-------------------------------------------------------------------------
82  //! @brief Class constructor method.
83  //! @note None
84  //! \par Override
85  //! Not allowed
86  //! @attention Don't call this method directly.
87  //--------------------------------------------------------------------------
88 
90 
91  //!-------------------------------------------------------------------------
92  //! @brief Class destructor method.
93  //! @note None
94  //! \par Override
95  //! Not allowed
96  //! @attention Don't call this method directly.
97  //--------------------------------------------------------------------------
98 
100 
101  //!-------------------------------------------------------------------------
102  //! @brief Function block initialisation method.
103  //! @note None
104  //! \par Override
105  //! Not allowed
106  //! @attention Don't call this method directly.
107  //--------------------------------------------------------------------------
108 
109  virtual VOID Init();
110 
111  //!-------------------------------------------------------------------------
112  //! @brief Function block execution method.
113  //! @note None
114  //! \par Override
115  //! Not allowed
116  //! @attention None
117  //--------------------------------------------------------------------------
118 
119  virtual VOID Execute();
120 
121  //--------------------------------------------------------------------------
122  // Function block parameter connectors
123  //--------------------------------------------------------------------------
124 
125  //--------------------------------------------------------------------------
126  // Function block input connectors
127  //--------------------------------------------------------------------------
128 
129  TBlock_Input_Connector object_bool_Input_1; //!< Function block input signal
130  TBlock_Input_Connector object_bool_Input_2; //!< Function block input signal
131  TBlock_Input_Connector object_bool_Input_3; //!< Function block input signal
132  TBlock_Input_Connector object_bool_Input_4; //!< Function block input signal
133  TBlock_Input_Connector object_bool_Input_5; //!< Function block input signal
134  TBlock_Input_Connector object_bool_Input_6; //!< Function block input signal
135  TBlock_Input_Connector object_bool_Input_7; //!< Function block input signal
136  TBlock_Input_Connector object_bool_Input_8; //!< Function block input signal
137  TBlock_Input_Connector object_bool_Input_9; //!< Function block input signal
138  TBlock_Input_Connector object_bool_Input_10; //!< Function block input signal
139  TBlock_Input_Connector object_bool_Input_11; //!< Function block input signal
140  TBlock_Input_Connector object_bool_Input_12; //!< Function block input signal
141  TBlock_Input_Connector object_bool_Input_13; //!< Function block input signal
142  TBlock_Input_Connector object_bool_Input_14; //!< Function block input signal
143  TBlock_Input_Connector object_bool_Input_15; //!< Function block input signal
144  TBlock_Input_Connector object_bool_Input_16; //!< Function block input signal
145  TBlock_Input_Connector object_bool_Input_17; //!< Function block input signal
146  TBlock_Input_Connector object_bool_Input_18; //!< Function block input signal
147  TBlock_Input_Connector object_bool_Input_19; //!< Function block input signal
148  TBlock_Input_Connector object_bool_Input_20; //!< Function block input signal
149 
150  //--------------------------------------------------------------------------
151  // Function block output connectors
152  //--------------------------------------------------------------------------
153 
154  TBlock_Output_Connector object_bool_Output; //!< Block output signal
155 
156  //----------------------------------------------------------------------------
157  // Protected defines, methods and variables
158  //----------------------------------------------------------------------------
159 
160  protected:
161 
162  //----------------------------------------------------------------------------
163  // Private defines, methods and variables
164  //----------------------------------------------------------------------------
165 
166  private:
167 
168 };
169 
170 //------------------------------------------------------------------------------
171 // End of file
172 //------------------------------------------------------------------------------
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_Nor_1C_20I.h:73
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Nor_1C_20I.cpp:122
TBlock_Input_Connector object_bool_Input_9
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:137
TBlock_Input_Connector object_bool_Input_13
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:141
TBlock_Input_Connector object_bool_Input_16
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:144
TBlock_Input_Connector object_bool_Input_20
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:148
TBlock_Input_Connector object_bool_Input_2
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:130
TBlock_Input_Connector object_bool_Input_19
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:147
TBlock_Input_Connector object_bool_Input_18
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:146
TFunction_Block_NOR_1C_20I()
Class constructor method.
Definition: Function_Block_Nor_1C_20I.cpp:70
virtual ~TFunction_Block_NOR_1C_20I()
Class destructor method.
Definition: Function_Block_Nor_1C_20I.cpp:112
TBlock_Output_Connector object_bool_Output
Block output signal.
Definition: Function_Block_Nor_1C_20I.h:154
TBlock_Input_Connector object_bool_Input_5
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:133
TBlock_Input_Connector object_bool_Input_8
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:136
TBlock_Input_Connector object_bool_Input_17
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:145
TBlock_Input_Connector object_bool_Input_1
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:129
TBlock_Input_Connector object_bool_Input_15
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:143
TBlock_Input_Connector object_bool_Input_7
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:135
TBlock_Input_Connector object_bool_Input_3
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:131
TBlock_Input_Connector object_bool_Input_6
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:134
TBlock_Input_Connector object_bool_Input_10
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:138
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Nor_1C_20I.cpp:132
TBlock_Input_Connector object_bool_Input_11
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:139
TBlock_Input_Connector object_bool_Input_14
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:142
TBlock_Input_Connector object_bool_Input_12
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:140
TBlock_Input_Connector object_bool_Input_4
Function block input signal.
Definition: Function_Block_Nor_1C_20I.h:132