SubMenu Struct Reference

#include <RobotAPI/libraries/armem/core/actions.h>

+ Inheritance diagram for SubMenu:

Public Member Functions

MenuEntryadd (const std::string &id, const std::string &text, const std::vector< MenuEntry > &entries={})
 
 SubMenu (const std::string &id, const std::string &text, const std::vector< MenuEntry > &entries={})
 
- Public Member Functions inherited from MenuEntry
MenuEntryadd (const std::string &id, const std::string &text, const std::vector< MenuEntry > &entries={})
 
 MenuEntry (const std::string &id, const std::string &text, const std::vector< MenuEntry > &entries={})
 
data::MenuEntryPtr toIce () const
 

Additional Inherited Members

- Static Public Member Functions inherited from MenuEntry
static MenuEntry fromIce (const data::MenuEntryPtr &ice)
 
- Public Attributes inherited from MenuEntry
std::vector< MenuEntryentries
 
std::string id
 
std::string text
 

Detailed Description

Definition at line 39 of file actions.h.

Constructor & Destructor Documentation

◆ SubMenu()

SubMenu ( const std::string &  id,
const std::string &  text,
const std::vector< MenuEntry > &  entries = {} 
)

Definition at line 60 of file actions.cpp.

Member Function Documentation

◆ add()

MenuEntry & add ( const std::string &  id,
const std::string &  text,
const std::vector< MenuEntry > &  entries = {} 
)

Definition at line 68 of file actions.cpp.


The documentation for this struct was generated from the following files: