Commit Graph

52 Commits

Author SHA1 Message Date
1155b83ca9 Removed dcDownloadStart().
dcDownloadRequested():	return if download of dc has been requested.
dcDownloadResetRequested(): reset state of m_requested.
2023-12-08 12:58:31 +01:00
631550b55e dcDownloadRequest(): declare as const and set m_finished = true; 2023-12-08 12:55:10 +01:00
9e5c379e8a Make download api in include/interfaces.h available for Qt using
signals/slots.
2023-12-08 12:51:16 +01:00
6b9e795206 Reordered and extended interface-api for download-thread and reporting-thread:
virtual bool dcDownloadRequest(QString const &fileToDownload) const;
virtual bool dcDownloadRequested() const;
virtual bool dcDownloadResetRequest() const;
virtual bool dcDownloadRequestAck() const;
virtual bool dcDownloadRunning() const;
virtual bool dcDownloadFinished();

virtual bool dcDownloadReportStart() const;
virtual bool dcDownloadReportRunning() const;

virtual bool dcDownloadReportFinished();
virtual bool dcDownloadThreadStart();
virtual bool dcDownloadThreadRunning() const;
virtual void dcDownloadThreadFinalize(DownloadThread *);

virtual bool dcDownloadThreadFinished() const;
virtual bool dcDownloadReportThreadStart();
virtual bool dcDownloadReportThreadRunning() const;
virtual void dcDownloadReportThreadFinalize();
virtual void dcDownloadReportThreadQuit();

virtual bool dcDownloadReportThreadFinished() const;
virtual QString dcDownloadFileName() const;
virtual bool dcDownloadSetRequested(bool requested);
virtual bool dcDownloadSetRunning(bool running);
virtual bool dcDownloadSetFinished(bool finished);
virtual void dcDownloadSetTotalBlockNumber(uint16_t totalBlockNumber);
virtual void dcDownloadSetCurrentBlockNumber(uint16_t currentBlockNumber);
virtual bool dcDownloadGetRequested() const;
virtual bool dcDownloadGetRunning() const;
virtual bool dcDownloadGetFinished() const;
virtual uint16_t dcDownloadGetTotalBlockNumber() const;
virtual uint16_t dcDownloadGetCurrentBlockNumber() const;
2023-12-08 12:44:53 +01:00
b7ff6dcdbe devl continue 2023-12-06 16:35:17 +01:00
2025a75d56 Save as changing to master. 2023-12-06 14:53:52 +01:00
6176285b89 Keep test code. 2023-12-03 19:55:23 +01:00
0344150950 dd reporting thread signals. 2023-12-03 19:54:21 +01:00
68813a49c5 Add reporting thread and download thread. 2023-12-03 19:53:18 +01:00
8e287e3163 Add reporting thread and download thread. 2023-12-03 19:52:48 +01:00
fd58f41c87 Implement helpers:
virtual void dcDownloadStart() {}^M
virtual bool dcDownloadRequested() const { return false; }^M
virtual void dcDownloadResetRequest() {}^M
virtual QString dcDownloadFileName() const { return ""; }^M
virtual void dcDownloadReportStart() {}^M
2023-12-02 09:47:51 +01:00
ece75887e2 Add helpers:
virtual void dcDownloadStart() {}^M
virtual bool dcDownloadRequested() const { return false; }^M
virtual void dcDownloadResetRequest() {}^M
virtual QString dcDownloadFileName() const { return ""; }^M
virtual void dcDownloadReportStart() {}^M
2023-12-02 09:47:26 +01:00
cee4caf77d Add helpers:
virtual void dcDownloadStart() {}^M
virtual bool dcDownloadRequested() const { return false; }^M
virtual void dcDownloadResetRequest() {}^M
virtual QString dcDownloadFileName() const { return ""; }^M
virtual void dcDownloadReportStart() {}^M
2023-12-02 09:46:58 +01:00
6b2830ee83 start download thread in cycleSend() when reuested 2023-12-02 09:46:18 +01:00
cd4bddd169 Minor: only hwinf as parameter needed 2023-12-02 09:44:59 +01:00
8a380c9845 Minor: only hwinf as parameter needed 2023-12-02 09:44:51 +01:00
23619543b2 Minor: only hwinf as parameter needed 2023-12-02 09:44:32 +01:00
be16fe4981 Minor: only hwinf as parameter needed 2023-12-02 09:44:18 +01:00
cf621c02bd Pass hwinf into constructor. Add pointer to download thread. 2023-12-02 09:42:50 +01:00
ee26eef50f Save development files. 2023-12-01 14:28:07 +01:00
78700e7bea
Fix: return value prn_getPrintResult() 2023-11-30 14:27:17 +01:00
3d3bc88269
Merge branch 'yoctoIntegration' 2023-11-21 10:14:18 +01:00
ae9a5b0920
Revert "Project: remove DESTFILE definition (disrupts yocto build)"
This reverts commit 3cdd11cc36.
2023-11-21 10:11:18 +01:00
3cdd11cc36
Project: remove DESTFILE definition (disrupts yocto build) 2023-11-21 10:06:00 +01:00
7746f22d01
Project: set TEMPLATE for apps 2023-11-21 09:25:04 +01:00
27f1a47e23
Project: remove rules for deployment 2023-11-20 17:01:02 +01:00
eed4c278f8 csv loaded by dCArun: contains standard settings for serial connection 2023-11-20 11:32:45 +01:00
1dd368dad3 Use /usr/lib as path for the CA-libraries on the PTU5. 2023-11-15 10:17:45 +01:00
Thomas Sax
53054ca2d0 Add file 2023-11-14 08:48:48 +01:00
Thomas Sax
ca067b0246 Extended with bna-functionality. 2023-11-14 08:47:37 +01:00
Thomas
7c4fcab33c remove obsolete file 2023-11-14 08:45:57 +01:00
Thomas
7628ec0d5f remove unused file 2023-11-14 08:45:05 +01:00
Thomas
c89decdeae Implemented bna-functionality 2023-11-14 08:40:54 +01:00
Thomas
40848344f5 Changes for BNAÖ case 41, 42, 16. 2023-11-14 08:39:15 +01:00
Thomas
4eabff268e Added bna-function declarations 2023-11-14 08:37:39 +01:00
Thomas
226f6d91c2 Added some variables for bna 2023-11-14 08:36:44 +01:00
Thomas
447d1ceb54 Removed obsolete comments 2023-11-14 08:35:53 +01:00
Thomas
79868787cf Filled struct T_bna and added new version number. 2023-11-14 08:34:32 +01:00
fb6a0b086f Fix: signals are not allowed to be (pure) virtual functions. 2023-11-09 10:19:17 +01:00
17f8cac383 Fix: Signals are not allowed to be pure virtual functions. 2023-11-09 10:18:15 +01:00
ffa470f49f Provide default implementations for all function in interfaces.h. 2023-11-09 10:17:46 +01:00
a0c9f7c4e7 Provide defualt implementations for all functions in interfaces.h. 2023-11-09 10:16:35 +01:00
38e86460fe Use QTDIR variable from SystemSettings. 2023-11-08 16:59:52 +01:00
42ad43f137 Use relative path tp GMK/phytec 2023-11-08 16:44:37 +01:00
605d190dcb main (as entry point of both libraries) outputs version info. 2023-11-08 16:25:29 +01:00
26a4c128a5 Added qmake-guard 'unix'. 2023-11-08 16:24:47 +01:00
ea67cdff6c Added qmake-guard 'unix'. 2023-11-08 16:24:27 +01:00
f29a364a6d Added VERSION-string. 2023-11-08 16:23:49 +01:00
407e25233c Made libCamaster and libCAslave executable so they can output their
respective version info.
2023-11-08 16:22:39 +01:00
c2aa6f9d39 Added VERSION-string. 2023-11-08 16:21:36 +01:00