SimpleEventHandler Class Reference

#include <armarx/navigation/client/services/SimpleEventHandler.h>

+ Inheritance diagram for SimpleEventHandler:

Public Member Functions

void globalPlanningFailed (const core::GlobalPlanningFailedEvent &event) override
 
void globalTrajectoryUpdated (const global_planning::GlobalPlannerResult &event) override
 
void goalReached (const core::GoalReachedEvent &event) override
 Will be called whenever the navigator reached the goal. More...
 
void internalError (const core::InternalErrorEvent &event) override
 Will be called whenever an internal error occurs. More...
 
void localPlanningFailed (const core::LocalPlanningFailedEvent &event) override
 
void localTrajectoryUpdated (const local_planning::LocalPlannerResult &event) override
 
void movementStarted (const core::MovementStartedEvent &event) override
 
void onGlobalPlanningFailed (const GlobalPlanningFailedCallback &callback) override
 
void onGoalReached (const OnGoalReachedCallback &callback) override
 
void onInternalError (const OnInternalErrorCallback &callback) override
 
void onLocalPlanningFailed (const LocalPlanningFailedCallback &callback) override
 
void onMovementStarted (const OnMovementStartedCallback &callback) override
 
void onSafetyStopTriggered (const OnSafetyStopTriggeredCallback &callback) override
 
void onSafetyThrottlingTriggered (const OnSafetyThrottlingTriggeredCallback &callback) override
 
void onUserAbortTriggered (const OnUserAbortTriggeredCallback &callback) override
 
void onWaypointReached (const OnWaypointReachedCallback &callback) override
 
void safetyStopTriggered (const core::SafetyStopTriggeredEvent &event) override
 Will be called whenever a safety stop is triggered. More...
 
void safetyThrottlingTriggered (const core::SafetyThrottlingTriggeredEvent &event) override
 Will be called whenever safety throttling is triggered to a certain degree (configurable). More...
 
void userAbortTriggered (const core::UserAbortTriggeredEvent &event) override
 Will be called whenever the user aborts the current navigation. More...
 
void waypointReached (const core::WaypointReachedEvent &event) override
 Will be called whenever the navigator reached a user-defined waypoint. More...
 
- Public Member Functions inherited from EventSubscriptionInterface
virtual ~EventSubscriptionInterface ()=default
 
- Public Member Functions inherited from EventPublishingInterface
virtual ~EventPublishingInterface ()=default
 

Detailed Description

Definition at line 12 of file SimpleEventHandler.h.

Member Function Documentation

◆ globalPlanningFailed()

void globalPlanningFailed ( const core::GlobalPlanningFailedEvent event)
overridevirtual

Implements EventPublishingInterface.

Definition at line 165 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

◆ globalTrajectoryUpdated()

void globalTrajectoryUpdated ( const global_planning::GlobalPlannerResult event)
overridevirtual

Implements EventPublishingInterface.

Definition at line 137 of file SimpleEventHandler.cpp.

◆ goalReached()

void goalReached ( const core::GoalReachedEvent event)
overridevirtual

Will be called whenever the navigator reached the goal.

Implements EventPublishingInterface.

Definition at line 72 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

◆ internalError()

void internalError ( const core::InternalErrorEvent event)
overridevirtual

Will be called whenever an internal error occurs.

Implements EventPublishingInterface.

Definition at line 126 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

◆ localPlanningFailed()

void localPlanningFailed ( const core::LocalPlanningFailedEvent event)
overridevirtual

Implements EventPublishingInterface.

Definition at line 174 of file SimpleEventHandler.cpp.

◆ localTrajectoryUpdated()

void localTrajectoryUpdated ( const local_planning::LocalPlannerResult event)
overridevirtual

Implements EventPublishingInterface.

Definition at line 146 of file SimpleEventHandler.cpp.

◆ movementStarted()

void movementStarted ( const core::MovementStartedEvent event)
overridevirtual

Implements EventPublishingInterface.

Definition at line 183 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

◆ onGlobalPlanningFailed()

void onGlobalPlanningFailed ( const GlobalPlanningFailedCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 58 of file SimpleEventHandler.cpp.

◆ onGoalReached()

void onGoalReached ( const OnGoalReachedCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 5 of file SimpleEventHandler.cpp.

◆ onInternalError()

void onInternalError ( const OnInternalErrorCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 44 of file SimpleEventHandler.cpp.

◆ onLocalPlanningFailed()

void onLocalPlanningFailed ( const LocalPlanningFailedCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 65 of file SimpleEventHandler.cpp.

◆ onMovementStarted()

void onMovementStarted ( const OnMovementStartedCallback callback)
overridevirtual

◆ onSafetyStopTriggered()

void onSafetyStopTriggered ( const OnSafetyStopTriggeredCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 28 of file SimpleEventHandler.cpp.

◆ onSafetyThrottlingTriggered()

void onSafetyThrottlingTriggered ( const OnSafetyThrottlingTriggeredCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 20 of file SimpleEventHandler.cpp.

◆ onUserAbortTriggered()

void onUserAbortTriggered ( const OnUserAbortTriggeredCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 36 of file SimpleEventHandler.cpp.

◆ onWaypointReached()

void onWaypointReached ( const OnWaypointReachedCallback callback)
overridevirtual

Implements EventSubscriptionInterface.

Definition at line 12 of file SimpleEventHandler.cpp.

◆ safetyStopTriggered()

void safetyStopTriggered ( const core::SafetyStopTriggeredEvent event)
overridevirtual

Will be called whenever a safety stop is triggered.

Implements EventPublishingInterface.

Definition at line 104 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

◆ safetyThrottlingTriggered()

void safetyThrottlingTriggered ( const core::SafetyThrottlingTriggeredEvent event)
overridevirtual

Will be called whenever safety throttling is triggered to a certain degree (configurable).

Implements EventPublishingInterface.

Definition at line 93 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

◆ userAbortTriggered()

void userAbortTriggered ( const core::UserAbortTriggeredEvent event)
overridevirtual

Will be called whenever the user aborts the current navigation.

Implements EventPublishingInterface.

Definition at line 115 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

◆ waypointReached()

void waypointReached ( const core::WaypointReachedEvent event)
overridevirtual

Will be called whenever the navigator reached a user-defined waypoint.

Implements EventPublishingInterface.

Definition at line 82 of file SimpleEventHandler.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ globalPlanningFailedCallbacks

std::vector<GlobalPlanningFailedCallback> globalPlanningFailedCallbacks

Definition at line 53 of file SimpleEventHandler.h.

◆ globalTrajectoryUpdatedCallbacks

std::vector<GlobalTrajectoryUpdatedCallback> globalTrajectoryUpdatedCallbacks

Definition at line 50 of file SimpleEventHandler.h.

◆ goalReachedCallbacks

std::vector<OnGoalReachedCallback> goalReachedCallbacks

Definition at line 57 of file SimpleEventHandler.h.

◆ internalErrorCallbacks

std::vector<OnInternalErrorCallback> internalErrorCallbacks

Definition at line 62 of file SimpleEventHandler.h.

◆ localPlanningFailedCallbacks

std::vector<LocalPlanningFailedCallback> localPlanningFailedCallbacks

Definition at line 54 of file SimpleEventHandler.h.

◆ localTrajectoryUpdatedCallbacks

std::vector<LocalTrajectoryUpdatedCallback> localTrajectoryUpdatedCallbacks

Definition at line 51 of file SimpleEventHandler.h.

◆ movementStartedCallbacks

std::vector<OnMovementStartedCallback> movementStartedCallbacks

Definition at line 56 of file SimpleEventHandler.h.

◆ safetyStopTriggeredCallbacks

std::vector<OnSafetyStopTriggeredCallback> safetyStopTriggeredCallbacks

Definition at line 60 of file SimpleEventHandler.h.

◆ safetyThrottlingTriggeredCallbacks

std::vector<OnSafetyThrottlingTriggeredCallback> safetyThrottlingTriggeredCallbacks

Definition at line 59 of file SimpleEventHandler.h.

◆ trajectoryControllerUpdatedCallbacks

std::vector<TrajectoryControllerUpdatedCallback> trajectoryControllerUpdatedCallbacks

Definition at line 52 of file SimpleEventHandler.h.

◆ userAbortTriggeredCallbacks

std::vector<OnUserAbortTriggeredCallback> userAbortTriggeredCallbacks

Definition at line 61 of file SimpleEventHandler.h.

◆ waypointReachedCallbacks

std::vector<OnWaypointReachedCallback> waypointReachedCallbacks

Definition at line 58 of file SimpleEventHandler.h.


The documentation for this class was generated from the following files: