|
Trippin Cyril
|
#include <ModuleThread.h>
Public Member Functions | |
| ModuleThread (Module *pModule) | |
| virtual | ~ModuleThread () |
Public Member Functions inherited from trippingcyril::thread::Thread | |
| Thread (const String &pName, const Module *pModule) | |
| virtual | ~Thread () |
| bool | Start () |
| Starts the thread. More... | |
| bool | Join () |
| Does a join operation on the thread. More... | |
| bool | Detach () |
| Does a detach operation on the thread. More... | |
| pthread_t | Self () const |
| Get the internal thread id. More... | |
| void | Stop () |
| Tells the thread to stop. More... | |
| bool | isRunning () const |
| See if the thread is running or not. More... | |
| void * | getReturnedValue () const |
| Receive the value returned from the thread after a Join operation. More... | |
| const String | GetName () const |
| Receive the name of the thread. More... | |
Public Member Functions inherited from trippingcyril::trippingcyril::Event | |
| Event (const Module *module) | |
| virtual | ~Event () |
| const Module * | GetModule () const |
Protected Member Functions | |
| void * | run () |
| The method that is actually executed on the thread, override this. More... | |
Protected Member Functions inherited from trippingcyril::thread::Thread | |
| bool | shouldContinue () const |
| Receive a hint about what you should do, continue or not? Depends mostly on the internal stop value set by Stop. More... | |
Protected Member Functions inherited from trippingcyril::trippingcyril::Event | |
| event_base * | GetEventBase () const |
| evdns_base * | GetDNSBase () const |
Additional Inherited Members | |
Protected Attributes inherited from trippingcyril::trippingcyril::Event | |
| const Module * | module |
| trippingcyril::ModuleThread::ModuleThread | ( | Module * | pModule | ) |
|
virtual |
|
protectedvirtual |
The method that is actually executed on the thread, override this.
Implements trippingcyril::thread::Thread.
1.8.6