mc_rtc::gui::details::FormArrayInput< T > Struct Template Reference

#include <mc_rtc/gui/Form.h>

Inheritance diagram for mc_rtc::gui::details::FormArrayInput< T >:
Collaboration diagram for mc_rtc::gui::details::FormArrayInput< T >:

Public Member Functions

 FormArrayInput (const std::string &name, bool required, const std::vector< std::string > &labels, const T &def, bool fixed_size=true)
 
 FormArrayInput (const std::string &name, bool required, const std::vector< std::string > &labels={}, bool fixed_size=false)
 
void write_ (mc_rtc::MessagePackBuilder &builder)
 
- Public Member Functions inherited from mc_rtc::gui::FormElement< FormArrayInput< T >, Elements::ArrayInput >
void write (mc_rtc::MessagePackBuilder &builder)
 
 FormElement ()
 

Static Public Member Functions

static constexpr size_t write_size_ ()
 
static constexpr bool is_dynamic ()
 
- Static Public Member Functions inherited from mc_rtc::gui::FormElement< FormArrayInput< T >, Elements::ArrayInput >
static constexpr size_t write_size ()
 
static constexpr bool is_dynamic ()
 

Additional Inherited Members

- Public Types inherited from mc_rtc::gui::FormElement< FormArrayInput< T >, Elements::ArrayInput >
using is_form_element_t = std::true_type
 
- Static Public Attributes inherited from mc_rtc::gui::FormElement< FormArrayInput< T >, Elements::ArrayInput >
static constexpr auto type
 
- Protected Member Functions inherited from mc_rtc::gui::FormElement< FormArrayInput< T >, Elements::ArrayInput >
 FormElement (const std::string &name, bool required)
 
- Protected Attributes inherited from mc_rtc::gui::FormElement< FormArrayInput< T >, Elements::ArrayInput >
std::string name_
 
bool required_
 

Constructor & Destructor Documentation

◆ FormArrayInput() [1/2]

template<typename T >
mc_rtc::gui::details::FormArrayInput< T >::FormArrayInput ( const std::string &  name,
bool  required,
const std::vector< std::string > &  labels,
const T &  def,
bool  fixed_size = true 
)
inline

◆ FormArrayInput() [2/2]

template<typename T >
mc_rtc::gui::details::FormArrayInput< T >::FormArrayInput ( const std::string &  name,
bool  required,
const std::vector< std::string > &  labels = {},
bool  fixed_size = false 
)
inline

Member Function Documentation

◆ is_dynamic()

template<typename T >
static constexpr bool mc_rtc::gui::details::FormArrayInput< T >::is_dynamic ( )
inlinestaticconstexpr

◆ write_()

template<typename T >
void mc_rtc::gui::details::FormArrayInput< T >::write_ ( mc_rtc::MessagePackBuilder builder)
inline

◆ write_size_()

template<typename T >
static constexpr size_t mc_rtc::gui::details::FormArrayInput< T >::write_size_ ( )
inlinestaticconstexpr

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