Guitar
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
OutputReaderThread Class Reference

Public Member Functions

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

Protected Member Functions

void run ()
 

Private Attributes

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

Constructor & Destructor Documentation

◆ OutputReaderThread()

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

◆ ~OutputReaderThread()

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

Member Function Documentation

◆ run()

void OutputReaderThread::run ( )
inlineprotected

◆ start()

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

◆ stop()

void OutputReaderThread::stop ( )
inline

◆ wait()

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

Member Data Documentation

◆ buffer_

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

◆ fd

int OutputReaderThread::fd
private

◆ mutex_

std::mutex* OutputReaderThread::mutex_
private

◆ thread_

std::thread OutputReaderThread::thread_
private

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