#include <Fork.h>
Public Member Functions | |
fnode_t (pid_t pid_, Fork::state_t state_) | |
Constructor. | |
pid_t | getPID () const |
Retrieve child pid. | |
bool | needKill () const |
Retrieve kill flag. | |
Private Attributes | |
pid_t | m_pid |
Child pid. | |
Fork::state_t | m_state |
Child state {kill, wait}. |
Definition at line 184 of file Fork.h.
|
Constructor.
Definition at line 187 of file Fork.h. References ASSA::FORK, and trace_with_mask. 00188 : m_pid(pid_), m_state(state_) 00189 { 00190 trace_with_mask("fnode_t::fnode_t",FORK); 00191 }
|
|
Retrieve child pid.
Definition at line 194 of file Fork.h. References ASSA::FORK, m_pid, and trace_with_mask. 00195 { 00196 trace_with_mask("fnode_t::getPID",FORK); 00197 return m_pid; 00198 }
|
|
Retrieve kill flag.
Definition at line 201 of file Fork.h. References ASSA::FORK, ASSA::Fork::KILL_ON_EXIT, m_state, and trace_with_mask. 00202 { 00203 trace_with_mask("fnode_t::needKill",FORK); 00204 return m_state == Fork::KILL_ON_EXIT ? true : false; 00205 }
|
|
Child pid.
Definition at line 208 of file Fork.h. Referenced by getPID(). |
|
Child state {kill, wait}.
Definition at line 211 of file Fork.h. Referenced by needKill(). |