9#ifndef ROOT7_RMenuItems
10#define ROOT7_RMenuItems
21namespace Experimental {
109 const std::string &dflt =
"")
157 std::vector<std::unique_ptr<Detail::RMenuItem>>
fItems;
161 RMenuItems(
const std::string &_id,
const std::string &_specifier)
174 void Add(std::unique_ptr<Detail::RMenuItem> &&item) {
fItems.emplace_back(std::move(item)); }
176 void AddMenuItem(
const std::string &
name,
const std::string &title,
const std::string &exec)
178 auto item = std::make_unique<Detail::RMenuItem>(
name, title);
180 Add(std::move(item));
183 void AddChkMenuItem(
const std::string &
name,
const std::string &title,
bool checked,
const std::string &toggle)
185 auto item = std::make_unique<Detail::RCheckedMenuItem>(
name, title, checked);
186 item->SetExec(toggle);
187 Add(std::move(item));
206 std::unique_ptr<RDrawableReply>
Process()
override;
Base class for replies on RDrawableRequest.
Base class for requests which can be submitted from the clients.
TClass instances represent classes, structs and namespaces in the ROOT type system.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...