Apache Mesos
Public Member Functions | Public Attributes | Friends | List of all members
os::ProcessTree Class Reference

#include <process.hpp>

Public Member Functions

Option< ProcessTreefind (pid_t pid) const
 
bool contains (pid_t pid) const
 
 operator Process () const
 
 operator pid_t () const
 

Public Attributes

const Process process
 
const std::list< ProcessTreechildren
 

Friends

struct Fork
 
Try< ProcessTreepstree (pid_t, const std::list< Process > &)
 

Member Function Documentation

bool os::ProcessTree::contains ( pid_t  pid) const
inline
Option<ProcessTree> os::ProcessTree::find ( pid_t  pid) const
inline
os::ProcessTree::operator pid_t ( ) const
inline
os::ProcessTree::operator Process ( ) const
inline

Friends And Related Function Documentation

friend struct Fork
friend
Try<ProcessTree> pstree ( pid_t  pid,
const std::list< Process > &  processes 
)
friend

Member Data Documentation

const std::list<ProcessTree> os::ProcessTree::children
const Process os::ProcessTree::process

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