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

#include <eventhandler_fuchsia.h>

Inheritance diagram for dart::bin::DescriptorInfo:
dart::bin::DescriptorInfoBase dart::bin::DescriptorInfoBase dart::bin::DescriptorInfoBase dart::bin::DescriptorInfoMultipleMixin< DescriptorInfo > dart::bin::DescriptorInfoSingleMixin< DescriptorInfo > dart::bin::DescriptorInfoMultiple dart::bin::DescriptorInfoMultiple dart::bin::DescriptorInfoMultiple dart::bin::DescriptorInfoSingle dart::bin::DescriptorInfoSingle dart::bin::DescriptorInfoSingle

Public Member Functions

 DescriptorInfo (intptr_t fd)
 
virtual ~DescriptorInfo ()
 
virtual void Close ()
 
IOHandleio_handle () const
 
 DescriptorInfo (intptr_t fd)
 
virtual ~DescriptorInfo ()
 
intptr_t GetPollEvents ()
 
virtual void Close ()
 
 DescriptorInfo (intptr_t fd)
 
virtual ~DescriptorInfo ()
 
intptr_t GetPollEvents ()
 
virtual void Close ()
 
void set_tracked_by_kqueue (bool value)
 
bool tracked_by_kqueue ()
 
bool HasReadEvent ()
 
bool HasWriteEvent ()
 
- Public Member Functions inherited from dart::bin::DescriptorInfoBase
 DescriptorInfoBase (intptr_t fd)
 
virtual ~DescriptorInfoBase ()
 
intptr_t fd ()
 
virtual bool IsListeningSocket () const =0
 
virtual void SetPortAndMask (Dart_Port port, intptr_t mask)=0
 
virtual void RemovePort (Dart_Port port)=0
 
virtual void RemoveAllPorts ()=0
 
virtual Dart_Port NextNotifyDartPort (intptr_t events_ready)=0
 
virtual void NotifyAllDartPorts (uintptr_t events)=0
 
virtual void ReturnTokens (Dart_Port port, int count)=0
 
virtual intptr_t Mask ()=0
 
virtual void Close ()=0
 

Protected Attributes

bool tracked_by_kqueue_
 
- Protected Attributes inherited from dart::bin::DescriptorInfoBase
intptr_t fd_
 

Detailed Description

Definition at line 94 of file eventhandler_fuchsia.h.

Constructor & Destructor Documentation

◆ DescriptorInfo() [1/3]

dart::bin::DescriptorInfo::DescriptorInfo ( intptr_t  fd)
inlineexplicit

Definition at line 96 of file eventhandler_fuchsia.h.

97 IOHandle* handle = reinterpret_cast<IOHandle*>(fd);
98 handle->Retain();
99 }

◆ ~DescriptorInfo() [1/3]

virtual dart::bin::DescriptorInfo::~DescriptorInfo ( )
inlinevirtual

Definition at line 101 of file eventhandler_fuchsia.h.

101 {
102 IOHandle* handle = reinterpret_cast<IOHandle*>(fd_);
103 handle->Release();
104 }

◆ DescriptorInfo() [2/3]

dart::bin::DescriptorInfo::DescriptorInfo ( intptr_t  fd)
inlineexplicit

Definition at line 25 of file eventhandler_linux.h.

◆ ~DescriptorInfo() [2/3]

virtual dart::bin::DescriptorInfo::~DescriptorInfo ( )
inlinevirtual

Definition at line 27 of file eventhandler_linux.h.

27{}

◆ DescriptorInfo() [3/3]

dart::bin::DescriptorInfo::DescriptorInfo ( intptr_t  fd)
inlineexplicit

Definition at line 25 of file eventhandler_macos.h.

◆ ~DescriptorInfo() [3/3]

virtual dart::bin::DescriptorInfo::~DescriptorInfo ( )
inlinevirtual

Definition at line 28 of file eventhandler_macos.h.

28{}

Member Function Documentation

◆ Close() [1/3]

virtual void dart::bin::DescriptorInfo::Close ( )
inlinevirtual

Implements dart::bin::DescriptorInfoBase.

Reimplemented in dart::bin::DescriptorInfoSingleMixin< DescriptorInfo >, and dart::bin::DescriptorInfoMultipleMixin< DescriptorInfo >.

Definition at line 106 of file eventhandler_fuchsia.h.

106 {
107 IOHandle* handle = reinterpret_cast<IOHandle*>(fd_);
108 handle->Close();
109 }

◆ Close() [2/3]

virtual void dart::bin::DescriptorInfo::Close ( )
inlinevirtual

◆ Close() [3/3]

virtual void dart::bin::DescriptorInfo::Close ( )
inlinevirtual

◆ GetPollEvents() [1/2]

intptr_t dart::bin::DescriptorInfo::GetPollEvents ( )

◆ GetPollEvents() [2/2]

intptr_t dart::bin::DescriptorInfo::GetPollEvents ( )

◆ HasReadEvent()

bool dart::bin::DescriptorInfo::HasReadEvent ( )

◆ HasWriteEvent()

bool dart::bin::DescriptorInfo::HasWriteEvent ( )

◆ io_handle()

IOHandle * dart::bin::DescriptorInfo::io_handle ( ) const
inline

Definition at line 111 of file eventhandler_fuchsia.h.

111{ return reinterpret_cast<IOHandle*>(fd_); }

◆ set_tracked_by_kqueue()

void dart::bin::DescriptorInfo::set_tracked_by_kqueue ( bool  value)
inline

Definition at line 37 of file eventhandler_macos.h.

◆ tracked_by_kqueue()

bool dart::bin::DescriptorInfo::tracked_by_kqueue ( )
inline

Definition at line 39 of file eventhandler_macos.h.

39{ return tracked_by_kqueue_; }

Member Data Documentation

◆ tracked_by_kqueue_

bool dart::bin::DescriptorInfo::tracked_by_kqueue_
protected

Definition at line 46 of file eventhandler_macos.h.


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