DUNE: Uniform Navigational Environment  2017.01.0
Maneuver::Multiplexer::Rows Class Reference

Detailed Description

Rows maneuver.

Public Member Functions

 Rows (Maneuvers::Maneuver *task)
 
 ~Rows (void)
 
void onStart (const IMC::Rows *maneuver)
 
void onPathControlState (const IMC::PathControlState *pcs)
 
void sendPath (double lat, double lon)
 
- Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Rows, void >
 MuxedManeuver (Maneuvers::Maneuver *task, void *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 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)
 

Additional Inherited Members

- Protected Attributes inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Rows, void >
void * m_args
 
- Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux
Maneuvers::Maneuver * m_task
 

Constructor & Destructor Documentation

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

Default constructor.

Parameters
[in]taskpointer to Maneuver task
Maneuver::Multiplexer::Rows::~Rows ( void  )
inline

Destructor.

Member Function Documentation

void Maneuver::Multiplexer::Rows::onPathControlState ( const IMC::PathControlState *  pcs)
inlinevirtual

On PathControlState message.

Parameters
[in]pcspointer to PathControlState message

Reimplemented from Maneuver::Multiplexer::AbstractMux.

References Maneuver::Multiplexer::AbstractMux::m_task, and sendPath().

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

Start maneuver function.

Parameters
[in]maneuverrows maneuver message

Implements Maneuver::Multiplexer::MuxedManeuver< IMC::Rows, void >.

References Maneuver::Multiplexer::AbstractMux::m_task, and sendPath().

void Maneuver::Multiplexer::Rows::sendPath ( double  lat,
double  lon 
)
inline

Send new desired path.

Parameters
[in]latlatitude for new desired path
[in]lonlongitude for new desired path

References Maneuver::Multiplexer::AbstractMux::m_task.

Referenced by onPathControlState(), and onStart().

Collaboration diagram for Maneuver::Multiplexer::Rows:
Collaboration graph