Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
radial_menu_backend::BackendController Class Reference

#include <backend_controller.hpp>

Public Member Functions

 BackendController (const radial_menu_model::ModelPtr &model, const BackendConfig &config)
 
radial_menu_msgs::StatePtr update (const sensor_msgs::Joy &joy)
 
virtual ~BackendController ()
 

Protected Member Functions

void adaptiveSelect (const radial_menu_model::ItemConstPtr &item)
 
double pointingAngle (const sensor_msgs::Joy &joy) const
 

Static Protected Member Functions

static double axisValue (const sensor_msgs::Joy &joy, const int aid)
 
static int buttonValue (const sensor_msgs::Joy &joy, const int bid)
 

Protected Attributes

bool ascend_was_pressed_
 
const BackendConfig config_
 
bool enable_was_pressed_
 
radial_menu_model::ModelPtr model_
 
bool select_was_pressed_
 

Detailed Description

Definition at line 19 of file backend_controller.hpp.

Constructor & Destructor Documentation

◆ BackendController()

radial_menu_backend::BackendController::BackendController ( const radial_menu_model::ModelPtr model,
const BackendConfig config 
)
inline

Definition at line 21 of file backend_controller.hpp.

◆ ~BackendController()

virtual radial_menu_backend::BackendController::~BackendController ( )
inlinevirtual

Definition at line 25 of file backend_controller.hpp.

Member Function Documentation

◆ adaptiveSelect()

void radial_menu_backend::BackendController::adaptiveSelect ( const radial_menu_model::ItemConstPtr item)
inlineprotected

Definition at line 98 of file backend_controller.hpp.

◆ axisValue()

static double radial_menu_backend::BackendController::axisValue ( const sensor_msgs::Joy &  joy,
const int  aid 
)
inlinestaticprotected

Definition at line 114 of file backend_controller.hpp.

◆ buttonValue()

static int radial_menu_backend::BackendController::buttonValue ( const sensor_msgs::Joy &  joy,
const int  bid 
)
inlinestaticprotected

Definition at line 109 of file backend_controller.hpp.

◆ pointingAngle()

double radial_menu_backend::BackendController::pointingAngle ( const sensor_msgs::Joy &  joy) const
inlineprotected

Definition at line 87 of file backend_controller.hpp.

◆ update()

radial_menu_msgs::StatePtr radial_menu_backend::BackendController::update ( const sensor_msgs::Joy &  joy)
inline

Definition at line 27 of file backend_controller.hpp.

Member Data Documentation

◆ ascend_was_pressed_

bool radial_menu_backend::BackendController::ascend_was_pressed_
protected

Definition at line 122 of file backend_controller.hpp.

◆ config_

const BackendConfig radial_menu_backend::BackendController::config_
protected

Definition at line 124 of file backend_controller.hpp.

◆ enable_was_pressed_

bool radial_menu_backend::BackendController::enable_was_pressed_
protected

Definition at line 122 of file backend_controller.hpp.

◆ model_

radial_menu_model::ModelPtr radial_menu_backend::BackendController::model_
protected

Definition at line 119 of file backend_controller.hpp.

◆ select_was_pressed_

bool radial_menu_backend::BackendController::select_was_pressed_
protected

Definition at line 122 of file backend_controller.hpp.


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


radial_menu_backend
Author(s):
autogenerated on Mon Feb 28 2022 23:22:01