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

Detailed Description

Elevator maneuver.

Public Member Functions

 Elevator (Maneuvers::Maneuver *task, ElevatorArgs *args)
 
 ~Elevator (void)
 
void onStart (const IMC::Elevator *maneuver)
 
void onEstimatedState (const IMC::EstimatedState *msg)
 
void onPathControlState (const IMC::PathControlState *pcs)
 
void checkVerticalProgress (void)
 
- Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs >
 MuxedManeuver (Maneuvers::Maneuver *task, ElevatorArgs *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 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::Elevator, ElevatorArgs >
ElevatorArgsm_args
 
- Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux
Maneuvers::Maneuver * m_task
 

Constructor & Destructor Documentation

Maneuver::Multiplexer::Elevator::Elevator ( Maneuvers::Maneuver *  task,
ElevatorArgs args 
)
inline

Default constructor.

Parameters
[in]taskpointer to Maneuver task
[in]argselevator arguments
Maneuver::Multiplexer::Elevator::~Elevator ( void  )
inline

Destructor.

Member Function Documentation

void Maneuver::Multiplexer::Elevator::checkVerticalProgress ( void  )
inline

Check vertical progress.

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

On message EstimatedState.

Parameters
[in]msgpointer to EstimatedState message

Reimplemented from Maneuver::Multiplexer::AbstractMux.

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

On PathControlState message.

Parameters
[in]pcspointer to PathControlState message

Reimplemented from Maneuver::Multiplexer::AbstractMux.

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

Start maneuver function.

Parameters
[in]maneuverrows maneuver message

Implements Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs >.

Collaboration diagram for Maneuver::Multiplexer::Elevator:
Collaboration graph