1
0
forked from fsfw/fsfw

exec task if new init function, some corrections

This commit is contained in:
2020-06-29 15:44:18 +02:00
parent ba5b8bd682
commit b81b458ba6
6 changed files with 18 additions and 9 deletions

View File

@ -43,9 +43,18 @@ public:
* a reference to the executing task
* @param task_ Pointer to the taskIF of this task
*/
virtual void setTaskIF(PeriodicTaskIF* task_) {
virtual void setTaskIF(PeriodicTaskIF* task_) {};
}
/**
* This function will be called after the object was assigned to a specific
* task.
*
* Example: Can be used to get task execution frequency.
* The task is created after initialize() and the object ctors have been
* called so the execution frequency can't be cached in initialize()
* @return
*/
//virtual ReturnValue_t initializeAfterTaskCreation() = 0;
};
#endif /* EXECUTABLEOBJECTIF_H_ */