GNU Octave  4.2.1
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 "child-list.h"

Collaboration diagram for octave::child:
Collaboration graph

Public Types

typedef bool(* child_event_handler )(pid_t, int)

Public Member Functions

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

Public Attributes

child_event_handler handler
sig_atomic_t have_status
pid_t pid
int status

Detailed Description

Definition at line 36 of file child-list.h.

Member Typedef Documentation

typedef bool(* octave::child::child_event_handler)(pid_t, int)

Definition at line 48 of file child-list.h.

Constructor & Destructor Documentation

octave::child::child ( pid_t  id = -1,
child_event_handler  f = 0 

Definition at line 50 of file child-list.h.

octave::child::child ( const child oc)

Definition at line 53 of file child-list.h.

octave::child::~child ( void  )

Definition at line 69 of file child-list.h.

Member Function Documentation

child& octave::child::operator= ( const child oc)

Definition at line 57 of file child-list.h.

References handler, have_status, pid, and status.

Member Data Documentation

child_event_handler octave::child::handler

Definition at line 75 of file child-list.h.

Referenced by operator=(), and octave::child_list::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: