#include <mc_rtc/gui/Table.h>
Public Member Functions | |
StaticTableImpl (const std::string &name, std::vector< std::string > header, std::vector< std::string > format, GetData get_data_fn) | |
void | write (mc_rtc::MessagePackBuilder &builder) |
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 Member Functions | |
static constexpr size_t | write_size () |
Static Public Member Functions inherited from mc_rtc::gui::Element | |
static constexpr size_t | write_size () |
Static Public Attributes | |
static constexpr auto | type = Elements::Table |
Additional Inherited Members | |
Protected Member Functions inherited from mc_rtc::gui::Element | |
Element (const std::string &name) | |
Protected Attributes inherited from mc_rtc::gui::Element | |
std::string | name_ |
int | id_ |
Table should display a table of heterogeneous data
The user is responsible for making sure the header size and data size match
In this variant, the header data is static
GetData | should return data that can be converted to a JSON array of array (e.g. vector<vector<T>> or vector<tuple<...>>) |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
staticconstexpr |