continued refactoring

This commit is contained in:
Robin Müller 2022-05-18 23:45:38 +02:00
parent 64e7d4bb5e
commit 08f1ebf9fc
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 3 additions and 4 deletions

View File

@ -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(); }

View File

@ -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_ */