Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::bin::SignalInfo Class Reference

#include <process.h>

Public Member Functions

 SignalInfo (intptr_t fd, intptr_t signal, sa_handler_t oldact, SignalInfo *next)
 
 ~SignalInfo ()
 
void Unlink ()
 
intptr_t fd () const
 
intptr_t signal () const
 
sa_handler_t oldact () const
 
Dart_Port port () const
 
SignalInfonext () const
 

Detailed Description

Definition at line 175 of file process.h.

Constructor & Destructor Documentation

◆ SignalInfo()

dart::bin::SignalInfo::SignalInfo ( intptr_t  fd,
intptr_t  signal,
sa_handler_t  oldact,
SignalInfo next 
)
inline

Definition at line 177 of file process.h.

181 : fd_(fd),
182 signal_(signal),
183 oldact_(oldact),
184 // SignalInfo is expected to be created when in a isolate.
185 port_(Dart_GetMainPortId()),
186 next_(next),
187 prev_(nullptr) {
188 if (next_ != nullptr) {
189 next_->prev_ = this;
190 }
191 }
intptr_t signal() const
Definition: process.h:205
intptr_t fd() const
Definition: process.h:204
SignalInfo * next() const
Definition: process.h:208
sa_handler_t oldact() const
Definition: process.h:206
DART_EXPORT Dart_Port Dart_GetMainPortId()

◆ ~SignalInfo()

dart::bin::SignalInfo::~SignalInfo ( )

Member Function Documentation

◆ fd()

intptr_t dart::bin::SignalInfo::fd ( ) const
inline

Definition at line 204 of file process.h.

204{ return fd_; }

◆ next()

SignalInfo * dart::bin::SignalInfo::next ( ) const
inline

Definition at line 208 of file process.h.

208{ return next_; }

◆ oldact()

sa_handler_t dart::bin::SignalInfo::oldact ( ) const
inline

Definition at line 206 of file process.h.

206{ return oldact_; }

◆ port()

Dart_Port dart::bin::SignalInfo::port ( ) const
inline

Definition at line 207 of file process.h.

207{ return port_; }

◆ signal()

intptr_t dart::bin::SignalInfo::signal ( ) const
inline

Definition at line 205 of file process.h.

205{ return signal_; }

◆ Unlink()

void dart::bin::SignalInfo::Unlink ( )
inline

Definition at line 195 of file process.h.

195 {
196 if (prev_ != nullptr) {
197 prev_->next_ = next_;
198 }
199 if (next_ != nullptr) {
200 next_->prev_ = prev_;
201 }
202 }

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