![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Create a new thread using the given. More...
#include "thread.h"
Public Member Functions | |
Config () | |
Config (Runnable *r) | |
Config (void(*fn)(void *), void *ptr) | |
template<typename C > | |
Config (C *inst, void(C::*meth)()) | |
Config & | name (const std::string &n) |
Config & | prio (unsigned int p) |
Config & | stack (epicsThreadStackSizeClass s) |
Config & | autostart (bool a) |
Config & | run (Runnable *r) |
Thread will execute Runnable::run() More... | |
Config & | run (void(*fn)(void *), void *ptr) |
Thread will execute (*fn)(ptr) More... | |
template<typename C > | |
Config & | run (C *inst, void(C::*meth)()) |
Thread will execute (inst->*meth)() More... | |
template<typename T > | |
Config & | operator<< (T x) |
Append to thread name string. Argument must be understood by std::ostream::operator<<. More... | |
Friends | |
class | Thread |
Create a new thread using the given.
be reused.
Defaults: name: "" priority: epicsThreadPriorityLow (aka epics::pvData::lowestPriority) stack size: epicsThreadStackSmall auto start: true runner: nil (must be set explictly)
std::logic_error | for improper |
runner)
epics::pvData::Thread::Config::Config | ( | ) |
Definition at line 60 of file thread.cpp.
epics::pvData::Thread::Config::Config | ( | Runnable * | r | ) |
Definition at line 62 of file thread.cpp.
epics::pvData::Thread::Config::Config | ( | void(*)(void *) | fn, |
void * | ptr | ||
) |
Definition at line 64 of file thread.cpp.
|
inline |
Definition at line 112 of file thread.h.
Thread::Config & epics::pvData::Thread::Config::autostart | ( | bool | a | ) |
Definition at line 79 of file thread.cpp.
Thread::Config & epics::pvData::Thread::Config::name | ( | const std::string & | n | ) |
Definition at line 70 of file thread.cpp.
|
inline |
Thread::Config & epics::pvData::Thread::Config::prio | ( | unsigned int | p | ) |
Definition at line 73 of file thread.cpp.
Thread::Config & epics::pvData::Thread::Config::run | ( | Runnable * | r | ) |
Thread will execute Runnable::run()
Definition at line 82 of file thread.cpp.
Thread::Config & epics::pvData::Thread::Config::run | ( | void(*)(void *) | fn, |
void * | ptr | ||
) |
|
inline |
Thread::Config & epics::pvData::Thread::Config::stack | ( | epicsThreadStackSizeClass | s | ) |
Definition at line 76 of file thread.cpp.