#include <mc_rtc/gui/Checkbox.h>
Public Member Functions | |
CheckboxImpl (const std::string &name, GetT get_fn, Callback cb) | |
CheckboxImpl () | |
Public Member Functions inherited from mc_rtc::gui::VoidCallbackElement< DataElement< GetT >, Callback > | |
bool | handleRequest (const mc_rtc::Configuration &) |
VoidCallbackElement (const std::string &name, Callback cb, Args &&... args) | |
VoidCallbackElement () | |
Public Member Functions inherited from mc_rtc::gui::CallbackElement< DataElement< GetT >, Callback > | |
bool | handleRequest (const mc_rtc::Configuration &data) |
CallbackElement (const std::string &name, Callback cb, Args &&... args) | |
CallbackElement () | |
Public Member Functions inherited from mc_rtc::gui::DataElement< GetT > | |
void | write (mc_rtc::MessagePackBuilder &builder) |
DataElement (const std::string &name, GetT get_fn) | |
DataElement () | |
Public Member Functions inherited from mc_rtc::gui::Element | |
const std::string & | name () const |
int | id () const |
void | id (int idIn) |
void | write (mc_rtc::MessagePackBuilder &) |
bool | handleRequest (const mc_rtc::Configuration &) |
Element () | |
Static Public Attributes | |
static constexpr auto | type = Elements::Checkbox |
Additional Inherited Members | |
Static Public Member Functions inherited from mc_rtc::gui::DataElement< GetT > | |
static constexpr size_t | write_size () |
Static Public Member Functions inherited from mc_rtc::gui::Element | |
static constexpr size_t | write_size () |
Protected Member Functions inherited from mc_rtc::gui::Element | |
Element (const std::string &name) | |
Protected Attributes inherited from mc_rtc::gui::CallbackElement< DataElement< GetT >, Callback > | |
Callback | cb_ |
Protected Attributes inherited from mc_rtc::gui::DataElement< GetT > | |
GetT | get_fn_ |
Protected Attributes inherited from mc_rtc::gui::Element | |
std::string | name_ |
int | id_ |
Checkbox display a toggable checkbox
GetT | Should return a boolean providing the state of the button |
Callback | When the checkbox is called, this is called |
|
inline |
|
inline |
Invalid element
|
staticconstexpr |