• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

shared_fooの不要ディレクトリ削除前のもの


Commit MetaInfo

Revision1ddf83ca77bb602a794f9cf68e8582048ce899ec (tree)
Zeit2018-03-03 08:11:22
Autortakemasa <suikan@user...>
Commitertakemasa

Log Message

Modify the Constructor parameter order to be natural style.

Ändern Zusammenfassung

Diff

--- a/stm32_development/murasaki/murasaki/abstracttask.cpp
+++ b/stm32_development/murasaki/murasaki/abstracttask.cpp
@@ -10,7 +10,7 @@
1010
1111 namespace murasaki {
1212
13-AbstractTask::AbstractTask(const char * task_name, unsigned short stack_depth, void * parameter, UBaseType_t priority)
13+AbstractTask::AbstractTask(const char * task_name, unsigned short stack_depth, UBaseType_t priority, void * parameter)
1414 : name_(task_name),
1515 stack_depth_(stack_depth),
1616 parameter_(parameter),
--- a/stm32_development/murasaki/murasaki/abstracttask.hpp
+++ b/stm32_development/murasaki/murasaki/abstracttask.hpp
@@ -36,10 +36,10 @@ class AbstractTask
3636 * @brief Constractor. Task entity is not created here.
3737 * @param task_name Name of task. Will be passed to task when started.
3838 * @param stack_depth [Byte]
39- * @param task_parameter Optional parameter to the task.
4039 * @param task_priority Priority of the task. from 1 to up to configMAX_PRIORITIES -1. The high number is the high priority.
40+ * @param task_parameter Optional parameter to the task.
4141 */
42- AbstractTask(const char * task_name, unsigned short stack_depth, void * task_parameter, UBaseType_t task_priority);
42+ AbstractTask(const char * task_name, unsigned short stack_depth, UBaseType_t task_priority, void * task_parameter);
4343 /**
4444 * @brief Destructor
4545 */
--- a/stm32_development/murasaki/murasaki/debuggerautoreprinttask.cpp
+++ b/stm32_development/murasaki/murasaki/debuggerautoreprinttask.cpp
@@ -13,10 +13,10 @@ namespace murasaki {
1313
1414 DebuggerAutoRePrintTask::DebuggerAutoRePrintTask(const char * task_name,
1515 unsigned short stack_depth,
16- void * task_parameter,
17- UBaseType_t task_priority)
16+ UBaseType_t task_priority,
17+ void * task_parameter)
1818 // Forward initialization parameter to the parent class
19- : AbstractTask(task_name, stack_depth, task_parameter, task_priority)
19+ : AbstractTask(task_name, stack_depth, task_priority, task_parameter)
2020 {
2121 // Do nothing
2222 }
--- a/stm32_development/murasaki/murasaki/debuggerautoreprinttask.hpp
+++ b/stm32_development/murasaki/murasaki/debuggerautoreprinttask.hpp
@@ -29,8 +29,8 @@ class DebuggerAutoRePrintTask : public AbstractTask
2929 * @brief Constractor. Task entity is not created here.
3030 * @param task_name Name of task. Will be passed to task when started.
3131 * @param stack_depth [Byte]
32- * @param task_parameter The pointer to the murasaki::LoggingHelpers type variable.
3332 * @param task_priority Priority of the task. from 1 to up to configMAX_PRIORITIES -1. The high number is the high priority.
33+ * @param task_parameter The pointer to the murasaki::LoggingHelpers type variable.
3434 * @details
3535 * The task implementation of the auto reprint task.
3636 * This task is dedicated to the murasaki::Debugger.
@@ -41,8 +41,8 @@ class DebuggerAutoRePrintTask : public AbstractTask
4141 */
4242 DebuggerAutoRePrintTask(const char * task_name,
4343 unsigned short stack_depth,
44- void * task_parameter,
45- UBaseType_t task_priority);
44+ UBaseType_t task_priority,
45+ void * task_parameter);
4646 private:
4747 /**
4848 * @brief Watch the character input then ReWind FIFO
--- a/stm32_development/murasaki/murasaki/debuggertxtask.cpp
+++ b/stm32_development/murasaki/murasaki/debuggertxtask.cpp
@@ -13,10 +13,10 @@ namespace murasaki {
1313
1414 DebuggerTxTask::DebuggerTxTask(const char * task_name,
1515 unsigned short stack_depth,
16- void * task_parameter,
17- UBaseType_t task_priority)
16+ UBaseType_t task_priority,
17+ void * task_parameter)
1818 // Forward initialization parameter to the parent class
19- : AbstractTask(task_name, stack_depth, task_parameter, task_priority)
19+ : AbstractTask(task_name, stack_depth, task_priority, task_parameter)
2020 {
2121 // Do nothing
2222 }
--- a/stm32_development/murasaki/murasaki/debuggertxtask.hpp
+++ b/stm32_development/murasaki/murasaki/debuggertxtask.hpp
@@ -32,8 +32,8 @@ class DebuggerTxTask : public AbstractTask
3232 * @brief Constractor. Task entity is not created here.
3333 * @param task_name Name of task. Will be passed to task when started.
3434 * @param stack_depth [Byte]
35- * @param task_parameter The pointer to the murasaki::LoggingHelpers type variable.
3635 * @param task_priority Priority of the task. from 1 to up to configMAX_PRIORITIES -1. The high number is the high priority.
36+ * @param task_parameter The pointer to the murasaki::LoggingHelpers type variable.
3737 * @details
3838 * The task implementation of the data copy task.
3939 * This task is dedicated to the murasaki::Debugger.
@@ -45,8 +45,8 @@ class DebuggerTxTask : public AbstractTask
4545
4646 DebuggerTxTask(const char * task_name,
4747 unsigned short stack_depth,
48- void * task_parameter,
49- UBaseType_t task_priority);
48+ UBaseType_t task_priority,
49+ void * task_parameter);
5050 private:
5151 /**
5252 * @brief data backet from FIFO to logger