DUNE: Uniform Navigational Environment  2019.02.1
Maneuver::Multiplexer::Dislodge Class Reference

Detailed Description

Dislodge maneuver.

Public Member Functions

 Dislodge (Maneuvers::Maneuver *task, DislodgeArgs *args)
 
void onStart (const IMC::Dislodge *maneuver)
 
void onEstimatedState (const IMC::EstimatedState *msg)
 
 ~Dislodge (void)
 
- Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Dislodge, DislodgeArgs >
 MuxedManeuver (Maneuvers::Maneuver *task, DislodgeArgs *args)
 
 MuxedManeuver (Maneuvers::Maneuver *task)
 
virtual ~MuxedManeuver (void)
 
void start (const IMC::Maneuver *maneuver)
 
- Public Member Functions inherited from Maneuver::Multiplexer::AbstractMux
 AbstractMux (Maneuvers::Maneuver *task)
 
virtual ~AbstractMux (void)
 
virtual void onPathControlState (const IMC::PathControlState *pcs)
 
virtual void onBrake (const IMC::Brake *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)
 

Additional Inherited Members

- Protected Attributes inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Dislodge, DislodgeArgs >
DislodgeArgsm_args
 
- Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux
Maneuvers::Maneuver * m_task
 

Constructor & Destructor Documentation

Maneuver::Multiplexer::Dislodge::Dislodge ( Maneuvers::Maneuver *  task,
DislodgeArgs args 
)
inline

Default constructor.

Parameters
[in]taskpointer to Maneuver task
[in]argspointer to Maneuver's arguments
Maneuver::Multiplexer::Dislodge::~Dislodge ( void  )
inline

Member Function Documentation

void Maneuver::Multiplexer::Dislodge::onEstimatedState ( const IMC::EstimatedState *  msg)
inlinevirtual

On EstimatedState message.

Parameters
[in]msgEstimatedState message

Reimplemented from Maneuver::Multiplexer::AbstractMux.

References Maneuver::Multiplexer::DislodgeArgs::safe_gap.

void Maneuver::Multiplexer::Dislodge::onStart ( const IMC::Dislodge *  maneuver)
inlinevirtual

Start maneuver function.

Parameters
[in]maneuveridle maneuver message

Implements Maneuver::Multiplexer::MuxedManeuver< IMC::Dislodge, DislodgeArgs >.

Collaboration diagram for Maneuver::Multiplexer::Dislodge:
Collaboration graph