27 AuxTaskRT(std::string _name, std::function<
void()> callback){ create(_name, callback); }
28 AuxTaskRT(std::string _name, std::function<
void(std::string str)> callback){ create(_name, callback); }
29 AuxTaskRT(std::string _name, std::function<
void(
void* buf,
int size)> callback){ create(_name, callback); }
30 ~AuxTaskRT(){ cleanup(); }
32 void create(std::string _name, std::function<
void()> callback,
int _priority =
BELA_AUDIO_PRIORITY-5);
33 void create(std::string _name, std::function<
void(std::string str)> callback,
int _priority =
BELA_AUDIO_PRIORITY-5);
34 void create(std::string _name, std::function<
void(
void* buf,
int size)> callback,
int _priority =
BELA_AUDIO_PRIORITY-5);
36 void schedule(
void* buf,
size_t size);
37 void schedule(
const char* str);
41 bool lShouldStop =
false;
45#ifdef XENOMAI_SKIN_native
49#ifdef XENOMAI_SKIN_posix
52 std::string queueName;
61 std::function<void()> empty_callback;
62 std::function<void(std::string str)> str_callback;
63 std::function<void(
void* buf,
int size)> buf_callback;
69 static void thread_func(
void* ptr);