libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::VehicleFollowHandler Class Reference

#include <libosmscout-client-qt/include/osmscoutclientqt/InputHandler.h>

Inheritance diagram for osmscout::VehicleFollowHandler:
Collaboration diagram for osmscout::VehicleFollowHandler:

Public Member Functions

 VehicleFollowHandler (const MapView &view, const QSizeF &widgetSize)
 ~VehicleFollowHandler () override=default
bool vehiclePosition (const VehiclePosition &vehiclePosition, bool autoRotateMap) override
bool isLockedToPosition () override
bool isFollowVehicle () override
void widgetResized (const QSizeF &widgetSize) override
Public Member Functions inherited from osmscout::JumpHandler
 JumpHandler (const MapView &view, double moveAnimationDuration=(double) ANIMATION_DURATION, double zoomAnimationDuration=(double) ANIMATION_DURATION)
 ~JumpHandler () override=default
bool animationInProgress () override
bool showCoordinates (const osmscout::GeoCoord &coord, const osmscout::Magnification &magnification, const osmscout::Bearing &bearing) override
Public Member Functions inherited from osmscout::InputHandler
 InputHandler (const MapView &view)
 ~InputHandler () override=default
virtual void painted ()
virtual bool zoom (double zoomFactor, const QPoint &widgetPosition, const QRect &widgetDimension)
virtual bool move (const QVector2D &vector)
virtual bool rotateTo (double angle)
virtual bool rotateBy (double angleChange)
virtual bool touch (const QTouchEvent &event)
virtual bool currentPosition (bool locationValid, osmscout::GeoCoord currentPosition)
virtual bool focusOutEvent (QFocusEvent *event)

Additional Inherited Members

Signals inherited from osmscout::InputHandler
void viewChanged (const MapView &view)
Protected Attributes inherited from osmscout::InputHandler
MapView view

Detailed Description

Input handler that follow vehicle.

Constructor & Destructor Documentation

◆ VehicleFollowHandler()

osmscout::VehicleFollowHandler::VehicleFollowHandler ( const MapView & view,
const QSizeF & widgetSize )

◆ ~VehicleFollowHandler()

osmscout::VehicleFollowHandler::~VehicleFollowHandler ( )
overridedefault

Member Function Documentation

◆ isFollowVehicle()

bool osmscout::VehicleFollowHandler::isFollowVehicle ( )
overridevirtual

Reimplemented from osmscout::InputHandler.

◆ isLockedToPosition()

bool osmscout::VehicleFollowHandler::isLockedToPosition ( )
overridevirtual

Reimplemented from osmscout::InputHandler.

◆ vehiclePosition()

bool osmscout::VehicleFollowHandler::vehiclePosition ( const VehiclePosition & vehiclePosition,
bool autoRotateMap )
overridevirtual

Reimplemented from osmscout::InputHandler.

◆ widgetResized()

void osmscout::VehicleFollowHandler::widgetResized ( const QSizeF & widgetSize)
overridevirtual

Reimplemented from osmscout::InputHandler.


The documentation for this class was generated from the following file: