Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
SystemTimeSynchronizationBusinessLogic::DataClass Class Reference
Collaboration diagram for SystemTimeSynchronizationBusinessLogic::DataClass:
Collaboration graph
[legend]

Public Member Functions

 DataClass (SystemTimeSynchronizationBusinessLogic *dataClassOwner)
 
 ~DataClass ()
 
int32_t GetNtpUtcSecondsSinceEpochFromUnixUtcTime (const QDateTime &utcDateTimeSinceEpoch)
 
QDateTime GetUnixUtcTimeFromNtpUtcTime (const int32_t &secondsSinceNtpEpoch)
 
bool IsNetworkInterfaceAvailable (const bool checkGprsInterface)
 
bool IsPossibleToGetNtpTime ()
 
bool IsNtpRequestInProgress () const
 
bool SendNtpRequest ()
 

Public Attributes

SystemTimeSynchronizationBusinessLogicmDataClassOwner
 
EMVTerminalBusinessLogicmEmvTerminalBusinessLogic
 
QadraMessagesBusinessLogicmQadraBusinessLogic
 
bool mAllowedOneTimeSync
 
QDateTime mTimeSyncAttemptStart
 
QDateTime mGpsTimeToSyncTo
 
QTimer mNtpResponseTimer
 
TimeSyncPoint mLastGpsOffsetSample
 
TimeSyncPoint mLastNtpOffsetSample
 
QUdpSocket mNtpSocket
 

Constructor & Destructor Documentation

SystemTimeSynchronizationBusinessLogic::DataClass::DataClass ( SystemTimeSynchronizationBusinessLogic dataClassOwner)
inline

Here is the call graph for this function:

SystemTimeSynchronizationBusinessLogic::DataClass::~DataClass ( )
inline

Member Function Documentation

int32_t SystemTimeSynchronizationBusinessLogic::DataClass::GetNtpUtcSecondsSinceEpochFromUnixUtcTime ( const QDateTime &  utcDateTimeSinceEpoch)
inline
QDateTime SystemTimeSynchronizationBusinessLogic::DataClass::GetUnixUtcTimeFromNtpUtcTime ( const int32_t &  secondsSinceNtpEpoch)
inline
bool SystemTimeSynchronizationBusinessLogic::DataClass::IsNetworkInterfaceAvailable ( const bool  checkGprsInterface)
inline
bool SystemTimeSynchronizationBusinessLogic::DataClass::IsNtpRequestInProgress ( ) const
inline
bool SystemTimeSynchronizationBusinessLogic::DataClass::IsPossibleToGetNtpTime ( )
inline
bool SystemTimeSynchronizationBusinessLogic::DataClass::SendNtpRequest ( )
inline

Here is the call graph for this function:

Member Data Documentation

bool SystemTimeSynchronizationBusinessLogic::DataClass::mAllowedOneTimeSync
SystemTimeSynchronizationBusinessLogic* SystemTimeSynchronizationBusinessLogic::DataClass::mDataClassOwner
EMVTerminalBusinessLogic* SystemTimeSynchronizationBusinessLogic::DataClass::mEmvTerminalBusinessLogic
QDateTime SystemTimeSynchronizationBusinessLogic::DataClass::mGpsTimeToSyncTo
TimeSyncPoint SystemTimeSynchronizationBusinessLogic::DataClass::mLastGpsOffsetSample
TimeSyncPoint SystemTimeSynchronizationBusinessLogic::DataClass::mLastNtpOffsetSample
QTimer SystemTimeSynchronizationBusinessLogic::DataClass::mNtpResponseTimer
QUdpSocket SystemTimeSynchronizationBusinessLogic::DataClass::mNtpSocket
QadraMessagesBusinessLogic* SystemTimeSynchronizationBusinessLogic::DataClass::mQadraBusinessLogic
QDateTime SystemTimeSynchronizationBusinessLogic::DataClass::mTimeSyncAttemptStart

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