Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ROME2_P3 by
Task.cpp
- Committer:
- matajarb
- Date:
- 2018-04-12
- Revision:
- 4:4428ede9beee
File content as of revision 4:4428ede9beee:
/*
* 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;
}
