#include <thread.h>
◆ Thread() [1/2]
apollo::perception::lib::Thread::Thread |
( |
bool |
joinable = false , |
|
|
const std::string & |
name = "Thread" |
|
) |
| |
|
inlineexplicit |
◆ Thread() [2/2]
apollo::perception::lib::Thread::Thread |
( |
const Thread & |
| ) |
|
|
delete |
◆ get_thread_name()
std::string apollo::perception::lib::Thread::get_thread_name |
( |
| ) |
const |
|
inline |
◆ IsAlive()
bool apollo::perception::lib::Thread::IsAlive |
( |
| ) |
|
◆ Join()
void apollo::perception::lib::Thread::Join |
( |
| ) |
|
◆ operator=()
Thread& apollo::perception::lib::Thread::operator= |
( |
const Thread & |
| ) |
|
|
delete |
◆ Run()
virtual void apollo::perception::lib::Thread::Run |
( |
| ) |
|
|
protectedpure virtual |
◆ set_joinable()
void apollo::perception::lib::Thread::set_joinable |
( |
bool |
joinable | ) |
|
|
inline |
◆ set_thread_name()
void apollo::perception::lib::Thread::set_thread_name |
( |
const std::string & |
name | ) |
|
|
inline |
◆ Start()
void apollo::perception::lib::Thread::Start |
( |
| ) |
|
◆ ThreadRunner()
static void* apollo::perception::lib::Thread::ThreadRunner |
( |
void * |
arg | ) |
|
|
inlinestaticprotected |
◆ tid()
pthread_t apollo::perception::lib::Thread::tid |
( |
| ) |
const |
|
inline |
◆ joinable_
bool apollo::perception::lib::Thread::joinable_ |
|
protected |
◆ started_
bool apollo::perception::lib::Thread::started_ |
|
protected |
◆ thread_name_
std::string apollo::perception::lib::Thread::thread_name_ |
|
protected |
◆ tid_
pthread_t apollo::perception::lib::Thread::tid_ |
|
protected |
The documentation for this class was generated from the following file: