libopie API Documentation

OProcessController Class Reference

Used internally by OProcess. More...

#include <oprocctrl.h>

Inheritance diagram for OProcessController:

Inheritance graph
[legend]
Collaboration diagram for OProcessController:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotDoHousekeeping (int socket)

Public Member Functions

void addOProcess (OProcess *)
void removeOProcess (OProcess *)

Static Public Member Functions

void theSigCHLDHandler (int signal)
 Automatically called upon SIGCHLD.

void setupHandlers ()
void resetHandlers ()

Static Public Attributes

OProcessControllertheOProcessController = 0
 Only a single instance of this class is allowed at a time, and this static variable is used to track the one instance.


Detailed Description

Used internally by OProcess.

Definition at line 51 of file oprocctrl.h.


Member Function Documentation

void OProcessController::theSigCHLDHandler int  signal  )  [static]
 

Automatically called upon SIGCHLD.

Normally you do not need to do anything with this function but if your application needs to disable SIGCHLD for some time for reasons beyond your control, you should call this function afterwards to make sure that no SIGCHLDs where missed.

Definition at line 141 of file oprocctrl.cpp.

References QValueList< OProcess * >::begin(), QValueList< OProcess * >::end(), fd, processList, and theOProcessController.


Member Data Documentation

OProcessController * OProcessController::theOProcessController = 0 [static]
 

Only a single instance of this class is allowed at a time, and this static variable is used to track the one instance.

Definition at line 45 of file oprocctrl.cpp.

Referenced by theSigCHLDHandler().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:59 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001