#include <GPSBusinessLogic.h>
|
| | 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 () |
| |
| | BusinessLogic (ApplicationDefines::BusinessLogicType businessLogicType, ApplicationDefines::BusinessLogicLifeTimeType businessLogicLifeTimeType) |
| |
| virtual | ~BusinessLogic () |
| |
| ApplicationDefines::BusinessLogicType | GetBusinessLogicType () const |
| |
| ApplicationDefines::BusinessLogicLifeTimeType | GetBusinessLogicLifeTimeType () const |
| |
| GPSBusinessLogic::GPSBusinessLogic |
( |
| ) |
|
| GPSBusinessLogic::~GPSBusinessLogic |
( |
| ) |
|
|
virtual |
CalculateDelayOnBusStop - calculates delay by tariff time by defined trip bus stop order tripBusStopIndex.
- Parameters
-
- Returns
- ApplicationDefines::ResultValue
| long GPSBusinessLogic::CalculateDistance |
( |
long |
lonX1, |
|
|
long |
latY1, |
|
|
long |
lonX2, |
|
|
long |
latY2 |
|
) |
| |
Calculates distance between two points in meters.
- Parameters
-
| lonX1 | and |
| latY1 | - point one |
| lonX2 | and |
| latY2 | - point two |
- Returns
- distance in meters
| int GPSBusinessLogic::GetGPSBearingDegrees |
( |
| ) |
|
| void GPSBusinessLogic::GetLastKnownPosition |
( |
long & |
latitude, |
|
|
long & |
longitude |
|
) |
| |
GetLastKnownPosition - returns last known GPS coordinates.
- Parameters
-
| latitude | - last known latitude |
| longitude | - last known longitude |
| bool GPSBusinessLogic::IsOnBusStop |
( |
| ) |
|
| void GPSBusinessLogic::IssueIn |
( |
const QList< RouteBusStop > & |
modelRoute, |
|
|
const int32_t |
actualTripBusStopindex |
|
) |
| |
| void GPSBusinessLogic::IssueOut |
( |
| ) |
|
| void GPSBusinessLogic::OnManualBusStopSynchronization |
( |
| ) |
|
| void GPSBusinessLogic::OnPositionChanged |
( |
long |
latitude, |
|
|
long |
longitude, |
|
|
double |
altitude, |
|
|
double |
speed, |
|
|
SGPSTimePal |
time |
|
) |
| |
| void GPSBusinessLogic::OnRequestManualBusStopChange |
( |
unsigned long |
requestedTripBusStopIndex | ) |
|
| void GPSBusinessLogic::OnSynchronizationOnBusStopFinished |
( |
const int |
actualTripBusStopOrder | ) |
|
|
protectedvirtual |
| void GPSBusinessLogic::OnSynchronizationOnRoutePointFinished |
( |
const int |
actualTripBusStopOrder, |
|
|
const RouteSynchroPoint & |
routeSynchroPoint |
|
) |
| |
|
protectedvirtual |
| void GPSBusinessLogic::PostApplicationEvent |
( |
long |
eventType, |
|
|
BusStopChangeEvent * |
event |
|
) |
| |
|
protectedvirtual |
| void GPSBusinessLogic::PostApplicationEvent |
( |
long |
eventType, |
|
|
SynchroPointEvent * |
event |
|
) |
| |
|
protectedvirtual |
| void GPSBusinessLogic::ResetDelayTimeout |
( |
| ) |
|
| void GPSBusinessLogic::SetDelayRefreshTimeout |
( |
const long |
delayRefreshTimeoutSeconds | ) |
|
The documentation for this class was generated from the following files: