16 #if __cplusplus>=201103L 27 namespace epics {
namespace pvData {
40 typedef std::tr1::shared_ptr<Thread>
ThreadPtr;
97 unsigned int p_prio, p_stack;
98 std::ostringstream p_strm;
101 typedef epics::auto_ptr<Runnable> p_owned_runner_t;
102 p_owned_runner_t p_owned_runner;
104 Runnable& x_getrunner();
110 Config(
void(*
fn)(
void*),
void *ptr);
112 Config(C*
inst,
void(C::*meth)()) {this->x_setdefault();this->
run(inst, meth);}
113 #if __cplusplus>=201103L 117 Config& name(
const std::string& n);
118 Config& prio(
unsigned int p);
120 Config& autostart(
bool a);
131 this->p_runner = this->p_owned_runner.get();
134 #if __cplusplus>=201103L 178 Thread(Runnable &runnable,
180 unsigned int stksize,
194 Config::p_owned_runner_t p_owned;
#define epicsThreadPriorityMedium
static size_t num_instances
TODO only here because of the Lockable.
Mark external symbols and entry points for shared libraries.
Config(C *inst, void(C::*meth)())
epicsThreadStackSizeClass
#define epicsThreadPriorityLow
Config & operator<<(T x)
Append to thread name string. Argument must be understood by std::ostream::operator<<.
Config & run(C *inst, void(C::*meth)())
Thread will execute (inst->*meth)()
Create a new thread using the given.
#define epicsThreadPriorityHigh
C++ wrapper for epicsThread from EPICS base.
std::tr1::shared_ptr< epicsThread > EpicsThreadPtr
C++ and C descriptions for a thread.
std::tr1::shared_ptr< Thread > ThreadPtr
#define EPICS_NOT_COPYABLE(CLASS)
Disable implicit copyable.
epicsThreadRunable Runnable