ConOpSys V2970  P004.07
ANVILEX control operating system
System_ADC_Base.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file System_ADC_Base.h
3 //! @brief System ADC base class header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2020 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Engine/System_ADC_Base.h $
7 //! $Revision: 2339 $
8 //! $Date: 2021-01-08 14:06:54 +0500 (Fr, 08 Jan 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 "Defines.h"
59 
60 //------------------------------------------------------------------------------
61 // Class definitions
62 //------------------------------------------------------------------------------
63 
64 //! @brief System ADC base class
66 {
67 
68  //----------------------------------------------------------------------------
69  // Public defines, methods and variables
70  //----------------------------------------------------------------------------
71 
72  public:
73 
74  //--------------------------------------------------------------------------
75  // Public methods
76  //--------------------------------------------------------------------------
77 
78  //!-------------------------------------------------------------------------
79  //! @brief Base class constructor method.
80  //! @note None
81  //! \par Override
82  //! Not allowed
83  //! @attention Don't call this method directly.
84  //--------------------------------------------------------------------------
85 
87 
88  //!-------------------------------------------------------------------------
89  //! @brief Base class constructor method.
90  //! @note None
91  //! \par Override
92  //! Not allowed
93  //! @attention Don't call this method directly.
94  //--------------------------------------------------------------------------
95 
97 
98  //!-------------------------------------------------------------------------
99  //! @brief System ADC object initialisation method.
100  //! @note None
101  //! @return None
102  //! \par Override
103  //! Optional
104  //! @attention None
105  //--------------------------------------------------------------------------
106 
107  VOID Init();
108 
109  //!-------------------------------------------------------------------------
110  //! @brief System ADC object finalisation method.
111  //! @note None
112  //! @return None
113  //! \par Override
114  //! Optional
115  //! @attention None
116  //--------------------------------------------------------------------------
117 
118  VOID Done();
119 
120  //!-------------------------------------------------------------------------
121  //! @brief System ADC execute method.
122  //! @note None
123  //! @return None
124  //! \par Override
125  //! Optional
126  //! @attention None
127  //--------------------------------------------------------------------------
128 
129  VOID Execute();
130 
131  //----------------------------------------------------------------------------
132  // Private defines, methods and variables
133  //----------------------------------------------------------------------------
134 
135  private:
136 
137  //----------------------------------------------------------------------------
138  // Protected defines, methods and variables
139  //----------------------------------------------------------------------------
140 
141  protected:
142 
143 };
144 
145 //------------------------------------------------------------------------------
146 // End Of File
147 //------------------------------------------------------------------------------
ConOpSys data type definitions header file.
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
System ADC base class.
Definition: System_ADC_Base.h:66
~TSystem_ADC_Base()
Base class constructor method.
Definition: System_ADC_Base.cpp:66
VOID Execute()
System ADC execute method.
Definition: System_ADC_Base.cpp:90
VOID Init()
System ADC object initialisation method.
Definition: System_ADC_Base.cpp:74
VOID Done()
System ADC object finalisation method.
Definition: System_ADC_Base.cpp:82
TSystem_ADC_Base()
Base class constructor method.
Definition: System_ADC_Base.cpp:58