|
| ~Process () override |
|
bool | start (const char *const *argv) |
|
void | stop (int signal=SIGTERM) |
|
bool | isRunning () |
|
void | close () override |
|
void | waitForExit () |
|
void | closeWriteChannel () override |
|
const std::string & | executedCommand () const |
|
const std::string & | execError () const |
|
zypp::Pathname | chroot () const |
|
void | setChroot (const zypp::Pathname &chroot) |
|
bool | useDefaultLocale () const |
|
void | setUseDefaultLocale (bool defaultLocale) |
|
Environment | environment () const |
|
void | setEnvironment (const Environment &environment) |
|
pid_t | pid () |
|
int | exitStatus () const |
|
bool | dieWithParent () const |
|
void | setDieWithParent (bool enabled) |
|
bool | switchPgid () const |
|
void | setSwitchPgid (bool enabled) |
|
zypp::Pathname | workingDirectory () const |
|
void | setWorkingDirectory (const zypp::Pathname &workingDirectory) |
|
const std::vector< int > & | fdsToMap () const |
|
void | addFd (int fd) |
|
int | stdinFd () |
|
int | stdoutFd () |
|
int | stderrFd () |
|
SignalProxy< void()> | sigStarted () |
|
SignalProxy< void()> | sigFailedToStart () |
|
SignalProxy< void(int)> | sigFinished () |
|
OutputChannelMode | outputChannelMode () const |
|
void | setOutputChannelMode (const OutputChannelMode &outputChannelMode) |
|
bool | openFds (const std::vector< int > &readFds, int writeFd=-1) |
|
bool | waitForReadyRead (uint channel, int timeout) override |
|
void | flush () |
|
SignalProxy< void(AsyncDataSource::ChannelCloseReason)> | sigWriteFdClosed () |
|
SignalProxy< void(uint, AsyncDataSource::ChannelCloseReason)> | sigReadFdClosed () |
|
bool | readFdOpen () const |
|
bool | readFdOpen (uint channel) const |
|
bool | waitForReadyRead (int timeout) |
|
virtual bool | waitForReadyRead (uint channel, int timeout)=0 |
|
| ZYPP_DECLARE_FLAGS (OpenMode, OpenModeFlag) |
|
| IODevice () |
|
void | setReadChannel (uint channel) |
|
uint | currentReadChannel () const |
|
int | readChannelCount () const |
|
bool | canRead () const |
|
bool | canWrite () const |
|
bool | isOpen () const |
|
ByteArray | readAll () |
|
ByteArray | read (int64_t maxSize) |
|
int64_t | read (char *buf, int64_t maxSize) |
|
virtual ByteArray | readLine (const int64_t maxSize=0) |
|
virtual int64_t | bytesAvailable () const |
|
bool | canReadLine () const |
|
ByteArray | readAll (uint channel) |
|
ByteArray | read (uint channel, int64_t maxSize) |
|
int64_t | read (uint channel, char *buf, int64_t maxSize) |
|
ByteArray | channelReadLine (uint channel, int64_t maxSize=0) |
|
virtual int64_t | channelReadLine (uint channel, char *buf, const int64_t maxSize) |
|
virtual int64_t | bytesAvailable (uint channel) const |
|
bool | canReadLine (uint channel) const |
|
int64_t | write (const ByteArray &data) |
|
int64_t | write (const char *data, int64_t len) |
|
bool | waitForReadyRead (int timeout) |
|
SignalProxy< void()> | sigReadyRead () |
|
SignalProxy< void(uint)> | sigChannelReadyRead () |
|
SignalProxy< void(int64_t)> | sigBytesWritten () |
|
SignalProxy< void()> | sigAllBytesWritten () |
|
| Base () |
|
virtual | ~Base () |
|
WeakPtr | parent () const |
|
void | addChild (const Base::Ptr &child) |
|
void | removeChild (const Ptr &child) |
|
const std::unordered_set< Ptr > & | children () const |
|
std::thread::id | threadId () const |
|
template<typename T > |
std::vector< std::weak_ptr< T > > | findChildren () const |
|
template<typename T > |
std::shared_ptr< T > | shared_this () const |
|
template<typename T > |
std::shared_ptr< T > | shared_this () |
|
template<typename T > |
std::weak_ptr< T > | weak_this () const |
|
template<typename T > |
std::weak_ptr< T > | weak_this () |
|
template<typename SenderFunc , typename ReceiverFunc > |
auto | connect (SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
|
template<typename SenderFunc , typename ReceiverFunc , typename ... Tracker> |
std::enable_if_t< std::is_member_function_pointer_v< SenderFunc >, connection > | connectFunc (SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
|
Definition at line 29 of file process.h.