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

#include <ApplicationState.h>

Inherits State.

Inherited by StateApproachCardForRead, StateApproachCardForWrite, StateAutoAuditor, StateAutoIssue, StateAutomaticDeductionCloseCountdown, StateBootError, StateCameraPreview, StateCancelTicket, StateCancelTicketSelection, StateCardInfo, StateCloseDailyIdentificationRecord, StateConnectionError, StateCountdownToCommandSegment, StateCreditRecharge, StateDataUpdate, StateDevicesUnlock, StateDriverIdentification, StateEMVTerminalUpdate, StateEnterCreditRechargeValue, StateEnterDailyIdentificationRecord, StateEnterPassengerCount, StateEnterVehicleIdentificationNumber, StateIncorrectDate, StateInputDataCheck, StateMenu, StateMessageHistory, StateMessageReply, StateOneWayTicketIssueCard, StateOneWayTicketIssueCash, StatePlaySpecialAnnoucement, StatePrintListOfCommandSegments, StateRefuel, StateSamUpdate, StateScanQRCode, StateScanUbianQRTicket, StateSelectCommandSegment, StateSelectDestinationBusStop, StateSelectDestinationZone, StateSelectDriverBugReportReason, StateSelectLineTrip, StateShowAlternativeRoutes, StateShowSpecialTextOnTable, StateShutdown, StateStartUp, StateTicketIssue, StateTicketIssueEMVCard, StateTimeTicketIssue, StateTransferDataToSlave, StateTripEndCountdown, StateTripVisualisationAndInfo, and StateUnpaidExpense.

Collaboration diagram for ApplicationState:
Collaboration graph
[legend]

Signals

void OnLeavingState ()
 

Public Member Functions

virtual void OnSecondTick ()
 
virtual void OnLeave ()
 
virtual void OnBusStopArrival (const int tripBusStopIndex, const GPSDefines::BusStopChangeType busStopChangeType)
 
virtual void OnBusStopDeparture (const int tripBusStopIndex, const GPSDefines::BusStopChangeType busStopChangeType)
 
virtual void OnSynchroPointArrival (const RouteSynchroPoint &routeSynchroPoint, const int tripBusStopIndex)
 
virtual void OnSynchroPointDelayTimeout (const RouteSynchroPoint &routeSynchroPoint, const int tripBusStopIndex)
 
virtual void OnSynchroPointDelayTimeout (const int tripBusStopIndex)
 
virtual void OnPrinterReady ()
 
virtual void OnPrinterError ()
 
virtual void OnPrinterPaperLow (const int printerId)
 
virtual void OnPrinterPaperFilled (const int printerId)
 
void CheckPrinterLowPaperStateAndDisplayToastIfNeeded ()
 
void OnDisplayToastPrinterLowPaper ()
 
virtual void OnPrintFinished ()
 
virtual void OnCardIn (const std::string &cardUID)
 
virtual void OnCardOut ()
 
virtual void WriteOK ()
 
virtual void WriteError ()
 
virtual void ReadError ()
 
virtual void DataReceived ()
 
virtual void OnExtraOperationStart (QString message, long timeout, ApplicationStateDefines::MessageWindowType messageType)
 
virtual void OnExtraOperationFinish (QString message, long timeout, ApplicationStateDefines::MessageWindowType messageType)
 
virtual void OnSCSReady ()
 
virtual void SCSLocked ()
 
virtual void SCSUnlocked ()
 
virtual void OnUnfinishedOperation ()
 
virtual void OnSamUpdateCheck (ApplicationDefines::ResultValue status)
 
virtual bool OnEMVCardPresent (const QString &pan)
 
virtual void OnPanelActionButtonClicked ()
 
virtual void OnInformationButtonClicked ()
 
virtual void OnGPSStatusIconClicked ()
 
virtual void OnDeviceStatusIconClicked ()
 
virtual void OnMessageIconClicked ()
 
virtual void OnCameraIconClicked ()
 
virtual void OnGpsOk ()
 
virtual void OnGpsError ()
 
virtual void OnPositionChanged (long latitude, long longitude, double altitude, double speed, long numberOfSatellites)
 
virtual void OnIncorrectlyProcessedDataOnSlave ()
 
virtual void OnSlavePassengerCheckedIn (long passengerCount)
 
virtual void OnSlaveConnected (long clientID)
 
virtual void OnSlaveDisconnected (long clientID)
 
virtual void OnSlaveTicketInformation (const QString &ticketInformation, const bool isTicketIssuedOnSlave)
 
virtual void OnSlaveAuditor ()
 
virtual void OnSlaveActualTimeRequest (long clientID)
 
virtual void OnSharedPaymentTerminalReady ()
 
void OnReceiveFileStart (const char *fileName)
 
void OnReceiveFileProgress (const char *fileName, long percentage)
 
void OnReceiveFileOk ()
 
void OnReceiveFileError ()
 
virtual void OnTransferFileToSlaveStarted ()
 
virtual void OnTransferFileToSlaveProgress (const int percent, const QString &filename)
 
virtual void OnTransferFileToSlaveSuccess ()
 
virtual void OnTransferFileToSlaveError ()
 
virtual void OnTransferFilesToAllSlavesFinished ()
 
virtual void OnSlaveUpdateStarted (const int slaveID)
 
virtual void OnSlaveUpdateProgress (const int slaveID, const int progressPercent)
 
virtual void OnSlaveUpdateFinished (const int slaveID)
 
virtual void OnSlaveUpdateText (const int slaveID, const QString &text)
 
virtual void OnMenuCommandSelected (MenuCommand *menuCommand)
 
virtual void OnMenuActionAccident ()
 
virtual void OnMenuActionSelectAnotherTrip ()
 
virtual void OnMenuActionFinishState ()
 
virtual void OnMenuActionChangeState (const QString stateName, const StateDefines::ChangeStateFlag changeStateFlag=StateDefines::ChangeStateFlagUndefined)
 
virtual void OnMenuActionChangeStateToApproachCard (const ApplicationDefines::CardReadIntention cardReadIntention)
 
virtual void OnMenuActionChangeIssueMode ()
 
virtual void OnMenuActionTicketSummary ()
 
virtual void OnMenuActionCurrentTripInformation ()
 
virtual void OnMenuActionEmergencyMessageToDispatching ()
 
virtual void OnMenuActionSelectDeviationBusStops ()
 
virtual void OnMenuActionEMVPaymentTransaction ()
 
virtual void OnMenuActionEMVHandshakeTransaction ()
 
virtual void OnMenuActionEMVCallParamsTransaction (EM::Devices::EMVDefines::ProtocolTypeRequest protocolTypeRequest)
 
virtual void OnMonitoringDataFromAnalyzerReceived (const QString &data)
 
virtual void OnMonitoringDataFromSingleDeviceReceived (const MonitoringDevices::MonitoringDeviceStatus &status)
 
virtual void OnBarcodeScanned (const QByteArray &barcode)
 
virtual void OnBarcodeProcessReceived (const EM::Devices::BarcodeDataMap &barcodeDataMap)
 
void SetEmvTransactionIntention (const ApplicationDefines::EmvTransactionIntention &emvTransactionIntention)
 
ApplicationDefines::EmvTransactionIntention GetEmvTransactionIntention () const
 
virtual void OnEMVActivityInfoMessage (QString message)
 
virtual void OnEMVPaymentSuccesfull (unsigned long amount, QString cardNumber, QString cardBranch, QString approvalCode, QString serialNumber, QString terminalId, QString invoiceNumber)
 
virtual void OnEMVPaymentUnsuccesfull (long terminalError, QString message, QString terminalId, QString invoiceNumber)
 
virtual void OnEMVPassivateSuccesfull (unsigned long amount, QString message, QString terminalId)
 
virtual void OnEMVPassivateUnsuccesfull (long terminalError, QString message, QString terminalId)
 
virtual void OnEMVPassivatePaymentNotActive (QString message, QString terminalId)
 
virtual void OnEMVReversalSuccesfull (QString terminalId)
 
virtual void OnEMVReversalUnsuccesfull (long terminalError, QString message, QString terminalId)
 
virtual void OnEMVHandshakeSuccesfull (QString message, QString terminalId)
 
virtual void OnEMVHandshakeUnsuccesfull (long terminalError, QString message, QString terminalId)
 
virtual void OnEMVLedState (EM::Devices::EMVDefines::EMVLedState ledState)
 
virtual void OnEMVBuzzerState (EM::Devices::EMVDefines::EMVBuzzerState buzzerState)
 
virtual void OnEMVNonEMVCardPresent (EM::Devices::EMVDefines::EMVAntennaStatus antennaStatus, QByteArray cardUid)
 
virtual void OnEMVCloseTotalsSuccessful (QString terminalSums, QString terminalId)
 
virtual void OnEMVCloseTotalsUnsuccessful (long terminalError, QString terminalId)
 
virtual void OnEMVCallParamsSuccesfull (QString message, QString terminalId)
 
virtual void OnEMVCallParamsUnsuccesfull (long terminalError, QString message, QString terminalId)
 
virtual void OnEMVReadStoplistVersion (QString stoplistVersion, QString stoplistValidity)
 
virtual void OnEMVGetLastTransaction (const EM::Devices::EMVDefines::EMVTerminalErrorCode &responseCode, const QDateTime &transactionDateTime, const QString &message, const unsigned long &amount, const QString &cardNumber, const QString &cardBranch, const QString &approvalCode, const QString &serialNumber, const QString &terminalId, const QString &invoiceNumber)
 
virtual void OnEMVUpdateStatus (const EM::Devices::EMVDefines::EMVTerminalStatus &terminalStatus)
 
virtual void OnEMVGetTerminalStatus (const EM::Devices::EMVDefines::EMVTerminalStatus &terminalStatus)
 
virtual void OnEMVTerminalInTransaction (const bool isEmvTerminalInTransaction)
 
virtual void OnEMVSetLocalFTPForUpdate (const EM::Devices::EMVDefines::EMVTerminalErrorCode responseCode)
 
virtual void OnSlaveEmvResult (const EM::Devices::SlaveEmvResult &slaveEmvResult)
 
virtual void OnSlaveEmvTerminalUpdateProcessResult (const int slaveID, const EmvTerminalFwUpdate::UpdateProcessState result)
 
virtual void OnSlaveEmvTerminalCallForParamsResult (const int slaveID, const EmvTerminalCallForParams::CallForParamsProcessState result)
 
bool LockSCSImmediately (bool displayToastErrorMessageIfLockingFailed=true)
 
virtual void OnAutomaticPassengerCountResultsArrived (const uint16_t boardingCount, const uint16_t alightingCount)
 
virtual void OnAutomaticPassengerCountResultsArrived (const uint8_t fullness, const uint16_t capacity, const uint16_t passengerCount, const QString &calculationTime, const uint32_t busStopID, const uint8_t busStopOrder)
 
virtual void OnDigitalInputChanged (const unsigned char pinNumber, const bool pinValue)
 
virtual void OnTemperatureChanged (const EM::Devices::ConnboardDefines::TemperatureSensorIndexToTemperatureValueMap &temperatures)
 
virtual void OnFuelTankOpenClosedStateChanged (const bool fuelTankIsOpen)
 
virtual void OnReceiveTextMessage (const QDateTime &messageTime, const QString &messageText, const uint32_t messageID, const bool showPopUp=true)
 
virtual void OnReceivePredefinedMessages (const PredefinedMessages &predefinedMessages, const DispatchingTextMessagesReceiver::ReceivedMessageNotificationType receivedMessageNotificationType)
 
virtual void OnReplyToTextMessageClosed ()
 
virtual void OnReplyToTextMessageConfirmed (const QDateTime &messageTime, const QString &messageText, const uint32_t messageID)
 
virtual void OnReplyToTextMessageMarkAsRead (const QDateTime &messageTime, const uint32_t messageID)
 
virtual void OnPopUpMessageCreated ()
 
virtual void OnPopUpMessageHidden ()
 
virtual void OnLastPopUpMessageClosed ()
 
virtual void OnVoipMakingCallFailed (const bool isEmergencyCall, const int errorCode)
 
void RetryToMakeACallDefaultButtonHandler (const bool isEmergencyCall)
 
virtual void OnNetworkReply (ApplicationDefines::NetworkRequestType networkRequestType, const QJsonDocument &replyData)
 
virtual void OnNetworkReply (const ApplicationDefines::NetworkRequestType networkRequestType, const QByteArray &replyData)
 
virtual void OnNetworkReplyTimeout (const ApplicationDefines::NetworkRequestType networkRequestType)
 
virtual void OnWebSocketMessage (ApplicationDefines::WebSocketType webSocketType, const QJsonDocument &replyData)
 
virtual void OnNetworkReplyError (const ApplicationDefines::NetworkRequestType networkRequestType)
 
virtual void OnDataUpdateStarted ()
 
virtual void OnDataUpdateFinished ()
 
void OnPanicButtonPushed ()
 
void OnIgnitionStateReceived (const bool ignitionState)
 
void OnPowerButtonPressed ()
 
void OnQadraRealtimeDataReceived (const QStringList &realtimeData)
 
void OnQadraSynchronizeDateTime (const long long diffSecs)
 
void OnAnnouncementFromDispatchingReceived (const Announcement &announcement)
 

Protected Member Functions

 ApplicationState (const QString &stateName, ApplicationStateManager *stateManager)
 
virtual ~ApplicationState ()
 
void RegisterStateLogic (StateLogic *stateLogic)
 
StateLogicGetStateLogicByType (ApplicationStateDefines::StateLogicType stateLogicType)
 
BusinessLogicManagerGetBusinessLogicManager () const
 
ApplicationStateManagerGetStateManager () const
 
WindowManagerGetWindowManager () const
 
void DefaultOnSlaveConnected (long clientID)
 
void DefaultOnUnfinishedOperation ()
 
void RefreshDataSynchronizationIcon ()
 
void HideReaderBlockedToastMessage ()
 
void LockIssue (const bool lockByDriver=false)
 
void UnlockIssue ()
 
bool CloseDeductionAndPrintFinalTicket ()
 CloseDeductionAndPrintFinalTicket - closes deduction and prints final ticket, shows popup message if error occured. More...
 
void CloseDailyRecordAndDeductionOnNewMonth ()
 CloseDailyRecordAndDeductionOnNewMonth - close daily record (if used by TS) and deduction If daily records are not used, only deduction will be closed. If daily records are used, additional information may be requested (tachograph value, refueled volume,... ) More...
 
ApplicationDefines::ResultValue InvokeBreakWriteRequest (bool &isInWritingProcess)
 
void ChangeStateToDispatcherLogin (bool printTicketEnabled)
 
void ChangeStateToTicketIssue (StorageList storageList)
 
void ChangeStateToEnterDailyIdentificationRecord ()
 
void ShowToastObstacleCausedFailedPrint ()
 
bool IsToastObstacleCausedFailedPrintDisplayed () const
 
void HideToastObstacleCausedFailedPrint ()
 
void OnBatteryVoltageAction (const uint16_t batteryVoltage)
 

Constructor & Destructor Documentation

INTERNAL ApplicationState::ApplicationState ( const QString &  stateName,
ApplicationStateManager stateManager 
)
protected

Here is the call graph for this function:

ApplicationState::~ApplicationState ( )
protectedvirtual

Member Function Documentation

void ApplicationState::ChangeStateToDispatcherLogin ( bool  printTicketEnabled)
protected

Here is the caller graph for this function:

void ApplicationState::ChangeStateToEnterDailyIdentificationRecord ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::ChangeStateToTicketIssue ( StorageList  storageList)
protected

Here is the caller graph for this function:

void ApplicationState::CheckPrinterLowPaperStateAndDisplayToastIfNeeded ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::CloseDailyRecordAndDeductionOnNewMonth ( )
protected

CloseDailyRecordAndDeductionOnNewMonth - close daily record (if used by TS) and deduction If daily records are not used, only deduction will be closed. If daily records are used, additional information may be requested (tachograph value, refueled volume,... )

Here is the caller graph for this function:

bool ApplicationState::CloseDeductionAndPrintFinalTicket ( )
protected

CloseDeductionAndPrintFinalTicket - closes deduction and prints final ticket, shows popup message if error occured.

Returns
true if current state was changed or will be changed after pressing popup button; false if deduction closing failed and current state will not be changed

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::DataReceived ( )
virtual

Reimplemented in StateTicketIssue, StateApproachCardForRead, and StateTimeTicketActivity.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::DefaultOnSlaveConnected ( long  clientID)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::DefaultOnUnfinishedOperation ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

BusinessLogicManager * ApplicationState::GetBusinessLogicManager ( ) const
protected
ApplicationDefines::EmvTransactionIntention ApplicationState::GetEmvTransactionIntention ( ) const

Here is the caller graph for this function:

StateLogic * ApplicationState::GetStateLogicByType ( ApplicationStateDefines::StateLogicType  stateLogicType)
protected

Here is the caller graph for this function:

ApplicationStateManager * ApplicationState::GetStateManager ( ) const
protected

Here is the caller graph for this function:

WindowManager * ApplicationState::GetWindowManager ( ) const
protected

Here is the caller graph for this function:

void ApplicationState::HideReaderBlockedToastMessage ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::HideToastObstacleCausedFailedPrint ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

ApplicationDefines::ResultValue ApplicationState::InvokeBreakWriteRequest ( bool &  isInWritingProcess)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

bool ApplicationState::IsToastObstacleCausedFailedPrintDisplayed ( ) const
protected

Here is the caller graph for this function:

void ApplicationState::LockIssue ( const bool  lockByDriver = false)
protected

Here is the caller graph for this function:

bool ApplicationState::LockSCSImmediately ( bool  displayToastErrorMessageIfLockingFailed = true)

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnAnnouncementFromDispatchingReceived ( const Announcement announcement)

Here is the call graph for this function:

void ApplicationState::OnAutomaticPassengerCountResultsArrived ( const uint16_t  boardingCount,
const uint16_t  alightingCount 
)
virtual

Reimplemented in StateTicketIssue, and StateTripVisualisationIssue.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnAutomaticPassengerCountResultsArrived ( const uint8_t  fullness,
const uint16_t  capacity,
const uint16_t  passengerCount,
const QString &  calculationTime,
const uint32_t  busStopID,
const uint8_t  busStopOrder 
)
virtual

Reimplemented in StateTicketIssue, and StateTripVisualisationIssue.

Here is the call graph for this function:

void ApplicationState::OnBarcodeProcessReceived ( const EM::Devices::BarcodeDataMap &  barcodeDataMap)
virtual

Reimplemented in StateTicketIssue.

Here is the caller graph for this function:

void ApplicationState::OnBarcodeScanned ( const QByteArray &  barcode)
virtual

Reimplemented in StateTicketIssue, StateScanQRCode, and StateScanUbianQRTicket.

Here is the caller graph for this function:

void ApplicationState::OnBatteryVoltageAction ( const uint16_t  batteryVoltage)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnBusStopArrival ( const int  tripBusStopIndex,
const GPSDefines::BusStopChangeType  busStopChangeType 
)
virtual

Reimplemented in StateTicketIssue, StateMessageHistory, StateFragmentFlowTicketIssue, StateTripVisualisationIssue, StateTripVisualisationAndInfo, StateMenu, StateMessageReply, and StateCompactTicketIssue.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnBusStopDeparture ( const int  tripBusStopIndex,
const GPSDefines::BusStopChangeType  busStopChangeType 
)
virtual

Reimplemented in StateTicketIssue, StateFragmentFlowTicketIssue, StateTripVisualisationIssue, StateCameraPreview, StateTripVisualisationAndInfo, and StateCompactTicketIssue.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnCameraIconClicked ( )
virtual
void ApplicationState::OnCardIn ( const std::string &  cardUID)
virtual

Reimplemented in StateTicketIssue, StateTimeTicketIssue, StateTimeTicketActivity, StateApproachCardForRead, StateApproachCardForWrite, and StateTimeTicketProlongation.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnCardOut ( )
virtual

Reimplemented in StateTicketIssue, StateTimeTicketIssue, StateApproachCardForRead, StateApproachCardForWrite, and StateTimeTicketActivity.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnDataUpdateFinished ( )
virtual

Reimplemented in StateDataUpdate.

Here is the caller graph for this function:

void ApplicationState::OnDataUpdateStarted ( )
virtual

Reimplemented in StateDataUpdate, and StateInputDataCheck.

Here is the caller graph for this function:

void ApplicationState::OnDeviceStatusIconClicked ( )
virtual
void ApplicationState::OnDigitalInputChanged ( const unsigned char  pinNumber,
const bool  pinValue 
)
virtual

Reimplemented in StateCameraPreview.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnDisplayToastPrinterLowPaper ( )

Here is the call graph for this function:

void ApplicationState::OnEMVActivityInfoMessage ( QString  message)
virtual

Reimplemented in StateTicketIssueEMVCard, and StateEMVTerminalUpdate.

Here is the caller graph for this function:

void ApplicationState::OnEMVBuzzerState ( EM::Devices::EMVDefines::EMVBuzzerState  buzzerState)
virtual
void ApplicationState::OnEMVCallParamsSuccesfull ( QString  message,
QString  terminalId 
)
virtual

Reimplemented in StateShutdown.

Here is the call graph for this function:

void ApplicationState::OnEMVCallParamsUnsuccesfull ( long  terminalError,
QString  message,
QString  terminalId 
)
virtual

Reimplemented in StateShutdown.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ApplicationState::OnEMVCardPresent ( const QString &  pan)
virtual

Reimplemented in StateApproachCardForRead.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVCloseTotalsSuccessful ( QString  terminalSums,
QString  terminalId 
)
virtual
void ApplicationState::OnEMVCloseTotalsUnsuccessful ( long  terminalError,
QString  terminalId 
)
virtual
void ApplicationState::OnEMVGetLastTransaction ( const EM::Devices::EMVDefines::EMVTerminalErrorCode &  responseCode,
const QDateTime &  transactionDateTime,
const QString &  message,
const unsigned long &  amount,
const QString &  cardNumber,
const QString &  cardBranch,
const QString &  approvalCode,
const QString &  serialNumber,
const QString &  terminalId,
const QString &  invoiceNumber 
)
virtual

Reimplemented in StateTicketIssueEMVCard, and StateCancelTicket.

Here is the caller graph for this function:

void ApplicationState::OnEMVGetTerminalStatus ( const EM::Devices::EMVDefines::EMVTerminalStatus &  terminalStatus)
virtual

Here is the call graph for this function:

void ApplicationState::OnEMVHandshakeSuccesfull ( QString  message,
QString  terminalId 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnEMVHandshakeUnsuccesfull ( long  terminalError,
QString  message,
QString  terminalId 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnEMVLedState ( EM::Devices::EMVDefines::EMVLedState  ledState)
virtual

Reimplemented in StateTicketIssueEMVCard.

Here is the caller graph for this function:

void ApplicationState::OnEMVNonEMVCardPresent ( EM::Devices::EMVDefines::EMVAntennaStatus  antennaStatus,
QByteArray  cardUid 
)
virtual

Reimplemented in StateTicketIssueEMVCard.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVPassivatePaymentNotActive ( QString  message,
QString  terminalId 
)
virtual

Reimplemented in StateTicketIssueEMVCard.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVPassivateSuccesfull ( unsigned long  amount,
QString  message,
QString  terminalId 
)
virtual

Reimplemented in StateTicketIssueEMVCard.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVPassivateUnsuccesfull ( long  terminalError,
QString  message,
QString  terminalId 
)
virtual

Reimplemented in StateTicketIssueEMVCard.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVPaymentSuccesfull ( unsigned long  amount,
QString  cardNumber,
QString  cardBranch,
QString  approvalCode,
QString  serialNumber,
QString  terminalId,
QString  invoiceNumber 
)
virtual

Reimplemented in StateTicketIssue, and StateTicketIssueEMVCard.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVPaymentUnsuccesfull ( long  terminalError,
QString  message,
QString  terminalId,
QString  invoiceNumber 
)
virtual

Reimplemented in StateTicketIssueEMVCard.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVReadStoplistVersion ( QString  stoplistVersion,
QString  stoplistValidity 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnEMVReversalSuccesfull ( QString  terminalId)
virtual

Reimplemented in StateCancelTicket.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVReversalUnsuccesfull ( long  terminalError,
QString  message,
QString  terminalId 
)
virtual

Reimplemented in StateCancelTicket.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVSetLocalFTPForUpdate ( const EM::Devices::EMVDefines::EMVTerminalErrorCode  responseCode)
virtual

Reimplemented in StateEMVTerminalUpdate.

void ApplicationState::OnEMVTerminalInTransaction ( const bool  isEmvTerminalInTransaction)
virtual

Nothing to do

Reimplemented in StateTicketIssueEMVCard, StateCancelTicket, and StateShutdown.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnEMVUpdateStatus ( const EM::Devices::EMVDefines::EMVTerminalStatus &  terminalStatus)
virtual
void ApplicationState::OnExtraOperationFinish ( QString  message,
long  timeout,
ApplicationStateDefines::MessageWindowType  messageType 
)
virtual

Reimplemented in StateTicketIssue, and StateApproachCardForRead.

Here is the caller graph for this function:

void ApplicationState::OnExtraOperationStart ( QString  message,
long  timeout,
ApplicationStateDefines::MessageWindowType  messageType 
)
virtual

Reimplemented in StateTicketIssue, and StateApproachCardForRead.

Here is the caller graph for this function:

void ApplicationState::OnFuelTankOpenClosedStateChanged ( const bool  fuelTankIsOpen)
virtual

Here is the call graph for this function:

void ApplicationState::OnGpsError ( )
virtual

Here is the call graph for this function:

void ApplicationState::OnGpsOk ( )
virtual

Here is the call graph for this function:

void ApplicationState::OnGPSStatusIconClicked ( )
virtual
void ApplicationState::OnIgnitionStateReceived ( const bool  ignitionState)

Here is the call graph for this function:

void ApplicationState::OnIncorrectlyProcessedDataOnSlave ( )
virtual

Here is the call graph for this function:

void ApplicationState::OnInformationButtonClicked ( )
virtual
void ApplicationState::OnLastPopUpMessageClosed ( )
virtual

Reimplemented in StateSelectCommandSegment.

Here is the caller graph for this function:

void ApplicationState::OnLeave ( )
virtual
void ApplicationState::OnLeavingState ( )
signal

Here is the caller graph for this function:

void ApplicationState::OnMenuActionAccident ( )
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuActionChangeIssueMode ( )
virtual

Here is the caller graph for this function:

void ApplicationState::OnMenuActionChangeState ( const QString  stateName,
const StateDefines::ChangeStateFlag  changeStateFlag = StateDefines::ChangeStateFlagUndefined 
)
virtual

Here is the caller graph for this function:

void ApplicationState::OnMenuActionChangeStateToApproachCard ( const ApplicationDefines::CardReadIntention  cardReadIntention)
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuActionCurrentTripInformation ( )
virtual

Here is the caller graph for this function:

void ApplicationState::OnMenuActionEmergencyMessageToDispatching ( )
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuActionEMVCallParamsTransaction ( EM::Devices::EMVDefines::ProtocolTypeRequest  protocolTypeRequest)
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuActionEMVHandshakeTransaction ( )
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuActionEMVPaymentTransaction ( )
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuActionFinishState ( )
virtual

Here is the caller graph for this function:

void ApplicationState::OnMenuActionSelectAnotherTrip ( )
virtual

Here is the caller graph for this function:

void ApplicationState::OnMenuActionSelectDeviationBusStops ( )
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuActionTicketSummary ( )
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnMenuCommandSelected ( MenuCommand menuCommand)
virtual

Reimplemented in StateMenu.

void ApplicationState::OnMessageIconClicked ( )
virtual
void ApplicationState::OnMonitoringDataFromAnalyzerReceived ( const QString &  data)
virtual

Here is the call graph for this function:

void ApplicationState::OnMonitoringDataFromSingleDeviceReceived ( const MonitoringDevices::MonitoringDeviceStatus status)
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnNetworkReply ( ApplicationDefines::NetworkRequestType  networkRequestType,
const QJsonDocument &  replyData 
)
virtual

Reimplemented in StateTicketIssue, StateTripVisualisationIssue, StateTripVisualisationAndInfo, StateCountdownToCommandSegment, StateDriverIdentificationByLoginPin, and StateInputDataCheck.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnNetworkReply ( const ApplicationDefines::NetworkRequestType  networkRequestType,
const QByteArray &  replyData 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnNetworkReplyError ( const ApplicationDefines::NetworkRequestType  networkRequestType)
virtual

Reimplemented in StateInputDataCheck.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnNetworkReplyTimeout ( const ApplicationDefines::NetworkRequestType  networkRequestType)
virtual

Reimplemented in StateInputDataCheck.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnPanelActionButtonClicked ( )
virtual
void ApplicationState::OnPanicButtonPushed ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnPopUpMessageCreated ( )
virtual

Reimplemented in StateCameraPreview.

Here is the caller graph for this function:

void ApplicationState::OnPopUpMessageHidden ( )
virtual
void ApplicationState::OnPositionChanged ( long  latitude,
long  longitude,
double  altitude,
double  speed,
long  numberOfSatellites 
)
virtual

Reimplemented in StateTripVisualisationIssue, and StateTripVisualisationAndInfo.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnPowerButtonPressed ( )

Here is the call graph for this function:

void ApplicationState::OnPrinterError ( )
virtual
void ApplicationState::OnPrinterPaperFilled ( const int  printerId)
virtual

Here is the call graph for this function:

void ApplicationState::OnPrinterPaperLow ( const int  printerId)
virtual

Here is the call graph for this function:

void ApplicationState::OnPrinterReady ( )
virtual

Here is the call graph for this function:

void ApplicationState::OnPrintFinished ( )
virtual

Reimplemented in StateTicketIssueEMVCard, StateCancelTicket, StateOneWayTicketIssueCard, StateOneWayTicketIssueCash, and StateCreditRecharge.

Here is the caller graph for this function:

void ApplicationState::OnQadraRealtimeDataReceived ( const QStringList &  realtimeData)

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnQadraSynchronizeDateTime ( const long long  diffSecs)
void ApplicationState::OnReceiveFileError ( )

Here is the call graph for this function:

void ApplicationState::OnReceiveFileOk ( )

Here is the call graph for this function:

void ApplicationState::OnReceiveFileProgress ( const char *  fileName,
long  percentage 
)
void ApplicationState::OnReceiveFileStart ( const char *  fileName)

Here is the call graph for this function:

void ApplicationState::OnReceivePredefinedMessages ( const PredefinedMessages predefinedMessages,
const DispatchingTextMessagesReceiver::ReceivedMessageNotificationType  receivedMessageNotificationType 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnReceiveTextMessage ( const QDateTime &  messageTime,
const QString &  messageText,
const uint32_t  messageID,
const bool  showPopUp = true 
)
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnReplyToTextMessageClosed ( )
virtual
void ApplicationState::OnReplyToTextMessageConfirmed ( const QDateTime &  messageTime,
const QString &  messageText,
const uint32_t  messageID 
)
virtual

Reimplemented in StateTicketIssue.

Here is the caller graph for this function:

void ApplicationState::OnReplyToTextMessageMarkAsRead ( const QDateTime &  messageTime,
const uint32_t  messageID 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnSamUpdateCheck ( ApplicationDefines::ResultValue  status)
virtual

Here is the call graph for this function:

void ApplicationState::OnSCSReady ( )
virtual

Reimplemented in StateConnectionError.

Here is the caller graph for this function:

void ApplicationState::OnSecondTick ( )
virtual
void ApplicationState::OnSharedPaymentTerminalReady ( )
virtual

Reimplemented in StateApproachCardForRead.

void ApplicationState::OnSlaveActualTimeRequest ( long  clientID)
virtual

Here is the call graph for this function:

void ApplicationState::OnSlaveAuditor ( )
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnSlaveConnected ( long  clientID)
virtual
void ApplicationState::OnSlaveDisconnected ( long  clientID)
virtual

Here is the call graph for this function:

void ApplicationState::OnSlaveEmvResult ( const EM::Devices::SlaveEmvResult &  slaveEmvResult)
virtual

Reimplemented in StateCancelTicket.

Here is the call graph for this function:

void ApplicationState::OnSlaveEmvTerminalCallForParamsResult ( const int  slaveID,
const EmvTerminalCallForParams::CallForParamsProcessState  result 
)
virtual

Reimplemented in StateShutdown.

void ApplicationState::OnSlaveEmvTerminalUpdateProcessResult ( const int  slaveID,
const EmvTerminalFwUpdate::UpdateProcessState  result 
)
virtual

Reimplemented in StateEMVTerminalUpdate.

void ApplicationState::OnSlavePassengerCheckedIn ( long  passengerCount)
virtual

Reimplemented in StateTicketIssue.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::OnSlaveTicketInformation ( const QString &  ticketInformation,
const bool  isTicketIssuedOnSlave 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnSlaveUpdateFinished ( const int  slaveID)
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnSlaveUpdateProgress ( const int  slaveID,
const int  progressPercent 
)
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnSlaveUpdateStarted ( const int  slaveID)
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnSlaveUpdateText ( const int  slaveID,
const QString &  text 
)
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnSynchroPointArrival ( const RouteSynchroPoint routeSynchroPoint,
const int  tripBusStopIndex 
)
virtual
void ApplicationState::OnSynchroPointDelayTimeout ( const RouteSynchroPoint routeSynchroPoint,
const int  tripBusStopIndex 
)
virtual
void ApplicationState::OnSynchroPointDelayTimeout ( const int  tripBusStopIndex)
virtual
void ApplicationState::OnTemperatureChanged ( const EM::Devices::ConnboardDefines::TemperatureSensorIndexToTemperatureValueMap &  temperatures)
virtual
void ApplicationState::OnTransferFilesToAllSlavesFinished ( )
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnTransferFileToSlaveError ( )
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnTransferFileToSlaveProgress ( const int  percent,
const QString &  filename 
)
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnTransferFileToSlaveStarted ( )
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnTransferFileToSlaveSuccess ( )
virtual

Reimplemented in StateTransferDataToSlave.

Here is the caller graph for this function:

void ApplicationState::OnUnfinishedOperation ( )
virtual
void ApplicationState::OnVoipMakingCallFailed ( const bool  isEmergencyCall,
const int  errorCode 
)
virtual

Here is the call graph for this function:

void ApplicationState::OnWebSocketMessage ( ApplicationDefines::WebSocketType  webSocketType,
const QJsonDocument &  replyData 
)
virtual
void ApplicationState::ReadError ( )
virtual

Reimplemented in StateApproachCardForRead.

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::RefreshDataSynchronizationIcon ( )
protected

Here is the caller graph for this function:

void ApplicationState::RegisterStateLogic ( StateLogic stateLogic)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::RetryToMakeACallDefaultButtonHandler ( const bool  isEmergencyCall)

Here is the call graph for this function:

void ApplicationState::SCSLocked ( )
virtual

Reimplemented in StateApproachCardForRead, and StateCompactTicketIssue.

Here is the caller graph for this function:

void ApplicationState::SCSUnlocked ( )
virtual

Reimplemented in StateApproachCardForRead, and StateCompactTicketIssue.

Here is the caller graph for this function:

void ApplicationState::SetEmvTransactionIntention ( const ApplicationDefines::EmvTransactionIntention emvTransactionIntention)

Here is the caller graph for this function:

void ApplicationState::ShowToastObstacleCausedFailedPrint ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::UnlockIssue ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void ApplicationState::WriteError ( )
virtual
void ApplicationState::WriteOK ( )
virtual

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