47 EventHandler(
unsigned int stacksize = miosix::STACK_DEFAULT_FOR_PTHREAD,
48 miosix::Priority priority = miosix::MAIN_PRIORITY);
65 miosix::Priority priority)
std::atomic< bool > stopFlag
bool shouldStop()
Tells whether or not the ActiveObject should stop its execution.
miosix::Thread * thread
Gives access to the thread object.
virtual ~EventHandlerBase()
virtual void postEvent(const Event &ev)=0
EventHandler(unsigned int stacksize=miosix::STACK_DEFAULT_FOR_PTHREAD, miosix::Priority priority=miosix::MAIN_PRIORITY)
SynchronizedQueue< Event > eventList
virtual void handleEvent(const Event &ev)=0
void stop() override
Signals the runner thread to terminate and joins the thread.
void postEvent(const Event &ev) override
This file includes all the types the logdecoder script will decode.