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

Public Member Functions

 OutputReaderThread (int fd, std::mutex *mutex, std::deque< char > *out)
 
 ~OutputReaderThread ()
 
void start ()
 
void stop ()
 
void wait ()
 
 OutputReaderThread (HANDLE hRead, std::mutex *mutex, std::deque< char > *buffer)
 
 ~OutputReaderThread ()
 
void start ()
 
void stop ()
 
void wait ()
 

Protected Member Functions

void run ()
 
void run ()
 

Private Attributes

int fd
 
std::thread thread_
 
std::mutex * mutex_
 
std::deque< char > * buffer_
 
HANDLE hRead
 
std::thread thread
 
std::mutex * mutex
 
std::deque< char > * buffer
 

Constructor & Destructor Documentation

◆ OutputReaderThread() [1/2]

OutputReaderThread::OutputReaderThread ( int  fd,
std::mutex *  mutex,
std::deque< char > *  out 
)
inline

◆ ~OutputReaderThread() [1/2]

OutputReaderThread::~OutputReaderThread ( )
inline
Here is the call graph for this function:

◆ OutputReaderThread() [2/2]

OutputReaderThread::OutputReaderThread ( HANDLE  hRead,
std::mutex *  mutex,
std::deque< char > *  buffer 
)
inline

◆ ~OutputReaderThread() [2/2]

OutputReaderThread::~OutputReaderThread ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ run() [1/2]

void OutputReaderThread::run ( )
inlineprotected

◆ run() [2/2]

void OutputReaderThread::run ( )
inlineprotected

◆ start() [1/2]

void OutputReaderThread::start ( )
inline
Here is the call graph for this function:

◆ start() [2/2]

void OutputReaderThread::start ( )
inline
Here is the call graph for this function:

◆ stop() [1/2]

void OutputReaderThread::stop ( )
inline

◆ stop() [2/2]

void OutputReaderThread::stop ( )
inline

◆ wait() [1/2]

void OutputReaderThread::wait ( )
inline
Here is the call graph for this function:

◆ wait() [2/2]

void OutputReaderThread::wait ( )
inline
Here is the call graph for this function:

Member Data Documentation

◆ buffer

std::deque<char>* OutputReaderThread::buffer
private

◆ buffer_

std::deque<char>* OutputReaderThread::buffer_
private

◆ fd

int OutputReaderThread::fd
private

◆ hRead

HANDLE OutputReaderThread::hRead
private

◆ mutex

std::mutex* OutputReaderThread::mutex
private

◆ mutex_

std::mutex* OutputReaderThread::mutex_
private

◆ thread

std::thread OutputReaderThread::thread
private

◆ thread_

std::thread OutputReaderThread::thread_
private

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