テスト用のあれこれ共用フォルダ
Revisão | 54b5ff075d2a69b2e88e054b63add264efa66685 (tree) |
---|---|
Hora | 2019-02-04 18:46:12 |
Autor | takemasa <suikan@user...> |
Commiter | takemasa |
Refactoring class name
@@ -6,8 +6,8 @@ | ||
6 | 6 | * \brief Simplified logging function. |
7 | 7 | */ |
8 | 8 | |
9 | -#ifndef ABSTRACTLOGGER_HPP_ | |
10 | -#define ABSTRACTLOGGER_HPP_ | |
9 | +#ifndef LOGGERSTRATEGY_HPP_ | |
10 | +#define LOGGERSTRATEGY_HPP_ | |
11 | 11 | |
12 | 12 | #include <peripheralstrategy.hpp> |
13 | 13 | #include <stdint.h> |
@@ -28,7 +28,7 @@ namespace murasaki { | ||
28 | 28 | * have to be able to run in the task context. Both member functions also have to be the |
29 | 29 | * blocking function. |
30 | 30 | */ |
31 | -class AbstractLogger | |
31 | +class LoggerStrategy | |
32 | 32 | { |
33 | 33 | public: |
34 | 34 | /** |
@@ -37,7 +37,7 @@ class AbstractLogger | ||
37 | 37 | * Do nothing here. Declared to enforce the derived class's constructor as "virtual". |
38 | 38 | * |
39 | 39 | */ |
40 | - virtual ~AbstractLogger() | |
40 | + virtual ~LoggerStrategy() | |
41 | 41 | { |
42 | 42 | } |
43 | 43 | ; |
@@ -80,10 +80,10 @@ class AbstractLogger | ||
80 | 80 | |
81 | 81 | } /* namespace murasaki */ |
82 | 82 | |
83 | -inline void* murasaki::AbstractLogger::GetPeripheralHandle( | |
83 | +inline void* murasaki::LoggerStrategy::GetPeripheralHandle( | |
84 | 84 | murasaki::PeripheralStrategy* peripheral) |
85 | 85 | { |
86 | 86 | return(peripheral->GetPeripheralHandle()); |
87 | 87 | } |
88 | 88 | |
89 | -#endif /* ABSTRACTLOGGER_HPP_ */ | |
89 | +#endif /* LOGGERSTRATEGY_HPP_ */ |