mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce > Struct Template Reference

#include <mc_rtc/gui/Force.h>

Inheritance diagram for mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce >:
Collaboration diagram for mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce >:

Public Types

using ForceRO = ForceROImpl< GetForce, GetSurface >
 

Public Member Functions

 ForceImpl (const std::string &name, const ForceConfig &config, GetForce get_force_fn, SetForce set_force_fn, GetSurface get_surface_fn)
 
void write (mc_rtc::MessagePackBuilder &builder)
 
bool handleRequest (const mc_rtc::Configuration &data)
 
- Public Member Functions inherited from mc_rtc::gui::details::ForceROImpl< GetForce, GetSurface >
 ForceROImpl (const std::string &name, const ForceConfig &config, GetForce get_force_fn, GetSurface get_surface_fn)
 
void write (mc_rtc::MessagePackBuilder &builder, bool ro=true)
 
- 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::Force
 
- Static Public Attributes inherited from mc_rtc::gui::details::ForceROImpl< GetForce, GetSurface >
static constexpr auto type = Elements::Force
 

Additional Inherited Members

- Static Public Member Functions inherited from mc_rtc::gui::details::ForceROImpl< GetForce, GetSurface >
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::Element
std::string name_
 
int id_
 

Member Typedef Documentation

◆ ForceRO

template<typename GetForce , typename GetSurface , typename SetForce >
using mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce >::ForceRO = ForceROImpl<GetForce, GetSurface>

Constructor & Destructor Documentation

◆ ForceImpl()

template<typename GetForce , typename GetSurface , typename SetForce >
mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce >::ForceImpl ( const std::string &  name,
const ForceConfig config,
GetForce  get_force_fn,
SetForce  set_force_fn,
GetSurface  get_surface_fn 
)
inline

Member Function Documentation

◆ handleRequest()

template<typename GetForce , typename GetSurface , typename SetForce >
bool mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce >::handleRequest ( const mc_rtc::Configuration data)
inline

◆ write()

template<typename GetForce , typename GetSurface , typename SetForce >
void mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce >::write ( mc_rtc::MessagePackBuilder builder)
inline

Member Data Documentation

◆ type

template<typename GetForce , typename GetSurface , typename SetForce >
constexpr auto mc_rtc::gui::details::ForceImpl< GetForce, GetSurface, SetForce >::type = Elements::Force
staticconstexpr

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