From 11e211da905a78d00750e187d56e15e24f0e5fe5 Mon Sep 17 00:00:00 2001 From: Kenji Funaoka Date: Fri, 28 Dec 2018 12:27:28 +0900 Subject: [PATCH] Make VectorMap::hasSubscribed public --- .../data/packages/vector_map/include/vector_map/vector_map.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ros/src/data/packages/vector_map/include/vector_map/vector_map.h b/ros/src/data/packages/vector_map/include/vector_map/vector_map.h index e02f09cfe74..f060be42175 100644 --- a/ros/src/data/packages/vector_map/include/vector_map/vector_map.h +++ b/ros/src/data/packages/vector_map/include/vector_map/vector_map.h @@ -395,7 +395,6 @@ class VectorMap Handle fence_; Handle rail_crossing_; - bool hasSubscribed(category_t category) const; void registerSubscriber(ros::NodeHandle& nh, category_t category); public: @@ -471,6 +470,8 @@ class VectorMap std::vector findByFilter(const Filter& filter) const; std::vector findByFilter(const Filter& filter) const; + bool hasSubscribed(category_t category) const; + void registerCallback(const Callback& cb); void registerCallback(const Callback& cb); void registerCallback(const Callback& cb);