YARP
Yet Another Robot Platform
yarp::os::Thread::Private Class Reference
+ Inheritance diagram for yarp::os::Thread::Private:

Public Member Functions

 Private (Thread &owner)
 
 ~Private () override=default
 
void beforeStart () override
 
void afterStart (bool success) override
 
void run () override
 
void close () override
 
bool threadInit () override
 
void threadRelease () override
 
- Public Member Functions inherited from yarp::os::impl::ThreadImpl
virtual ~ThreadImpl ()
 
int join (double seconds=-1)
 
void askToClose ()
 
virtual bool start ()
 
bool isClosing ()
 
bool isRunning ()
 
long int getKey ()
 
void notify (bool s)
 
void notifyOpened (bool s)
 
void synchroWait ()
 
void synchroPost ()
 
int setPriority (int priority=-1, int policy=-1)
 
int getPriority ()
 
int getPolicy ()
 
long getTid ()
 

Public Attributes

bool stopping
 
- Public Attributes inherited from yarp::os::impl::ThreadImpl
long tid {-1}
 
std::thread::id id
 

Additional Inherited Members

- Static Public Member Functions inherited from yarp::os::impl::ThreadImpl
static int getCount ()
 
static long int getKeyOfCaller ()
 
static void yield ()
 

Detailed Description

Definition at line 17 of file Thread.cpp.

Constructor & Destructor Documentation

◆ Private()

yarp::os::Thread::Private::Private ( Thread owner)
inlineexplicit

Definition at line 23 of file Thread.cpp.

◆ ~Private()

yarp::os::Thread::Private::~Private ( )
overridedefault

Member Function Documentation

◆ afterStart()

void yarp::os::Thread::Private::afterStart ( bool  success)
inlineoverridevirtual

Reimplemented from yarp::os::impl::ThreadImpl.

Definition at line 36 of file Thread.cpp.

◆ beforeStart()

void yarp::os::Thread::Private::beforeStart ( )
inlineoverridevirtual

Reimplemented from yarp::os::impl::ThreadImpl.

Definition at line 31 of file Thread.cpp.

◆ close()

void yarp::os::Thread::Private::close ( )
inlineoverridevirtual

Reimplemented from yarp::os::impl::ThreadImpl.

Definition at line 46 of file Thread.cpp.

◆ run()

void yarp::os::Thread::Private::run ( )
inlineoverridevirtual

Reimplemented from yarp::os::impl::ThreadImpl.

Definition at line 41 of file Thread.cpp.

◆ threadInit()

bool yarp::os::Thread::Private::threadInit ( )
inlineoverridevirtual

Reimplemented from yarp::os::impl::ThreadImpl.

Definition at line 54 of file Thread.cpp.

◆ threadRelease()

void yarp::os::Thread::Private::threadRelease ( )
inlineoverridevirtual

Reimplemented from yarp::os::impl::ThreadImpl.

Definition at line 59 of file Thread.cpp.

Member Data Documentation

◆ stopping

bool yarp::os::Thread::Private::stopping

Definition at line 64 of file Thread.cpp.


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