DUNE: Uniform Navigational Environment  2016.09.0
Maneuver::Multiplexer::AbstractMux Class Referenceabstract

Detailed Description

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
 

Constructor & Destructor Documentation

Maneuver::Multiplexer::AbstractMux::AbstractMux ( Maneuvers::Maneuver *  task)
inline

Constructor.

Parameters
[in]taskpointer to Maneuver task
virtual Maneuver::Multiplexer::AbstractMux::~AbstractMux ( void  )
inlinevirtual

Destructor.

Member Function Documentation

virtual void Maneuver::Multiplexer::AbstractMux::onBrake ( const IMC::Brake *  msg)
inlinevirtual

On Brake message.

Reimplemented in Maneuver::Multiplexer::YoYo.

Referenced by Maneuver::Multiplexer::Task::consume().

virtual void Maneuver::Multiplexer::AbstractMux::onEstimatedState ( const IMC::EstimatedState *  msg)
inlinevirtual
virtual void Maneuver::Multiplexer::AbstractMux::onGpsFix ( const IMC::GpsFix *  msg)
inlinevirtual

On GpsFix message.

Reimplemented in Maneuver::Multiplexer::PopUp.

Referenced by Maneuver::Multiplexer::Task::consume().

virtual void Maneuver::Multiplexer::AbstractMux::onStateReport ( void  )
inlinevirtual
virtual void Maneuver::Multiplexer::AbstractMux::onVehicleMedium ( const IMC::VehicleMedium *  msg)
inlinevirtual

On VehicleMedium message.

Reimplemented in Maneuver::Multiplexer::PopUp, and Maneuver::Multiplexer::Launch.

Referenced by Maneuver::Multiplexer::Task::consume().

Member Data Documentation

Maneuvers::Maneuver* Maneuver::Multiplexer::AbstractMux::m_task
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().

Collaboration diagram for Maneuver::Multiplexer::AbstractMux:
Collaboration graph