Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
BusTableMessagesFromDispatchingBusinessLogic.h
Go to the documentation of this file.
1 #ifndef BUSTABLEMESSAGESFROMDISPATCHINGBUSINESSLOGIC_H
2 #define BUSTABLEMESSAGESFROMDISPATCHINGBUSINESSLOGIC_H
3 
4 // SYSTEM INCLUDES
5 #include <stdint.h>
6 
7 // BASE INCLUDES
8 #include "BusinessLogic.h"
9 
10 // OBC DEVICES INCLUDES
11 #include "obcdevices/ethernettabledriver/InfoMessageFromDispatching.h"
12 
13 class QJsonObject;
14 class QJsonDocument;
16 class UniversalDictionary;
17 class Announcement;
18 
20 {
21  Q_OBJECT
22 public:
24 
27 
28  bool Init( NetworkRequestHandler *networkRequestHandler );
29  void IssueIn( const int32_t lineNumber );
30  void IssueOut();
31 
32  void OnSecondTick();
33 
34  ApplicationDefines::ResultValue CreateNetworkRequest( QJsonObject &jsonRequest );
35  ApplicationDefines::ResultValue ProcessNetworkReply( const QJsonDocument &jsonData );
36  bool ProcessAnnouncementPanelMessage( const Announcement &announcement );
37 
38 private slots:
39  void OnDownloadTimerTimeout();
40 
41 private:
43 
44  class DataClass;
45  QScopedPointer<DataClass> d;
46 
48 };
49 
50 #endif // BUSTABLEMESSAGESFROMDISPATCHINGBUSINESSLOGIC_H
virtual ~BusTableMessagesFromDispatchingBusinessLogic()
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:366
ApplicationDefines::ResultValue ProcessNetworkReply(const QJsonDocument &jsonData)
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:443
The BusinessLogic class is the base class of all business logic classes. Every inherited class has to...
Definition: BusinessLogic.h:11
void OnSecondTick()
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:416
bool Init(NetworkRequestHandler *networkRequestHandler)
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:370
static const ApplicationDefines::BusinessLogicType mBusinessLogicType
Definition: BusTableMessagesFromDispatchingBusinessLogic.h:23
ResultValue
Definition: ApplicationDefines.h:92
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:66
void IssueIn(const int32_t lineNumber)
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:394
Definition: DispatchingAnnouncementsReceiver.h:9
BusTableMessagesFromDispatchingBusinessLogic()
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:359
void IssueOut()
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:410
Definition: BusTableMessagesFromDispatchingBusinessLogic.h:19
BusinessLogicType
Definition: ApplicationDefines.h:186
bool ProcessAnnouncementPanelMessage(const Announcement &announcement)
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:511
Definition: NetworkRequestHandler.h:12
ApplicationDefines::ResultValue CreateNetworkRequest(QJsonObject &jsonRequest)
Definition: BusTableMessagesFromDispatchingBusinessLogic.cpp:433