15 #ifndef NAV2_RVIZ_PLUGINS__ROS_ACTION_QEVENT_HPP_
16 #define NAV2_RVIZ_PLUGINS__ROS_ACTION_QEVENT_HPP_
18 #include <QAbstractTransition>
20 namespace nav2_rviz_plugins
23 enum class QActionState
33 : QEvent(QEvent::Type(QEvent::User + 1)),
44 : status_(initial_status)
50 virtual bool eventTest(QEvent * e)
52 if (e->type() != QEvent::Type(QEvent::User + 1)) {
56 return status_ != action_event->state_;
59 virtual void onTransition(QEvent *) {}
Custom Transition to check whether ROS Action state has changed.
Custom Event to track state of ROS Action.