Guitar
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ProcessThread::StreamThread Class Reference
Inheritance diagram for ProcessThread::StreamThread:
Inheritance graph
[legend]
Collaboration diagram for ProcessThread::StreamThread:
Collaboration graph
[legend]

Public Member Functions

void Prepare (ProcessThread *pt)
 
int ReadOutput (char *ptr, size_t len)
 
- Public Member Functions inherited from Thread
 Thread ()
 
virtual ~Thread ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void join ()
 
virtual void terminate ()
 
virtual void detach ()
 
bool running () const
 

Protected Member Functions

void run () override
 
- Protected Member Functions inherited from Thread
virtual bool interrupted () const
 

Private Attributes

ProcessThreadprocthread
 
std::deque< char > out
 
Mutex mutex
 

Additional Inherited Members

- Static Public Member Functions inherited from Thread
static void * run_ (void *arg)
 
- Public Attributes inherited from Thread
volatile bool _interrupted
 
bool _running
 
pthread_t _thread_handle
 

Member Function Documentation

◆ Prepare()

void ProcessThread::StreamThread::Prepare ( ProcessThread pt)
inline

◆ ReadOutput()

int ProcessThread::StreamThread::ReadOutput ( char *  ptr,
size_t  len 
)
inline
Here is the call graph for this function:

◆ run()

void ProcessThread::StreamThread::run ( )
inlineoverrideprotectedvirtual

Implements Thread.

Here is the call graph for this function:

Member Data Documentation

◆ mutex

Mutex ProcessThread::StreamThread::mutex
private

◆ out

std::deque<char> ProcessThread::StreamThread::out
private

◆ procthread

ProcessThread* ProcessThread::StreamThread::procthread
private

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