Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
dart::StreamInfo Class Reference

#include <service.h>

Public Member Functions

 StreamInfo (const char *id)
 
const char * id () const
 
void set_enabled (bool value)
 
bool enabled () const
 
void set_include_private_members (bool value)
 
bool include_private_members () const
 

Static Public Member Functions

static intptr_t enabled_offset ()
 

Detailed Description

Definition at line 72 of file service.h.

Constructor & Destructor Documentation

◆ StreamInfo()

dart::StreamInfo::StreamInfo ( const char *  id)
inlineexplicit

Definition at line 74 of file service.h.

75 : id_(id), enabled_(0), include_private_members_(false) {}

Member Function Documentation

◆ enabled()

bool dart::StreamInfo::enabled ( ) const
inline

Definition at line 80 of file service.h.

80{ return enabled_ != 0; }

◆ enabled_offset()

static intptr_t dart::StreamInfo::enabled_offset ( )
inlinestatic

Definition at line 88 of file service.h.

88{ return OFFSET_OF(StreamInfo, enabled_); }
StreamInfo(const char *id)
Definition: service.h:74
#define OFFSET_OF(type, field)
Definition: globals.h:138

◆ id()

const char * dart::StreamInfo::id ( ) const
inline

Definition at line 77 of file service.h.

77{ return id_; }

◆ include_private_members()

bool dart::StreamInfo::include_private_members ( ) const
inline

Definition at line 85 of file service.h.

85{ return include_private_members_; }

◆ set_enabled()

void dart::StreamInfo::set_enabled ( bool  value)
inline

Definition at line 79 of file service.h.

79{ enabled_ = value ? 1 : 0; }
uint8_t value

◆ set_include_private_members()

void dart::StreamInfo::set_include_private_members ( bool  value)
inline

Definition at line 82 of file service.h.

82 {
83 include_private_members_ = value;
84 }

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