Robotics Library  0.6.2
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

◆ Thread()

rl::util::Thread::Thread ( )
inlineexplicit

◆ ~Thread()

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

Member Function Documentation

◆ join()

void rl::util::Thread::join ( )
inline

◆ operator!=()

bool rl::util::Thread::operator!= ( const Thread rhs) const
inline

◆ operator==()

bool rl::util::Thread::operator== ( const Thread rhs) const
inline

◆ run()

virtual void rl::util::Thread::run ( )
pure virtual

◆ sleep()

static void rl::util::Thread::sleep ( const double &  seconds)
inlinestatic

◆ start() [1/2]

void rl::util::Thread::start ( )
inline

◆ start() [2/2]

static void* rl::util::Thread::start ( void *  arg)
inlinestaticprivate

◆ yield()

static void rl::util::Thread::yield ( )
inlinestatic

Member Data Documentation

◆ thread

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

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