Class Index Cross Index Namespace Index

Class General::Fork


Contained in: General
Derived from: none
Derived by: none

#include "general/Fork.hh"


public function member index:

Fork();
virtual ~Fork();
pid_t ChildPid() const;
void Spawn();
 

protected function member index:

virtual void evalChild();
virtual void evalParent();
int getReadFD() const;
int getWriteFD() const;
bool isParent() const;
 

private function member index:

void close_pipe(int Major, int Minor);
void close_pipes();
 

Description:



Function Member Descriptions:


General::Fork::Fork


Fork();



General::Fork::~Fork


virtual ~Fork();



General::Fork::ChildPid


pid_t ChildPid() const;



General::Fork::Spawn


void Spawn();



General::Fork::close_pipe


void close_pipe(int Major, int Minor);



General::Fork::close_pipes


void close_pipes();



General::Fork::evalChild


virtual void evalChild();



General::Fork::evalParent


virtual void evalParent();



General::Fork::getReadFD


int getReadFD() const;



General::Fork::getWriteFD


int getWriteFD() const;



General::Fork::isParent


bool isParent() const;



Variable Member Descriptions:


General::Fork::m_child_pid -

pid_t m_child_pid;

General::Fork::m_pipes -

int [2][2] m_pipes;