GNU Octave  6.2.0
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 (const child &)=default
 
 child (pid_t id=-1, child_event_handler f=nullptr)
 
 ~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 39 of file child-list.h.

Member Typedef Documentation

◆ child_event_handler

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

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

Constructor & Destructor Documentation

◆ child() [1/2]

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

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

◆ child() [2/2]

octave::child::child ( const child )
default

◆ ~child()

octave::child::~child ( void  )
default

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ handler

child_event_handler octave::child::handler

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

◆ have_status

sig_atomic_t octave::child::have_status

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

◆ pid

pid_t octave::child::pid

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

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

◆ status

int octave::child::status

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


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