#include <process_observer.hpp>
dcf::ProcessObserver::ProcessObserver |
( |
| ) |
|
virtual dcf::ProcessObserver::~ProcessObserver |
( |
| ) |
|
|
virtual |
Destructs object and kills his child process if created.
pid_t dcf::ProcessObserver::getObserverPID |
( |
| ) |
|
|
inline |
pid_t dcf::ProcessObserver::getProcPID |
( |
| ) |
|
|
inline |
Gets PID of process to be observed.
virtual void dcf::ProcessObserver::procDeadAction |
( |
| ) |
|
|
protectedvirtual |
Provides action when process is terminated.
void dcf::ProcessObserver::stop |
( |
| ) |
|
pid_t dcf::ProcessObserver::m_observer_pid |
|
protected |
< Current PID of child process or -1 if not started. PID of parrent process to be observed.
The documentation for this class was generated from the following file: