GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
octave_child Class Reference

#include "sighandlers.h"

Collaboration diagram for octave_child:
Collaboration graph
[legend]

Public Types

typedef bool(* child_event_handler )(pid_t, int)

Public Member Functions

 octave_child (pid_t id=-1, child_event_handler f=0)
 octave_child (const octave_child &oc)
 ~octave_child (void)
octave_childoperator= (const octave_child &oc)

Public Attributes

child_event_handler handler
sig_atomic_t have_status
pid_t pid
int status

Detailed Description

Definition at line 93 of file sighandlers.h.

Member Typedef Documentation

typedef bool(* octave_child::child_event_handler)(pid_t, int)

Definition at line 105 of file sighandlers.h.

Constructor & Destructor Documentation

octave_child::octave_child ( pid_t  id = -1,
child_event_handler  f = 0 
)
inline

Definition at line 107 of file sighandlers.h.

octave_child::octave_child ( const octave_child oc)
inline

Definition at line 110 of file sighandlers.h.

octave_child::~octave_child ( void  )
inline

Definition at line 126 of file sighandlers.h.

Member Function Documentation

octave_child& octave_child::operator= ( const octave_child oc)
inline

Definition at line 114 of file sighandlers.h.

References handler, have_status, pid, and status.

Member Data Documentation

child_event_handler octave_child::handler

Definition at line 132 of file sighandlers.h.

Referenced by operator=(), and octave_child_list::octave_child_list_rep::reap().

sig_atomic_t octave_child::have_status
pid_t octave_child::pid
int octave_child::status

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