ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Not_BOOL_2C.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_NOT_BOOL_2C.h
3 //! @brief Ligical inversion_BOOL_2C 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 
43 //------------------------------------------------------------------------------
44 // Protecting header files from mutual, recursive inclusion.
45 //------------------------------------------------------------------------------
46 
47 #pragma once
48 
49 //------------------------------------------------------------------------------
50 // Include standard libraries header files
51 //------------------------------------------------------------------------------
52 
53 //------------------------------------------------------------------------------
54 // Include thrid party header files
55 //------------------------------------------------------------------------------
56 
57 //------------------------------------------------------------------------------
58 // Include ConOpSys header files
59 //------------------------------------------------------------------------------
60 
61 #include "Function_Block_Base.h"
62 
63 //------------------------------------------------------------------------------
64 // Include ConOpSys application header files
65 //------------------------------------------------------------------------------
66 
67 //------------------------------------------------------------------------------
68 // Macros
69 //------------------------------------------------------------------------------
70 
71 //! @brief Dual channel logical inversion of input signal
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  //! @return None
105  //! \par Override
106  //! Not allowed
107  //! @attention None
108  //--------------------------------------------------------------------------
109 
110  virtual VOID Init();
111 
112  //!-------------------------------------------------------------------------
113  //! @brief Function block processing method.
114  //! @note None
115  //! @return None
116  //! \par Override
117  //! Not allowed
118  //! @attention None
119  //--------------------------------------------------------------------------
120 
121  virtual VOID Execute();
122 
123  //--------------------------------------------------------------------------
124  // Function block parameters
125  //--------------------------------------------------------------------------
126 
127  //--------------------------------------------------------------------------
128  // Function block inputs
129  //--------------------------------------------------------------------------
130 
131  //! @brief Function block input signal of channel 1
133 
134  //! @brief Function block input signal of channel 2
136 
137  //--------------------------------------------------------------------------
138  // Function block outputs
139  //--------------------------------------------------------------------------
140 
141  //! @brief Function block output signal of channel 1
143 
144  //! @brief Function block output signal of channel 2
146 
147  //----------------------------------------------------------------------------
148  // Protected defines, methods and variables
149  //----------------------------------------------------------------------------
150 
151  protected:
152 
153  //----------------------------------------------------------------------------
154  // Private defines, methods and variables
155  //----------------------------------------------------------------------------
156 
157  private:
158 
159 };
160 
161 //------------------------------------------------------------------------------
162 // End of file
163 //------------------------------------------------------------------------------
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
Dual channel logical inversion of input signal.
Definition: Function_Block_Not_BOOL_2C.h:73
virtual VOID Execute()
Function block processing method.
Definition: Function_Block_Not_BOOL_2C.cpp:114
TBlock_Output_Connector object_bool_Channel_2_Output
Function block output signal of channel 2.
Definition: Function_Block_Not_BOOL_2C.h:145
TBlock_Input_Connector object_bool_Channel_2_Input
Function block input signal of channel 2.
Definition: Function_Block_Not_BOOL_2C.h:135
TFunction_Block_Inversion_BOOL_2C()
Class constructor method.
Definition: Function_Block_Not_BOOL_2C.cpp:69
TBlock_Input_Connector object_bool_Channel_1_Input
Function block input signal of channel 1.
Definition: Function_Block_Not_BOOL_2C.h:132
TBlock_Output_Connector object_bool_Channel_1_Output
Function block output signal of channel 1.
Definition: Function_Block_Not_BOOL_2C.h:142
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Not_BOOL_2C.cpp:106
virtual ~TFunction_Block_Inversion_BOOL_2C()
Class destructor method.
Definition: Function_Block_Not_BOOL_2C.cpp:98