mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS-demo.git
synced 2025-06-10 02:05:58 +00:00
21 lines
444 B
C++
21 lines
444 B
C++
#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_ */
|