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

Public Member Functions

void init (QMutex *mutex, bool use_input)
 
void reset ()
 
void writeInput (char const *ptr, int len)
 
void closeInput ()
 

Public Attributes

QMutex * mutex = nullptr
 
std::vector< std::string > argvec
 
std::vector< char * > args
 
std::deque< char > inq
 
std::deque< char > outq
 
std::deque< char > errq
 
bool use_input = false
 
int fd_in_read = -1
 
int pid = 0
 
int exit_code = -1
 
bool close_input_later = false
 

Protected Member Functions

void run () override
 

Member Function Documentation

◆ closeInput()

void UnixProcessThread::closeInput ( )
inline

◆ init()

void UnixProcessThread::init ( QMutex *  mutex,
bool  use_input 
)
inline

◆ reset()

void UnixProcessThread::reset ( )
inline

◆ run()

void UnixProcessThread::run ( )
inlineoverrideprotected
Here is the call graph for this function:

◆ writeInput()

void UnixProcessThread::writeInput ( char const *  ptr,
int  len 
)
inline

Member Data Documentation

◆ args

std::vector<char *> UnixProcessThread::args

◆ argvec

std::vector<std::string> UnixProcessThread::argvec

◆ close_input_later

bool UnixProcessThread::close_input_later = false

◆ errq

std::deque<char> UnixProcessThread::errq

◆ exit_code

int UnixProcessThread::exit_code = -1

◆ fd_in_read

int UnixProcessThread::fd_in_read = -1

◆ inq

std::deque<char> UnixProcessThread::inq

◆ mutex

QMutex* UnixProcessThread::mutex = nullptr

◆ outq

std::deque<char> UnixProcessThread::outq

◆ pid

int UnixProcessThread::pid = 0

◆ use_input

bool UnixProcessThread::use_input = false

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