DUNE: Uniform Navigational Environment  2019.02.1
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 onThrottle (const IMC::Throttle *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.

References start().

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::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::onThrottle ( const IMC::Throttle *  msg)
inlinevirtual

On Rpm message.

Reimplemented in Maneuver::Multiplexer::Sample.

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

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

Member Data Documentation

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