ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Not_BOOL_6C.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_NOT_BOOL_6C.h
3 //! @brief Ligical inversion_BOOL_6C function block class header file.
4 //! @copyright ANVILEX LLC
5 //! @attention No special attention requered.
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Blocks/Function_Block_NOT.h $
7 //! $Revision: 2877 $
8 //! $Date: 2021-10-18 23:04:26 +0500 (Пн, 18 окт 2021) $
9 //! $Author: minch $
10 //
11 // Copyright(C) 2016-2022 ANVILEX LLC
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 
41 //------------------------------------------------------------------------------
42 // Protecting header files from mutual, recursive inclusion.
43 //------------------------------------------------------------------------------
44 
45 #pragma once
46 
47 //------------------------------------------------------------------------------
48 // Include standard libraries header files
49 //------------------------------------------------------------------------------
50 
51 //------------------------------------------------------------------------------
52 // Include thrid party header files
53 //------------------------------------------------------------------------------
54 
55 //------------------------------------------------------------------------------
56 // Include ConOpSys header files
57 //------------------------------------------------------------------------------
58 
59 #include "Function_Block_Base.h"
60 
61 //------------------------------------------------------------------------------
62 // Include ConOpSys application header files
63 //------------------------------------------------------------------------------
64 
65 //------------------------------------------------------------------------------
66 // Macros
67 //------------------------------------------------------------------------------
68 
69 //! @brief Six channel logical inversion of input signal
71 {
72 
73  //----------------------------------------------------------------------------
74  // Public defines, methods and variables
75  //----------------------------------------------------------------------------
76 
77  public:
78 
79  //!-------------------------------------------------------------------------
80  //! @brief Class constructor method.
81  //! @note None
82  //! \par Override
83  //! Not allowed
84  //! @attention Don't call this method directly.
85  //--------------------------------------------------------------------------
86 
88 
89  //!-------------------------------------------------------------------------
90  //! @brief Class destructor method.
91  //! @note None
92  //! \par Override
93  //! Not allowed
94  //! @attention Don't call this method directly.
95  //--------------------------------------------------------------------------
96 
98 
99  //!-------------------------------------------------------------------------
100  //! @brief Function block initialisation method.
101  //! @note None
102  //! @return None
103  //! \par Override
104  //! Not allowed
105  //! @attention None
106  //--------------------------------------------------------------------------
107 
108  virtual VOID Init();
109 
110  //!-------------------------------------------------------------------------
111  //! @brief Function block processing method.
112  //! @note None
113  //! @return None
114  //! \par Override
115  //! Not allowed
116  //! @attention None
117  //--------------------------------------------------------------------------
118 
119  virtual VOID Execute();
120 
121  //--------------------------------------------------------------------------
122  // Function block parameters
123  //--------------------------------------------------------------------------
124 
125  //--------------------------------------------------------------------------
126  // Function block inputs
127  //--------------------------------------------------------------------------
128 
129  //! @brief Function block input signal of channel 1
131 
132  //! @brief Function block input signal of channel 2
134 
135  //! @brief Function block input signal of channel 3
137 
138  //! @brief Function block input signal of channel 4
140 
141  //! @brief Function block input signal of channel 5
143 
144  //! @brief Function block input signal of channel 6
146 
147  //--------------------------------------------------------------------------
148  // Function block outputs
149  //--------------------------------------------------------------------------
150 
151  //! @brief Function block output signal of channel 1
153 
154  //! @brief Function block output signal of channel 2
156 
157  //! @brief Function block output signal of channel 3
159 
160  //! @brief Function block output signal of channel 4
162 
163  //! @brief Function block output signal of channel 5
165 
166  //! @brief Function block output signal of channel 6
168 
169  //----------------------------------------------------------------------------
170  // Protected defines, methods and variables
171  //----------------------------------------------------------------------------
172 
173  protected:
174 
175  //----------------------------------------------------------------------------
176  // Private defines, methods and variables
177  //----------------------------------------------------------------------------
178 
179  private:
180 
181 };
182 
183 //------------------------------------------------------------------------------
184 // End of file
185 //------------------------------------------------------------------------------
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
Six channel logical inversion of input signal.
Definition: Function_Block_Not_BOOL_6C.h:71
TBlock_Input_Connector object_bool_Channel_5_Input
Function block input signal of channel 5.
Definition: Function_Block_Not_BOOL_6C.h:142
TBlock_Input_Connector object_bool_Channel_6_Input
Function block input signal of channel 6.
Definition: Function_Block_Not_BOOL_6C.h:145
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Not_BOOL_6C.cpp:130
TBlock_Output_Connector object_bool_Channel_6_Output
Function block output signal of channel 6.
Definition: Function_Block_Not_BOOL_6C.h:167
TBlock_Output_Connector object_bool_Channel_1_Output
Function block output signal of channel 1.
Definition: Function_Block_Not_BOOL_6C.h:152
TBlock_Input_Connector object_bool_Channel_3_Input
Function block input signal of channel 3.
Definition: Function_Block_Not_BOOL_6C.h:136
TBlock_Output_Connector object_bool_Channel_5_Output
Function block output signal of channel 5.
Definition: Function_Block_Not_BOOL_6C.h:164
TBlock_Input_Connector object_bool_Channel_2_Input
Function block input signal of channel 2.
Definition: Function_Block_Not_BOOL_6C.h:133
TFunction_Block_Inversion_BOOL_6C()
Class constructor method.
Definition: Function_Block_Not_BOOL_6C.cpp:69
virtual VOID Execute()
Function block processing method.
Definition: Function_Block_Not_BOOL_6C.cpp:138
virtual ~TFunction_Block_Inversion_BOOL_6C()
Class destructor method.
Definition: Function_Block_Not_BOOL_6C.cpp:122
TBlock_Input_Connector object_bool_Channel_4_Input
Function block input signal of channel 4.
Definition: Function_Block_Not_BOOL_6C.h:139
TBlock_Output_Connector object_bool_Channel_4_Output
Function block output signal of channel 4.
Definition: Function_Block_Not_BOOL_6C.h:161
TBlock_Output_Connector object_bool_Channel_2_Output
Function block output signal of channel 2.
Definition: Function_Block_Not_BOOL_6C.h:155
TBlock_Input_Connector object_bool_Channel_1_Input
Function block input signal of channel 1.
Definition: Function_Block_Not_BOOL_6C.h:130
TBlock_Output_Connector object_bool_Channel_3_Output
Function block output signal of channel 3.
Definition: Function_Block_Not_BOOL_6C.h:158