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

#include "child-list.h"

Public Types

typedef bool(* child_event_handler) (pid_t, int)
 

Public Member Functions

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

Public Attributes

child_event_handler m_handler
 
sig_atomic_t m_have_status
 
pid_t m_pid
 
int m_status
 

Detailed Description

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

Member Typedef Documentation

◆ child_event_handler

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

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

Constructor & Destructor Documentation

◆ child() [1/2]

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

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

◆ child() [2/2]

child::child ( const child )
default

◆ ~child()

child::~child ( )
default

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ m_handler

child_event_handler child::m_handler

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

◆ m_have_status

sig_atomic_t child::m_have_status

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

◆ m_pid

pid_t child::m_pid

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

Referenced by child_list::remove().

◆ m_status

int child::m_status

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


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