Go to the documentation of this file.
32 #ifndef INTERACTIVE_MARKER_MENU_HANDLER
33 #define INTERACTIVE_MARKER_MENU_HANDLER
35 #include <visualization_msgs/MenuEntry.h>
39 #include <boost/function.hpp>
40 #include <boost/unordered_map.hpp>
69 const uint8_t command_type = visualization_msgs::MenuEntry::FEEDBACK,
70 const std::string &command=
"" );
78 const uint8_t command_type = visualization_msgs::MenuEntry::FEEDBACK,
79 const std::string &command=
"" );
116 void processFeedback(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback );
122 std::vector<visualization_msgs::MenuEntry>& entries_out,
129 const uint8_t command_type,
130 const std::string &command,
visualization_msgs::MenuEntry makeEntry(EntryContext &context, EntryHandle handle, EntryHandle parent_handle)
std::set< std::string > managed_markers_
void processFeedback(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
boost::unordered_map< EntryHandle, EntryContext > entry_contexts_
bool pushMenuEntries(std::vector< EntryHandle > &handles_in, std::vector< visualization_msgs::MenuEntry > &entries_out, EntryHandle parent_handle)
bool apply(InteractiveMarkerServer &server, const std::string &marker_name)
FeedbackCallback feedback_cb
bool setVisible(EntryHandle handle, bool visible)
Specify if an entry should be visible or hidden.
bool setCheckState(EntryHandle handle, CheckState check_state)
Specify if an entry is checked or can't be checked at all.
boost::shared_ptr< interactive_markers::InteractiveMarkerServer > server
visualization_msgs::InteractiveMarkerFeedbackConstPtr FeedbackConstPtr
EntryHandle current_handle_
EntryHandle insert(const std::string &title, const FeedbackCallback &feedback_cb)
Insert top-level entry with feedback function.
bool getTitle(EntryHandle handle, std::string &title) const
bool reApply(InteractiveMarkerServer &server)
Re-apply to all markers that this was applied to previously.
boost::function< void(const FeedbackConstPtr &) > FeedbackCallback
std::vector< EntryHandle > top_level_handles_
EntryHandle doInsert(const std::string &title, const uint8_t command_type, const std::string &command, const FeedbackCallback &feedback_cb)
std::vector< EntryHandle > sub_entries
bool getCheckState(EntryHandle handle, CheckState &check_state) const
interactive_markers
Author(s): David Gossow, William Woodall
autogenerated on Fri Oct 27 2023 02:31:54