ASSA::fnode_t Class Reference

forknode_t class. More...

#include <Fork.h>

List of all members.

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}.


Detailed Description

forknode_t class.

Definition at line 195 of file Fork.h.


Constructor & Destructor Documentation

ASSA::fnode_t::fnode_t pid_t  pid_,
Fork::state_t  state_
[inline]
 

Constructor.

Definition at line 198 of file Fork.h.

References ASSA::FORK, and trace_with_mask.

00199         : m_pid(pid_), m_state(state_)
00200         {
00201             trace_with_mask("fnode_t::fnode_t",FORK);
00202         }


Member Function Documentation

pid_t ASSA::fnode_t::getPID  )  const [inline]
 

Retrieve child pid.

Definition at line 205 of file Fork.h.

References ASSA::FORK, m_pid, and trace_with_mask.

00206         {
00207             trace_with_mask("fnode_t::getPID",FORK);
00208             return m_pid;
00209         }

bool ASSA::fnode_t::needKill  )  const [inline]
 

Retrieve kill flag.

Definition at line 212 of file Fork.h.

References ASSA::FORK, ASSA::Fork::KILL_ON_EXIT, m_state, and trace_with_mask.

00213         {
00214             trace_with_mask("fnode_t::needKill",FORK);
00215             return  m_state == Fork::KILL_ON_EXIT ? true : false;
00216         }


Member Data Documentation

pid_t ASSA::fnode_t::m_pid [private]
 

Child pid.

Definition at line 219 of file Fork.h.

Referenced by getPID().

Fork::state_t ASSA::fnode_t::m_state [private]
 

Child state {kill, wait}.

Definition at line 222 of file Fork.h.

Referenced by needKill().


The documentation for this class was generated from the following file:
Generated on Sun Aug 13 15:08:19 2006 for libassa by  doxygen 1.4.6