List of items for object context menu.
Definition at line 157 of file RMenuItems.hxx.
Public Member Functions | |
RMenuItems ()=default | |
RMenuItems (const std::string &_id, const std::string &_specifier) | |
virtual | ~RMenuItems () |
destructor - pin vtable | |
void | Add (std::unique_ptr< Detail::RMenuItem > &&item) |
void | AddChkMenuItem (const std::string &name, const std::string &title, bool checked, const std::string &toggle, const TClass *cl=nullptr) |
void | AddMenuItem (const std::string &name, const std::string &title, const std::string &exec, const TClass *cl=nullptr) |
const std::string & | GetFullId () const |
const std::string & | GetSpecifier () const |
void | PopulateObjectMenu (void *obj, TClass *cl) |
Fill menu for provided object, using MENU as indicator in method comments. | |
auto | Size () const |
Public Member Functions inherited from ROOT::Experimental::RDrawableReply | |
virtual | ~RDrawableReply () |
destructor, pin vtable | |
uint64_t | GetRequestId () const |
void | SetRequestId (uint64_t _reqid) |
Protected Attributes | |
std::string | fId |
object identifier | |
std::vector< std::unique_ptr< Detail::RMenuItem > > | fItems |
list of items in the menu | |
std::string | fSpecifier |
! extra specifier, used only on server | |
#include <ROOT/RMenuItems.hxx>
|
default |
|
inline |
Definition at line 165 of file RMenuItems.hxx.
|
virtualdefault |
destructor - pin vtable
|
inline |
Definition at line 178 of file RMenuItems.hxx.
|
inline |
Definition at line 188 of file RMenuItems.hxx.
|
inline |
Definition at line 180 of file RMenuItems.hxx.
|
inline |
Definition at line 173 of file RMenuItems.hxx.
|
inline |
Definition at line 174 of file RMenuItems.hxx.
void RMenuItems::PopulateObjectMenu | ( | void * | obj, |
TClass * | cl | ||
) |
Fill menu for provided object, using MENU as indicator in method comments.
Definition at line 31 of file RMenuItems.cxx.
|
inline |
Definition at line 176 of file RMenuItems.hxx.
|
protected |
object identifier
Definition at line 159 of file RMenuItems.hxx.
|
protected |
list of items in the menu
Definition at line 161 of file RMenuItems.hxx.
|
protected |
! extra specifier, used only on server
Definition at line 160 of file RMenuItems.hxx.