mc_rtc::gui::details::RobotImpl< GetT > Struct Template Reference

#include <mc_rtc/gui/Robot.h>

Inheritance diagram for mc_rtc::gui::details::RobotImpl< GetT >:
Collaboration diagram for mc_rtc::gui::details::RobotImpl< GetT >:

Public Member Functions

 RobotImpl (const std::string &name, GetT get_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::Robot
 

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_
 

Detailed Description

template<typename GetT>
struct mc_rtc::gui::details::RobotImpl< GetT >

Robot should display a robot model in the environment

The element provides the following data to the client:

  • the parameters passed to RobotLoader to get the RobotModule (vector<string>)
  • the current robot configuration (vector<vector<double>>)
Template Parameters
GetTShould return an mc_rbdyn::Robot

Constructor & Destructor Documentation

◆ RobotImpl()

template<typename GetT >
mc_rtc::gui::details::RobotImpl< GetT >::RobotImpl ( const std::string &  name,
GetT  get_fn 
)
inline

Member Function Documentation

◆ write()

template<typename GetT >
void mc_rtc::gui::details::RobotImpl< GetT >::write ( mc_rtc::MessagePackBuilder builder)
inline

◆ write_size()

template<typename GetT >
static constexpr size_t mc_rtc::gui::details::RobotImpl< GetT >::write_size ( )
inlinestaticconstexpr

Member Data Documentation

◆ type

template<typename GetT >
constexpr auto mc_rtc::gui::details::RobotImpl< GetT >::type = Elements::Robot
staticconstexpr

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