mc_rtc::gui::VoidCallbackElement< ElementT, Callback > Struct Template Reference

#include <mc_rtc/gui/elements.h>

Inheritance diagram for mc_rtc::gui::VoidCallbackElement< ElementT, Callback >:
Collaboration diagram for mc_rtc::gui::VoidCallbackElement< ElementT, Callback >:

Public Member Functions

bool handleRequest (const mc_rtc::Configuration &)
 
template<typename... Args>
 VoidCallbackElement (const std::string &name, Callback cb, Args &&... args)
 
 VoidCallbackElement ()
 
- Public Member Functions inherited from mc_rtc::gui::CallbackElement< ElementT, Callback >
bool handleRequest (const mc_rtc::Configuration &data)
 
template<typename... Args>
 CallbackElement (const std::string &name, Callback cb, Args &&... args)
 
 CallbackElement ()
 

Additional Inherited Members

- Protected Attributes inherited from mc_rtc::gui::CallbackElement< ElementT, Callback >
Callback cb_
 

Detailed Description

template<typename ElementT, typename Callback>
struct mc_rtc::gui::VoidCallbackElement< ElementT, Callback >

A generic element to handle request from the client when no data is required

This is a common building block for other elements

Constructor & Destructor Documentation

◆ VoidCallbackElement() [1/2]

template<typename ElementT , typename Callback >
template<typename... Args>
mc_rtc::gui::VoidCallbackElement< ElementT, Callback >::VoidCallbackElement ( const std::string &  name,
Callback  cb,
Args &&...  args 
)
inline

◆ VoidCallbackElement() [2/2]

template<typename ElementT , typename Callback >
mc_rtc::gui::VoidCallbackElement< ElementT, Callback >::VoidCallbackElement ( )
inline

Invalid element

Member Function Documentation

◆ handleRequest()

template<typename ElementT , typename Callback >
bool mc_rtc::gui::VoidCallbackElement< ElementT, Callback >::handleRequest ( const mc_rtc::Configuration )
inline

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