• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

テスト用のあれこれ共用フォルダ


Commit MetaInfo

Revisão54b5ff075d2a69b2e88e054b63add264efa66685 (tree)
Hora2019-02-04 18:46:12
Autortakemasa <suikan@user...>
Commitertakemasa

Mensagem de Log

Refactoring class name

Mudança Sumário

Diff

--- a/stm32_development/murasaki/murasaki/loggerstrategy.hpp
+++ b/stm32_development/murasaki/murasaki/loggerstrategy.hpp
@@ -6,8 +6,8 @@
66 * \brief Simplified logging function.
77 */
88
9-#ifndef ABSTRACTLOGGER_HPP_
10-#define ABSTRACTLOGGER_HPP_
9+#ifndef LOGGERSTRATEGY_HPP_
10+#define LOGGERSTRATEGY_HPP_
1111
1212 #include <peripheralstrategy.hpp>
1313 #include <stdint.h>
@@ -28,7 +28,7 @@ namespace murasaki {
2828 * have to be able to run in the task context. Both member functions also have to be the
2929 * blocking function.
3030 */
31-class AbstractLogger
31+class LoggerStrategy
3232 {
3333 public:
3434 /**
@@ -37,7 +37,7 @@ class AbstractLogger
3737 * Do nothing here. Declared to enforce the derived class's constructor as "virtual".
3838 *
3939 */
40- virtual ~AbstractLogger()
40+ virtual ~LoggerStrategy()
4141 {
4242 }
4343 ;
@@ -80,10 +80,10 @@ class AbstractLogger
8080
8181 } /* namespace murasaki */
8282
83-inline void* murasaki::AbstractLogger::GetPeripheralHandle(
83+inline void* murasaki::LoggerStrategy::GetPeripheralHandle(
8484 murasaki::PeripheralStrategy* peripheral)
8585 {
8686 return(peripheral->GetPeripheralHandle());
8787 }
8888
89-#endif /* ABSTRACTLOGGER_HPP_ */
89+#endif /* LOGGERSTRATEGY_HPP_ */