Robotics Library  0.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
rl::util::Thread Class Referenceabstract

#include <Thread.h>

Public Member Functions

 Thread ()
 
virtual ~Thread ()
 
bool operator== (const Thread &rhs) const
 
bool operator!= (const Thread &rhs) const
 
void join ()
 
virtual void run ()=0
 
void start ()
 

Static Public Member Functions

static void sleep (const double &seconds)
 
static void yield ()
 

Static Private Member Functions

static void * start (void *arg)
 

Private Attributes

pthread_t thread
 

Constructor & Destructor Documentation

rl::util::Thread::Thread ( )
inlineexplicit
virtual rl::util::Thread::~Thread ( )
inlinevirtual

Member Function Documentation

void rl::util::Thread::join ( )
inline
bool rl::util::Thread::operator!= ( const Thread rhs) const
inline
bool rl::util::Thread::operator== ( const Thread rhs) const
inline
virtual void rl::util::Thread::run ( )
pure virtual
static void rl::util::Thread::sleep ( const double &  seconds)
inlinestatic
void rl::util::Thread::start ( )
inline
static void* rl::util::Thread::start ( void *  arg)
inlinestaticprivate
static void rl::util::Thread::yield ( )
inlinestatic

Member Data Documentation

pthread_t rl::util::Thread::thread
private

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