Es loht sich compile und lieferet au Wert. Das wärs aber au scho gsi.
Diff: Task.cpp
- Revision:
- 0:1a79273bc3e6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Task.cpp Mon Apr 09 07:00:45 2018 +0000 @@ -0,0 +1,31 @@ +/* + * Task.cpp + * Copyright (c) 2018, ZHAW + * All rights reserved. + */ + +#include "Task.h" + +using namespace std; + +/** + * Creates an abstract task object. + */ +Task::Task() {} + +/** + * Deletes the task object. + */ +Task::~Task() {} + +/** + * This method is called periodically by a task sequencer. + * It contains the code this task has to work on. + * @param period the period of the task sequencer, given in [s]. + * @return the status of this task, i.e. RUNNING or DONE. + */ +int Task::run(float period) { + + return DONE; +} +