mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS-demo.git
synced 2025-09-28 23:57:33 +00:00
something 'It worked on my machine' something
This commit is contained in:
20
App/include/tasks/spam_task.hpp
Normal file
20
App/include/tasks/spam_task.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef INC_TASKS_SPAM_TASK_HPP_
|
||||
#define INC_TASKS_SPAM_TASK_HPP_
|
||||
|
||||
#include <sta/tacos.hpp>
|
||||
|
||||
namespace tasks
|
||||
{
|
||||
class SpamTask : public sta::tacos::TacosThread {
|
||||
public:
|
||||
SpamTask();
|
||||
|
||||
// One time function that is called when the thread is created.
|
||||
void init() override;
|
||||
|
||||
// Repeatable function that is called every time the thread is executed.
|
||||
void func() override;
|
||||
};
|
||||
} // namespace tasks
|
||||
|
||||
#endif /* INC_TASKS_SPAM_TASK_HPP_ */
|
Reference in New Issue
Block a user