mFrame
載入中...
搜尋中...
無符合項目
Base.h
1
7#ifndef HAL_E4F2FCA0_4A18_4087_BF15_1FF753A074ED
8#define HAL_E4F2FCA0_4A18_4087_BF15_1FF753A074ED
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "mframe.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace hal {
23 struct Base;
24} // namespace hal
25
26/* ***************************************************************************************
27 * Class/Interface/Struct
28 */
29
34struct hal::Base : public virtual mframe::lang::Interface {
35 /* *************************************************************************************
36 * Method
37 */
38
47 virtual bool deinit(void) abstract;
48
57 virtual bool init(void) abstract;
58
65 virtual bool isInit(void) abstract;
66};
67
68/* ***************************************************************************************
69 * End of file
70 */
71
72#endif /* HAL_E4F2FCA0_4A18_4087_BF15_1FF753A074ED */
Definition Ammeter.h:23
[Interface]硬體抽象層,初始化共基類。
Definition Base.h:34
virtual bool isInit(void) override
取得硬體是否已初始化。
virtual bool deinit(void) override
硬體去初始化。
virtual bool init(void) override
硬體初始化。
Definition Interface.h:134