continued refactoring
This commit is contained in:
parent
93615b100c
commit
f230fa1617
@ -176,4 +176,4 @@ bool FixedTimeslotTask::delayForInterval(chron_ms* previousWakeTimeMs, const chr
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FixedTimeslotTask::isEmpty() const { return pollingSeqTable.isEmpty() };
|
bool FixedTimeslotTask::isEmpty() const { return pollingSeqTable.isEmpty(); }
|
||||||
|
@ -73,7 +73,6 @@ class FixedTimeslotTask : public FixedTimeslotTaskIF {
|
|||||||
|
|
||||||
std::thread mainThread;
|
std::thread mainThread;
|
||||||
std::atomic<bool> terminateThread{false};
|
std::atomic<bool> terminateThread{false};
|
||||||
TaskDeadlineMissedFunction dlmFunc = nullptr;
|
|
||||||
|
|
||||||
//! Polling sequence table which contains the object to execute
|
//! Polling sequence table which contains the object to execute
|
||||||
//! and information like the timeslots and the passed execution step.
|
//! and information like the timeslots and the passed execution step.
|
||||||
@ -89,7 +88,7 @@ class FixedTimeslotTask : public FixedTimeslotTaskIF {
|
|||||||
* It is expressed in clock ticks.
|
* It is expressed in clock ticks.
|
||||||
*/
|
*/
|
||||||
TaskPeriod period;
|
TaskPeriod period;
|
||||||
|
TaskDeadlineMissedFunction dlmFunc = nullptr;
|
||||||
/**
|
/**
|
||||||
* @brief This is the function executed in the new task's context.
|
* @brief This is the function executed in the new task's context.
|
||||||
* @details
|
* @details
|
||||||
@ -111,7 +110,7 @@ class FixedTimeslotTask : public FixedTimeslotTaskIF {
|
|||||||
*/
|
*/
|
||||||
void taskFunctionality();
|
void taskFunctionality();
|
||||||
|
|
||||||
bool delayForInterval(chron_ms* previousWakeTimeMs, chron_ms interval);
|
static bool delayForInterval(chron_ms* previousWakeTimeMs, chron_ms interval);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* FRAMEWORK_OSAL_HOST_FIXEDTIMESLOTTASK_H_ */
|
#endif /* FRAMEWORK_OSAL_HOST_FIXEDTIMESLOTTASK_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user