DUNE: Uniform Navigational Environment  2019.02.0
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.

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

Referenced by onPathControlState().

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
Collaboration diagram for Maneuver::Multiplexer::Elevator:
Collaboration graph