mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 17:47:34 +00:00
Changed registerThread to accept shared_ptrs to fix some issues with polymorphism.
This commit is contained in:
@@ -61,12 +61,12 @@ namespace sta
|
||||
/**
|
||||
* @brief This function is executed first when this thread is started.
|
||||
*/
|
||||
virtual void init();
|
||||
virtual void init() = 0;
|
||||
|
||||
/**
|
||||
* @brief The body of the thread's loop. Has to be implemented by the user.
|
||||
*/
|
||||
virtual void func();
|
||||
virtual void func() = 0;
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user