DUNE: Uniform Navigational Environment
2.6.0-rc1
|
Abstract Multiplexed maneuver.
Public Member Functions | |
AbstractMux (Maneuvers::Maneuver *task) | |
virtual | ~AbstractMux (void) |
virtual void | start (const IMC::Maneuver *maneuver)=0 |
virtual void | onPathControlState (const IMC::PathControlState *pcs) |
virtual void | onEstimatedState (const IMC::EstimatedState *msg) |
virtual void | onStateReport (void) |
virtual void | onVehicleMedium (const IMC::VehicleMedium *msg) |
virtual void | onGpsFix (const IMC::GpsFix *msg) |
Protected Attributes | |
Maneuvers::Maneuver * | m_task |
|
inline |
Constructor.
[in] | task | pointer to Maneuver task |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
On EstimatedState message.
Reimplemented in Maneuver::Multiplexer::PopUp, Maneuver::Multiplexer::YoYo, Maneuver::Multiplexer::Elevator, Maneuver::Multiplexer::Dislodge, and Maneuver::Multiplexer::StationKeeping.
Referenced by Maneuver::Multiplexer::Task::consume().
|
inlinevirtual |
On GpsFix message.
Reimplemented in Maneuver::Multiplexer::PopUp.
Referenced by Maneuver::Multiplexer::Task::consume().
|
inlinevirtual |
On PathControlState message.
Reimplemented in Maneuver::Multiplexer::PopUp, Maneuver::Multiplexer::YoYo, Maneuver::Multiplexer::Elevator, Maneuver::Multiplexer::FollowPath, Maneuver::Multiplexer::Loiter, Maneuver::Multiplexer::StationKeeping, Maneuver::Multiplexer::Rows, and Maneuver::Multiplexer::Goto.
Referenced by Maneuver::Multiplexer::Task::onPathControlState().
|
inlinevirtual |
On StateReport function.
Reimplemented in Maneuver::Multiplexer::PopUp, Maneuver::Multiplexer::StationKeeping, and Maneuver::Multiplexer::Idle.
Referenced by Maneuver::Multiplexer::Task::onStateReport().
|
inlinevirtual |
On VehicleMedium message.
Reimplemented in Maneuver::Multiplexer::PopUp.
Referenced by Maneuver::Multiplexer::Task::consume().
|
pure virtual |
Start function.
Implemented in Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >, Maneuver::Multiplexer::MuxedManeuver< IMC::YoYo, YoYoArgs >, Maneuver::Multiplexer::MuxedManeuver< IMC::Goto, void >, Maneuver::Multiplexer::MuxedManeuver< IMC::Dislodge, DislodgeArgs >, Maneuver::Multiplexer::MuxedManeuver< IMC::FollowPath, void >, Maneuver::Multiplexer::MuxedManeuver< IMC::IdleManeuver, void >, Maneuver::Multiplexer::MuxedManeuver< IMC::Loiter, LoiterArgs >, Maneuver::Multiplexer::MuxedManeuver< IMC::PopUp, PopUpArgs >, Maneuver::Multiplexer::MuxedManeuver< IMC::StationKeeping, StationKeepingArgs >, Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs >, and Maneuver::Multiplexer::MuxedManeuver< IMC::Rows, void >.
Referenced by Maneuver::Multiplexer::Task::consume().
|
protected |
Pointer to task.
Referenced by Maneuver::Multiplexer::Elevator::checkVerticalProgress(), Maneuver::Multiplexer::PopUp::computeETA(), Maneuver::Multiplexer::PopUp::elevate(), Maneuver::Multiplexer::FollowPath::gotoNextPoint(), Maneuver::Multiplexer::Dislodge::onEstimatedState(), Maneuver::Multiplexer::YoYo::onEstimatedState(), Maneuver::Multiplexer::PopUp::onEstimatedState(), Maneuver::Multiplexer::Goto::onPathControlState(), Maneuver::Multiplexer::Rows::onPathControlState(), Maneuver::Multiplexer::Loiter::onPathControlState(), Maneuver::Multiplexer::Elevator::onPathControlState(), Maneuver::Multiplexer::FollowPath::onPathControlState(), Maneuver::Multiplexer::YoYo::onPathControlState(), Maneuver::Multiplexer::PopUp::onPathControlState(), Maneuver::Multiplexer::Goto::onStart(), Maneuver::Multiplexer::Idle::onStart(), Maneuver::Multiplexer::Rows::onStart(), Maneuver::Multiplexer::Loiter::onStart(), Maneuver::Multiplexer::FollowPath::onStart(), Maneuver::Multiplexer::StationKeeping::onStart(), Maneuver::Multiplexer::YoYo::onStart(), Maneuver::Multiplexer::Dislodge::onStart(), Maneuver::Multiplexer::Elevator::onStart(), Maneuver::Multiplexer::PopUp::onStart(), Maneuver::Multiplexer::Idle::onStateReport(), Maneuver::Multiplexer::StationKeeping::onStateReport(), Maneuver::Multiplexer::Rows::sendPath(), Maneuver::Multiplexer::PopUp::startStationKeeping(), and Maneuver::Multiplexer::YoYo::update().