#include <root_inspect_node.h>
Definition at line 22 of file root_inspect_node.h.
◆ CreateRootChild()
inspect::Node dart_utils::RootInspectNode::CreateRootChild |
( |
const std::string & |
name | ) |
|
|
static |
Definition at line 21 of file root_inspect_node.cc.
21 {
22 std::lock_guard<std::mutex> lock(mutex_);
23 return inspector_->inspector().GetRoot().CreateChild(
name);
24}
DEF_SWITCHES_START aot vmservice shared library name
◆ GetInspector()
inspect::Inspector * dart_utils::RootInspectNode::GetInspector |
( |
| ) |
|
|
static |
◆ Initialize()
void dart_utils::RootInspectNode::Initialize |
( |
sys::ComponentContext * |
context | ) |
|
|
static |
Definition at line 13 of file root_inspect_node.cc.
13 {
14 std::lock_guard<std::mutex> lock(mutex_);
15 if (!inspector_) {
16 inspector_ = std::make_unique<inspect::ComponentInspector>(
17 async_get_default_dispatcher(), inspect::PublishOptions{});
18 }
19}
The documentation for this class was generated from the following files: