yaml_menu_handler.h
Go to the documentation of this file.
1 #ifndef __YAML_MENU_HANDLER_H__
2 #define __YAML_MENU_HANDLER_H__
3 
4 #include <vector>
5 #include <yaml-cpp/yaml.h>
8 #include <std_msgs/String.h>
9 #include <map>
10 
11 namespace jsk_interactive_marker {
13  public:
16  std::map<std::string, ros::Publisher> _publisher_map;
17  YamlMenuHandler(ros::NodeHandle* node_ptr, std::string file_name);
18  bool initMenu(std::string file);
19  void pubTopic(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback, std::string topic_name);
20  void applyMenu(interactive_markers::InteractiveMarkerServer* server_ptr, std::string name);
21  };
22 };
23 
24 #endif
jsk_interactive_marker::YamlMenuHandler::initMenu
bool initMenu(std::string file)
Definition: yaml_menu_handler.cpp:10
jsk_interactive_marker::YamlMenuHandler
Definition: yaml_menu_handler.h:12
jsk_interactive_marker::YamlMenuHandler::_publisher_map
std::map< std::string, ros::Publisher > _publisher_map
Definition: yaml_menu_handler.h:16
jsk_interactive_marker::YamlMenuHandler::pubTopic
void pubTopic(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback, std::string topic_name)
Definition: yaml_menu_handler.cpp:50
menu_handler.h
jsk_interactive_marker::YamlMenuHandler::_node_ptr
ros::NodeHandle * _node_ptr
Definition: yaml_menu_handler.h:14
jsk_interactive_marker::YamlMenuHandler::applyMenu
void applyMenu(interactive_markers::InteractiveMarkerServer *server_ptr, std::string name)
Definition: yaml_menu_handler.cpp:61
jsk_interactive_marker
Definition: camera_info_publisher.h:48
interactive_markers::MenuHandler
interactive_markers::InteractiveMarkerServer
interactive_marker_server.h
jsk_interactive_marker::YamlMenuHandler::_menu_handler
interactive_markers::MenuHandler _menu_handler
Definition: yaml_menu_handler.h:15
ros::NodeHandle
jsk_interactive_marker::YamlMenuHandler::YamlMenuHandler
YamlMenuHandler(ros::NodeHandle *node_ptr, std::string file_name)
Definition: yaml_menu_handler.cpp:5


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