Skip to content
Snippets Groups Projects
Commit 51268b86 authored by Christoph Pohl's avatar Christoph Pohl
Browse files

Add GlobalPlanningEvent to stopped events for Navigator

parent 3fbacf81
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,8 @@ namespace armarx::navigation::client
virtual void onInternalError(const OnInternalErrorCallback& callback) = 0;
virtual void onGlobalPlanningFailed(const GlobalPlanningFailedCallback& callback) = 0;
// Non-API.
public:
virtual ~EventSubscriptionInterface() = default;
......
......@@ -54,6 +54,11 @@ armarx::navigation::client::SimpleEventHandler::SimpleEventHandler::onMovementSt
subscriptions.movementStartedCallbacks.push_back(callback);
}
void
armarx::navigation::client::SimpleEventHandler::onGlobalPlanningFailed(const GlobalPlanningFailedCallback& callback)
{
subscriptions.globalPlanningFailedCallbacks.push_back(callback);
}
void
armarx::navigation::client::SimpleEventHandler::goalReached(const core::GoalReachedEvent& event)
......
......@@ -25,6 +25,7 @@ namespace armarx::navigation::client
void onInternalError(const OnInternalErrorCallback& callback) override;
void onMovementStarted(const OnMovementStartedCallback& callback) override;
void onGlobalPlanningFailed(const GlobalPlanningFailedCallback& callback) override;
// EventPublishingInterface
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment