Flutter Engine
The Flutter Engine
|
Starts a Dart component written in CFv2. More...
#include <dart_component_controller.h>
Public Member Functions | |
DartComponentController (fuchsia::component::runner::ComponentStartInfo start_info, std::shared_ptr< sys::ServiceDirectory > runner_incoming_services, fidl::InterfaceRequest< fuchsia::component::runner::ComponentController > controller) | |
~DartComponentController () override | |
bool | SetUp () |
void | Run () |
Starts a Dart component written in CFv2.
Definition at line 29 of file dart_component_controller.h.
dart_runner::DartComponentController::DartComponentController | ( | fuchsia::component::runner::ComponentStartInfo | start_info, |
std::shared_ptr< sys::ServiceDirectory > | runner_incoming_services, | ||
fidl::InterfaceRequest< fuchsia::component::runner::ComponentController > | controller | ||
) |
Definition at line 100 of file dart_component_controller.cc.
|
override |
Definition at line 137 of file dart_component_controller.cc.
void dart_runner::DartComponentController::Run | ( | ) |
Runs the Dart component in a task, sending the return code back to the Fuchsia component controller.
This should be called after |SetUp|.
Definition at line 428 of file dart_component_controller.cc.
bool dart_runner::DartComponentController::SetUp | ( | ) |
Sets up the controller.
This should be called before |Run|.
Definition at line 146 of file dart_component_controller.cc.