minor tweaks

This commit is contained in:
2020-12-14 11:49:01 +01:00
parent 3dd86039bb
commit a547fafa33
4 changed files with 40 additions and 24 deletions

View File

@ -1,12 +1,12 @@
#ifndef FRAMEWORK_TASKS_FIXEDTIMESLOTTASKIF_H_
#define FRAMEWORK_TASKS_FIXEDTIMESLOTTASKIF_H_
#include "PeriodicTaskIF.h"
#include "../objectmanager/ObjectManagerIF.h"
#include "../tasks/PeriodicTaskIF.h"
/**
* @brief Following the same principle as the base class IF.
* This is the interface for a Fixed timeslot task
* This is the interface for a Fixed timeslot task
*/
class FixedTimeslotTaskIF : public PeriodicTaskIF {
public:
@ -20,9 +20,8 @@ public:
* @param executionStep
* @return
*/
virtual ReturnValue_t addSlot(object_id_t componentId,
uint32_t slotTimeMs, int8_t executionStep) = 0;
virtual ReturnValue_t addSlot(object_id_t componentId, uint32_t slotTimeMs,
int8_t executionStep) = 0;
/**
* Check whether the sequence is valid and perform all other required
* initialization steps which are needed after task creation
@ -30,4 +29,6 @@ public:
virtual ReturnValue_t checkSequence() const = 0;
};
#endif /* FRAMEWORK_TASKS_FIXEDTIMESLOTTASKIF_H_ */