Choreonoid  1.8
Public Member Functions | List of all members
cnoid::TaskMenu Class Referenceabstract

#include <Task.h>

Inherited by cnoid::TaskViewImpl.

Public Member Functions

virtual ~TaskMenu ()
 
virtual void addMenuItem (const std::string &caption, std::function< void()> func)=0
 
virtual void addCheckMenuItem (const std::string &caption, bool isChecked, std::function< void(bool on)> func)=0
 
virtual void addMenuSeparator ()=0
 

Detailed Description

Constructor & Destructor Documentation

◆ ~TaskMenu()

TaskMenu::~TaskMenu ( )
virtual

Member Function Documentation

◆ addCheckMenuItem()

virtual void cnoid::TaskMenu::addCheckMenuItem ( const std::string &  caption,
bool  isChecked,
std::function< void(bool on)>  func 
)
pure virtual

◆ addMenuItem()

virtual void cnoid::TaskMenu::addMenuItem ( const std::string &  caption,
std::function< void()>  func 
)
pure virtual

◆ addMenuSeparator()

virtual void cnoid::TaskMenu::addMenuSeparator ( )
pure virtual

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