DUNE: Uniform Navigational Environment  2016.09.0
Maneuver::Multiplexer::MuxedManeuver< Msg, Arg > Class Template Referenceabstract

Detailed Description

template<typename Msg, typename Arg>
class Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >

Multiplexed maneuver.

Public Member Functions

 MuxedManeuver (Maneuvers::Maneuver *task, Arg *args)
 
 MuxedManeuver (Maneuvers::Maneuver *task)
 
virtual ~MuxedManeuver (void)
 
void start (const IMC::Maneuver *maneuver)
 
virtual void onStart (const Msg *maneuver)=0
 
- 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 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

Arg * m_args
 
- Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux
Maneuvers::Maneuver * m_task
 

Constructor & Destructor Documentation

template<typename Msg, typename Arg>
Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >::MuxedManeuver ( Maneuvers::Maneuver *  task,
Arg *  args 
)
inline

Constructor.

Parameters
[in]taskpointer to Maneuver task
[in]argspointer to arguments
template<typename Msg, typename Arg>
Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >::MuxedManeuver ( Maneuvers::Maneuver *  task)
inline

Constructor.

Parameters
[in]taskpointer to Maneuver task
template<typename Msg, typename Arg>
virtual Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >::~MuxedManeuver ( void  )
inlinevirtual

Destructor.

Member Function Documentation

template<typename Msg, typename Arg>
void Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >::start ( const IMC::Maneuver *  maneuver)
inlinevirtual

Start maneuver function.

Parameters
[in]maneuverrows maneuver message

Implements Maneuver::Multiplexer::AbstractMux.

Member Data Documentation

template<typename Msg, typename Arg>
Arg* Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >::m_args
protected

Pointer to arguments.

Collaboration diagram for Maneuver::Multiplexer::MuxedManeuver< Msg, Arg >:
Collaboration graph