Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Signals | Public Member Functions | Protected Member Functions | List of all members
GPSBusinessLogicTestWrapper Class Reference

GPSBusinessLogic child, that emits signals on location events (algorithm change, bus stop events, synchronization events,...) More...

#include <GPSBusinessLogicTestWrapper.h>

Inheritance diagram for GPSBusinessLogicTestWrapper:
Inheritance graph
[legend]
Collaboration diagram for GPSBusinessLogicTestWrapper:
Collaboration graph
[legend]

Signals

void AlgorithmChanged (GPSDefines::GPSAlgorithmType gpsAlgorithmType)
 
void SynchronizationOnBusStopFinished (const int actualTripBusStopOrder)
 
void SynchronizationOnRoutePointFinished (const int actualTripBusStopOrder, const RouteSynchroPoint &routeSynchroPoint)
 
void SynchroPointArrival (const int actualTripBusStopOrder, const RouteSynchroPoint &routeSynchroPoint)
 
void BusStopArrival (const int busStopTripIndex)
 
void BusStopDeparture (const int busStopTripIndex)
 

Public Member Functions

 GPSBusinessLogicTestWrapper ()
 
virtual ~GPSBusinessLogicTestWrapper ()
 
void OnPositionChanged (long latitude, long longitude)
 
- Public Member Functions inherited from GPSBusinessLogic
 GPSBusinessLogic ()
 
virtual ~GPSBusinessLogic ()
 
void IssueIn (const QList< RouteBusStop > &modelRoute, const int32_t actualTripBusStopindex)
 
void IssueOut ()
 
void UpdateModelRoute (const QList< RouteBusStop > &modelRoute)
 
void SetDelayRefreshTimeout (const long delayRefreshTimeoutSeconds)
 
long CalculateDistance (long lonX1, long latY1, long lonX2, long latY2)
 Calculates distance between two points in meters. More...
 
void OnRequestManualBusStopChange (unsigned long requestedTripBusStopIndex)
 
void OnPositionChanged (long latitude, long longitude, double altitude, double speed, SGPSTimePal time)
 
void OnBusStopArrival (const int busStopTripIndex, const GPSDefines::BusStopChangeType busStopChangeType)
 
void OnBusStopDeparture (const int busStopTripIndex, const GPSDefines::BusStopChangeType busStopChangeType)
 
bool IsOnBusStop ()
 
void ResetDelayTimeout ()
 
int GetGPSBearingDegrees ()
 
void GetLastKnownPosition (long &latitude, long &longitude)
 GetLastKnownPosition - returns last known GPS coordinates. More...
 
ApplicationDefines::ResultValue CalculateDelayAccordingToBusStop (const int tripBusStopIndex, int &delay)
 CalculateDelayOnBusStop - calculates delay by tariff time by defined trip bus stop order tripBusStopIndex. More...
 
void OnManualBusStopSynchronization ()
 
- Public Member Functions inherited from BusinessLogic
 BusinessLogic (ApplicationDefines::BusinessLogicType businessLogicType, ApplicationDefines::BusinessLogicLifeTimeType businessLogicLifeTimeType)
 
virtual ~BusinessLogic ()
 
ApplicationDefines::BusinessLogicType GetBusinessLogicType () const
 
ApplicationDefines::BusinessLogicLifeTimeType GetBusinessLogicLifeTimeType () const
 

Protected Member Functions

virtual void ChangeAlgorithm (GPSDefines::GPSAlgorithmType gpsAlgorithmType)
 
virtual void PostApplicationEvent (long eventType, BusStopChangeEvent *event)
 
virtual void PostApplicationEvent (long eventType, SynchroPointEvent *event)
 
virtual void OnSynchronizationOnBusStopFinished (const int actualTripBusStopOrder)
 
virtual void OnSynchronizationOnRoutePointFinished (const int actualTripBusStopOrder, const RouteSynchroPoint &routeSynchroPoint)
 

Additional Inherited Members

- Static Public Attributes inherited from GPSBusinessLogic
static const
ApplicationDefines::BusinessLogicType 
mBusinessLogicType = ApplicationDefines::GPSBusinessLogic
 

Detailed Description

GPSBusinessLogic child, that emits signals on location events (algorithm change, bus stop events, synchronization events,...)

Constructor & Destructor Documentation

GPSBusinessLogicTestWrapper::GPSBusinessLogicTestWrapper ( )
GPSBusinessLogicTestWrapper::~GPSBusinessLogicTestWrapper ( )
virtual

Member Function Documentation

void GPSBusinessLogicTestWrapper::AlgorithmChanged ( GPSDefines::GPSAlgorithmType  gpsAlgorithmType)
signal

Here is the caller graph for this function:

void GPSBusinessLogicTestWrapper::BusStopArrival ( const int  busStopTripIndex)
signal

Here is the caller graph for this function:

void GPSBusinessLogicTestWrapper::BusStopDeparture ( const int  busStopTripIndex)
signal

Here is the caller graph for this function:

void GPSBusinessLogicTestWrapper::ChangeAlgorithm ( GPSDefines::GPSAlgorithmType  gpsAlgorithmType)
protectedvirtual

Reimplemented from GPSBusinessLogic.

Here is the call graph for this function:

void GPSBusinessLogicTestWrapper::OnPositionChanged ( long  latitude,
long  longitude 
)

Here is the call graph for this function:

void GPSBusinessLogicTestWrapper::OnSynchronizationOnBusStopFinished ( const int  actualTripBusStopOrder)
protectedvirtual

Reimplemented from GPSBusinessLogic.

Here is the call graph for this function:

void GPSBusinessLogicTestWrapper::OnSynchronizationOnRoutePointFinished ( const int  actualTripBusStopOrder,
const RouteSynchroPoint routeSynchroPoint 
)
protectedvirtual

Reimplemented from GPSBusinessLogic.

Here is the call graph for this function:

void GPSBusinessLogicTestWrapper::PostApplicationEvent ( long  eventType,
BusStopChangeEvent event 
)
protectedvirtual

Reimplemented from GPSBusinessLogic.

void GPSBusinessLogicTestWrapper::PostApplicationEvent ( long  eventType,
SynchroPointEvent event 
)
protectedvirtual

Reimplemented from GPSBusinessLogic.

void GPSBusinessLogicTestWrapper::SynchronizationOnBusStopFinished ( const int  actualTripBusStopOrder)
signal

Here is the caller graph for this function:

void GPSBusinessLogicTestWrapper::SynchronizationOnRoutePointFinished ( const int  actualTripBusStopOrder,
const RouteSynchroPoint routeSynchroPoint 
)
signal

Here is the caller graph for this function:

void GPSBusinessLogicTestWrapper::SynchroPointArrival ( const int  actualTripBusStopOrder,
const RouteSynchroPoint routeSynchroPoint 
)
signal

Here is the caller graph for this function:


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