Trippin Cyril
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
trippingcyril::ModuleThread Class Reference

#include <ModuleThread.h>

Inheritance diagram for trippingcyril::ModuleThread:
[legend]
Collaboration diagram for trippingcyril::ModuleThread:
[legend]

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 ModuleGetModule () 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 Modulemodule
 

Constructor & Destructor Documentation

trippingcyril::ModuleThread::ModuleThread ( Module pModule)
virtual trippingcyril::ModuleThread::~ModuleThread ( )
virtual

Member Function Documentation

void* trippingcyril::ModuleThread::run ( )
protectedvirtual

The method that is actually executed on the thread, override this.

Implements trippingcyril::thread::Thread.


The documentation for this class was generated from the following file: