mc_rtc::gui::details::FormElements Struct Reference

#include <mc_rtc/gui/Form.h>

Inheritance diagram for mc_rtc::gui::details::FormElements:

Public Member Functions

template<typename... Args>
 FormElements (Args &&... args)
 
template<typename T >
void addElement (T &&element)
 
void write_impl (mc_rtc::MessagePackBuilder &builder)
 

Protected Member Functions

template<typename... Args>
void write_elements (mc_rtc::MessagePackBuilder &, Args &&...)
 
template<typename Arg , typename... Args>
void write_elements (mc_rtc::MessagePackBuilder &builder, Arg &&element, Args &&... args)
 
template<typename T >
void addDynamicElement (T &&element)
 

Protected Attributes

size_t count_
 
std::vector< std::function< void(mc_rtc::MessagePackBuilder &)> > dynamic_elements_
 
std::vector< char > data_
 
size_t data_size_
 

Detailed Description

Store elements of a form

Constructor & Destructor Documentation

◆ FormElements()

template<typename... Args>
mc_rtc::gui::details::FormElements::FormElements ( Args &&...  args)
inline

Member Function Documentation

◆ addDynamicElement()

template<typename T >
void mc_rtc::gui::details::FormElements::addDynamicElement ( T &&  element)
inlineprotected

◆ addElement()

template<typename T >
void mc_rtc::gui::details::FormElements::addElement ( T &&  element)
inline

◆ write_elements() [1/2]

template<typename... Args>
void mc_rtc::gui::details::FormElements::write_elements ( mc_rtc::MessagePackBuilder ,
Args &&  ... 
)
inlineprotected

◆ write_elements() [2/2]

template<typename Arg , typename... Args>
void mc_rtc::gui::details::FormElements::write_elements ( mc_rtc::MessagePackBuilder builder,
Arg &&  element,
Args &&...  args 
)
inlineprotected

◆ write_impl()

void mc_rtc::gui::details::FormElements::write_impl ( mc_rtc::MessagePackBuilder builder)
inline

Member Data Documentation

◆ count_

size_t mc_rtc::gui::details::FormElements::count_
protected

◆ data_

std::vector<char> mc_rtc::gui::details::FormElements::data_
protected

◆ data_size_

size_t mc_rtc::gui::details::FormElements::data_size_
protected

◆ dynamic_elements_

std::vector<std::function<void(mc_rtc::MessagePackBuilder &)> > mc_rtc::gui::details::FormElements::dynamic_elements_
protected

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