Flutter Engine
The Flutter Engine
|
#include <dart_isolate_group_data.h>
Public Member Functions | |
DartIsolateGroupData (const Settings &settings, fml::RefPtr< const DartSnapshot > isolate_snapshot, std::string advisory_script_uri, std::string advisory_script_entrypoint, const ChildIsolatePreparer &child_isolate_preparer, const fml::closure &isolate_create_callback, const fml::closure &isolate_shutdown_callback) | |
~DartIsolateGroupData () | |
const Settings & | GetSettings () const |
fml::RefPtr< const DartSnapshot > | GetIsolateSnapshot () const |
const std::string & | GetAdvisoryScriptURI () const |
const std::string & | GetAdvisoryScriptEntrypoint () const |
ChildIsolatePreparer | GetChildIsolatePreparer () const |
const fml::closure & | GetIsolateCreateCallback () const |
const fml::closure & | GetIsolateShutdownCallback () const |
void | SetChildIsolatePreparer (const ChildIsolatePreparer &value) |
void | AddKernelBuffer (const std::shared_ptr< const fml::Mapping > &buffer) |
Adds a kernel buffer mapping to the kernels loaded for this isolate group. More... | |
std::vector< std::shared_ptr< const fml::Mapping > > | GetKernelBuffers () const |
void | SetPlatformMessageHandler (int64_t root_isolate_token, std::weak_ptr< PlatformMessageHandler > handler) override |
std::weak_ptr< PlatformMessageHandler > | GetPlatformMessageHandler (int64_t root_isolate_token) const override |
Public Member Functions inherited from flutter::PlatformMessageHandlerStorage | |
virtual | ~PlatformMessageHandlerStorage ()=default |
virtual void | SetPlatformMessageHandler (int64_t root_isolate_token, std::weak_ptr< PlatformMessageHandler > handler)=0 |
virtual std::weak_ptr< PlatformMessageHandler > | GetPlatformMessageHandler (int64_t root_isolate_token) const =0 |
Definition at line 31 of file dart_isolate_group_data.h.
flutter::DartIsolateGroupData::DartIsolateGroupData | ( | const Settings & | settings, |
fml::RefPtr< const DartSnapshot > | isolate_snapshot, | ||
std::string | advisory_script_uri, | ||
std::string | advisory_script_entrypoint, | ||
const ChildIsolatePreparer & | child_isolate_preparer, | ||
const fml::closure & | isolate_create_callback, | ||
const fml::closure & | isolate_shutdown_callback | ||
) |
Definition at line 13 of file dart_isolate_group_data.cc.
|
default |
void flutter::DartIsolateGroupData::AddKernelBuffer | ( | const std::shared_ptr< const fml::Mapping > & | buffer | ) |
Adds a kernel buffer mapping to the kernels loaded for this isolate group.
Definition at line 86 of file dart_isolate_group_data.cc.
const std::string & flutter::DartIsolateGroupData::GetAdvisoryScriptEntrypoint | ( | ) | const |
Definition at line 46 of file dart_isolate_group_data.cc.
const std::string & flutter::DartIsolateGroupData::GetAdvisoryScriptURI | ( | ) | const |
Definition at line 42 of file dart_isolate_group_data.cc.
ChildIsolatePreparer flutter::DartIsolateGroupData::GetChildIsolatePreparer | ( | ) | const |
Definition at line 50 of file dart_isolate_group_data.cc.
const fml::closure & flutter::DartIsolateGroupData::GetIsolateCreateCallback | ( | ) | const |
Definition at line 55 of file dart_isolate_group_data.cc.
const fml::closure & flutter::DartIsolateGroupData::GetIsolateShutdownCallback | ( | ) | const |
Definition at line 59 of file dart_isolate_group_data.cc.
fml::RefPtr< const DartSnapshot > flutter::DartIsolateGroupData::GetIsolateSnapshot | ( | ) | const |
Definition at line 37 of file dart_isolate_group_data.cc.
std::vector< std::shared_ptr< const fml::Mapping > > flutter::DartIsolateGroupData::GetKernelBuffers | ( | ) | const |
A copy of the mappings for all kernel buffer objects loaded into this isolate group.
Definition at line 92 of file dart_isolate_group_data.cc.
|
overridevirtual |
Implements flutter::PlatformMessageHandlerStorage.
Definition at line 77 of file dart_isolate_group_data.cc.
const Settings & flutter::DartIsolateGroupData::GetSettings | ( | ) | const |
Definition at line 33 of file dart_isolate_group_data.cc.
void flutter::DartIsolateGroupData::SetChildIsolatePreparer | ( | const ChildIsolatePreparer & | value | ) |
Definition at line 63 of file dart_isolate_group_data.cc.
|
overridevirtual |
Implements flutter::PlatformMessageHandlerStorage.
Definition at line 69 of file dart_isolate_group_data.cc.