Thread driven by (realtime safe) signals. More...
#include <Slave.hpp>
Inherits Raul::Thread.

Public Member Functions | |
| void | whip () | 
| Tell the slave to do whatever work it does.   | |
Protected Member Functions | |
| virtual void | _whipped ()=0 | 
| Worker method.   | |
Protected Attributes | |
| Semaphore | _whip | 
Thread driven by (realtime safe) signals.
Use this to perform some task in a separate thread you want to 'drive' from a realtime (or otherwise) thread.
| void Raul::Slave::whip | ( | ) |  [inline] | 
        
Tell the slave to do whatever work it does.
Realtime safe.
| virtual void Raul::Slave::_whipped | ( | ) |  [protected, pure virtual] | 
        
Worker method.
This is called once from this thread every time whip() is called. Implementations likely want to put a single (non loop) chunk of code here, e.g. to process an event.
 1.7.1