Public Member Functions | Public Attributes | List of all members
jsk_interactive_marker::YamlMenuHandler Class Reference

#include <yaml_menu_handler.h>

Public Member Functions

void applyMenu (interactive_markers::InteractiveMarkerServer *server_ptr, std::string name)
 
bool initMenu (std::string file)
 
void pubTopic (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback, std::string topic_name)
 
 YamlMenuHandler (ros::NodeHandle *node_ptr, std::string file_name)
 

Public Attributes

interactive_markers::MenuHandler _menu_handler
 
ros::NodeHandle_node_ptr
 
std::map< std::string, ros::Publisher_publisher_map
 

Detailed Description

Definition at line 12 of file yaml_menu_handler.h.

Constructor & Destructor Documentation

◆ YamlMenuHandler()

YamlMenuHandler::YamlMenuHandler ( ros::NodeHandle node_ptr,
std::string  file_name 
)

Definition at line 5 of file yaml_menu_handler.cpp.

Member Function Documentation

◆ applyMenu()

void YamlMenuHandler::applyMenu ( interactive_markers::InteractiveMarkerServer server_ptr,
std::string  name 
)

Definition at line 61 of file yaml_menu_handler.cpp.

◆ initMenu()

bool YamlMenuHandler::initMenu ( std::string  file)

Definition at line 10 of file yaml_menu_handler.cpp.

◆ pubTopic()

void YamlMenuHandler::pubTopic ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback,
std::string  topic_name 
)

Definition at line 50 of file yaml_menu_handler.cpp.

Member Data Documentation

◆ _menu_handler

interactive_markers::MenuHandler jsk_interactive_marker::YamlMenuHandler::_menu_handler

Definition at line 15 of file yaml_menu_handler.h.

◆ _node_ptr

ros::NodeHandle* jsk_interactive_marker::YamlMenuHandler::_node_ptr

Definition at line 14 of file yaml_menu_handler.h.

◆ _publisher_map

std::map<std::string, ros::Publisher> jsk_interactive_marker::YamlMenuHandler::_publisher_map

Definition at line 16 of file yaml_menu_handler.h.


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


jsk_interactive_marker
Author(s): furuta
autogenerated on Fri Aug 2 2024 08:50:24