Mario Kart 64
Loading...
Searching...
No Matches
pfd::internal::executor Class Reference

#include <portable-file-dialogs.h>

Collaboration diagram for pfd::internal::executor:
[legend]

Public Member Functions

std::string result (int *exit_code=nullptr)
 
bool kill ()
 
void start_process (std::vector< std::string > const &command)
 
 ~executor ()
 

Protected Member Functions

bool ready (int timeout=default_wait_timeout)
 
void stop ()
 

Private Attributes

bool m_running = false
 
std::string m_stdout
 
int m_exit_code = -1
 
pid_t m_pid = 0
 
int m_fd = -1
 

Friends

class dialog
 

Constructor & Destructor Documentation

◆ ~executor()

pfd::internal::executor::~executor ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ kill()

bool pfd::internal::executor::kill ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ready()

bool pfd::internal::executor::ready ( int timeout = default_wait_timeout)
inlineprotected
Here is the caller graph for this function:

◆ result()

std::string pfd::internal::executor::result ( int * exit_code = nullptr)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_process()

void pfd::internal::executor::start_process ( std::vector< std::string > const & command)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

void pfd::internal::executor::stop ( )
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ dialog

friend class dialog
friend

Field Documentation

◆ m_exit_code

int pfd::internal::executor::m_exit_code = -1
private

◆ m_fd

int pfd::internal::executor::m_fd = -1
private

◆ m_pid

pid_t pfd::internal::executor::m_pid = 0
private

◆ m_running

bool pfd::internal::executor::m_running = false
private

◆ m_stdout

std::string pfd::internal::executor::m_stdout
private

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