Zürcher Eliteeinheit / Mbed 2 deprecated ROME2_P4

Dependencies:   ROME2_P2 mbed

Fork of ROME2_P3 by Zürcher Eliteeinheit

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Task.cpp Source File

Task.cpp

00001 /*
00002  * Task.cpp
00003  * Copyright (c) 2018, ZHAW
00004  * All rights reserved.
00005  */
00006 
00007 #include "Task.h"
00008 
00009 using namespace std;
00010 
00011 /**
00012  * Creates an abstract task object.
00013  */
00014 Task::Task() {}
00015 
00016 /**
00017  * Deletes the task object.
00018  */
00019 Task::~Task() {}
00020 
00021 /**
00022  * This method is called periodically by a task sequencer.
00023  * It contains the code this task has to work on.
00024  * @param period the period of the task sequencer, given in [s].
00025  * @return the status of this task, i.e. RUNNING or DONE.
00026  */
00027 int Task::run(float period) {
00028     
00029     return DONE;
00030 }
00031