DUNE: Uniform Navigational Environment
2017.01.0
|
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 | onBrake (const IMC::Brake *msg) |
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 Brake message.
Reimplemented in Maneuver::Multiplexer::YoYo.
Referenced by Maneuver::Multiplexer::Task::consume().
|
inlinevirtual |
On EstimatedState message.
Reimplemented in Maneuver::Multiplexer::PopUp, Maneuver::Multiplexer::Loiter, Maneuver::Multiplexer::YoYo, Maneuver::Multiplexer::ScheduledGoto, Maneuver::Multiplexer::Dislodge, Maneuver::Multiplexer::Elevator, 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::Loiter, Maneuver::Multiplexer::Elevator, Maneuver::Multiplexer::FollowPath, Maneuver::Multiplexer::Rows, Maneuver::Multiplexer::StationKeeping, Maneuver::Multiplexer::ScheduledGoto, Maneuver::Multiplexer::Goto, and Maneuver::Multiplexer::Launch.
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, and Maneuver::Multiplexer::Launch.
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::Launch, 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::ScheduledGoto, ScheduledArgs >, 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::Loiter::getType(), Maneuver::Multiplexer::FollowPath::gotoNextPoint(), Maneuver::Multiplexer::Dislodge::onEstimatedState(), Maneuver::Multiplexer::ScheduledGoto::onEstimatedState(), Maneuver::Multiplexer::YoYo::onEstimatedState(), Maneuver::Multiplexer::PopUp::onEstimatedState(), Maneuver::Multiplexer::Launch::onPathControlState(), Maneuver::Multiplexer::Goto::onPathControlState(), Maneuver::Multiplexer::ScheduledGoto::onPathControlState(), Maneuver::Multiplexer::Rows::onPathControlState(), Maneuver::Multiplexer::FollowPath::onPathControlState(), Maneuver::Multiplexer::Elevator::onPathControlState(), Maneuver::Multiplexer::Loiter::onPathControlState(), Maneuver::Multiplexer::YoYo::onPathControlState(), Maneuver::Multiplexer::PopUp::onPathControlState(), Maneuver::Multiplexer::Goto::onStart(), Maneuver::Multiplexer::Idle::onStart(), Maneuver::Multiplexer::Launch::onStart(), Maneuver::Multiplexer::Rows::onStart(), Maneuver::Multiplexer::FollowPath::onStart(), Maneuver::Multiplexer::StationKeeping::onStart(), Maneuver::Multiplexer::Dislodge::onStart(), Maneuver::Multiplexer::YoYo::onStart(), Maneuver::Multiplexer::Elevator::onStart(), Maneuver::Multiplexer::Loiter::onStart(), Maneuver::Multiplexer::PopUp::onStart(), Maneuver::Multiplexer::Idle::onStateReport(), Maneuver::Multiplexer::StationKeeping::onStateReport(), Maneuver::Multiplexer::Launch::onVehicleMedium(), Maneuver::Multiplexer::PopUp::onVehicleMedium(), Maneuver::Multiplexer::Rows::sendPath(), Maneuver::Multiplexer::PopUp::startStationKeeping(), Maneuver::Multiplexer::ScheduledGoto::update(), and Maneuver::Multiplexer::YoYo::update().