Skip to content

Commit

Permalink
Make VectorMap::hasSubscribed public (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfunaoka authored Jan 9, 2019
1 parent 089c342 commit 7e7e6b0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ class VectorMap
Handle<Fence, FenceArray> fence_;
Handle<RailCrossing, RailCrossingArray> rail_crossing_;

bool hasSubscribed(category_t category) const;
void registerSubscriber(ros::NodeHandle& nh, category_t category);

public:
Expand Down Expand Up @@ -457,6 +456,8 @@ class VectorMap
std::vector<Fence> findByFilter(const Filter<Fence>& filter) const;
std::vector<RailCrossing> findByFilter(const Filter<RailCrossing>& filter) const;

bool hasSubscribed(category_t category) const;

void registerCallback(const Callback<PointArray>& cb);
void registerCallback(const Callback<VectorArray>& cb);
void registerCallback(const Callback<LineArray>& cb);
Expand Down

0 comments on commit 7e7e6b0

Please sign in to comment.