PVData C++ 8.0.7
Loading...
Searching...
No Matches
epics::pvData::Thread Class Reference

C++ wrapper for epicsThread from EPICS base. More...

#include <misc/pv/thread.h>

Inheritance diagram for epics::pvData::Thread:
Collaboration diagram for epics::pvData::Thread:

Classes

class  Config
 Create a new thread using the given. More...
 

Public Member Functions

 Thread (std::string name, ThreadPriority priority, Runnable *runnable, epicsThreadStackSizeClass stkcls=epicsThreadStackBig)
 

thread name.

Constructor

Parameters
runnablethis is a c function
stkclsstack size as specified by epicsThreadStackSizeClass
prioritypriority is one of:
enum ThreadPriority {
lowestPriority, lowerPriority, lowPriority,
middlePriority,
highPriority, higherPriority, highestPriority
};
static size_t num_instances
 
 Thread (Runnable &runnable, std::string name, unsigned int stksize, unsigned int priority=lowestPriority)
 
 Thread (Config &c)
 
 ~Thread ()
 

Detailed Description

C++ wrapper for epicsThread from EPICS base.

Definition at line 65 of file thread.h.

Constructor & Destructor Documentation

◆ Thread()

epics::pvData::Thread::Thread ( std::string name,
ThreadPriority priority,
Runnable * runnable,
epicsThreadStackSizeClass stkcls = epicsThreadStackBig )

Constructor

Parameters
namethread name.
prioritypriority is one of:
enum ThreadPriority {
lowestPriority, lowerPriority, lowPriority,
middlePriority,
highPriority, higherPriority, highestPriority
};
runnablethis is a c function
stkclsstack size as specified by epicsThreadStackSizeClass

◆ ~Thread()

epics::pvData::Thread::~Thread ( )

Destructor

Member Data Documentation

◆ num_instances

size_t epics::pvData::Thread::num_instances
static

Definition at line 192 of file thread.h.


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