GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::child Class Reference

#include "child-list.h"

Collaboration diagram for octave::child:

Public Types

typedef bool(* child_event_handler) (pid_t, int)

Public Member Functions

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

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

◆ child_event_handler

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

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

Constructor & Destructor Documentation

◆ child() [1/2]

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

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

◆ child() [2/2]

octave::child::child ( const child )

◆ ~child()

octave::child::~child ( void  )

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ handler

child_event_handler octave::child::handler

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

◆ have_status

sig_atomic_t octave::child::have_status

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

◆ pid

pid_t octave::child::pid

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

Referenced by octave::pid_equal::operator()().

◆ status

int octave::child::status

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

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