ROME2 - TI / Mbed 2 deprecated ROME2 - Praktikum

Dependencies:   mbed

Task.cpp

Committer:
solcager
Date:
2017-03-31
Revision:
1:08ca9b208045

File content as of revision 1:08ca9b208045:

/*
 * Task.cpp
 * Copyright (c) 2017, 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. TASK_RUNNING or TASK_DONE.
 */
int Task::run(float period) {
    
    return DONE;
}