Commit Graph

512 Commits

Author SHA1 Message Date
babic_a 2cb6dac8ba Cleanup empty lines 2020-04-06 13:11:13 +02:00
babic_a 48232925bc Add module sub-folder 2020-04-06 11:53:32 +02:00
babic_a e3194a3252 Move receiver to proper folder 2020-04-06 11:33:44 +02:00
babic_a e35894326d Make RB initialization flag local 2020-04-06 11:29:19 +02:00
babic_a 4685bbbc76 Fix debug output text 2020-04-06 11:28:14 +02:00
babic_a c45a5846d4 Add verification on RB initialization request 2020-04-06 11:25:44 +02:00
babic_a bdb99f1d13 Improve RingBuffer initialization
Remove automatic initialization on slot reservation - the client will need to take care
of the initialization at the most appropriate time - also allows the calling code to define
the slot size.
2020-04-06 11:12:30 +02:00
babic_a 8c144a07d7 Fix style in compression 2020-04-03 16:54:01 +02:00
babic_a 06f15b8cb9 Add compression buffer size validation 2020-04-03 16:53:50 +02:00
babic_a 233c483fc7 Make RingBuffer initialization thread safe 2020-04-03 15:38:15 +02:00
babic_a d571cdfed7 Remove unused functions 2020-04-03 15:32:24 +02:00
babic_a a0bf79cb35 Remove usage of this-> 2020-04-03 15:31:51 +02:00
babic_a 68bfcb0f74 Increase default ZMQ receive buffer to 15MB 2020-04-03 15:31:39 +02:00
babic_a 9d1158a68b Properly release ring buffer when reading the slots 2020-04-03 14:13:16 +02:00
babic_a e65d90bc34 Remove deprecated methods from tests 2020-04-03 14:00:02 +02:00
babic_a 1949eab3ef Substitute deprecated method with valid one for Zmq recv 2020-04-03 13:51:35 +02:00
babic_a a3d8b1e92b Fix tests 2020-04-03 13:48:16 +02:00
babic_a 1107a08d0f Adjust usage of new ZmqReceiver 2020-04-03 13:48:10 +02:00
babic_a 3853e08238 Cleanup ZmqReceiver 2020-04-03 13:47:48 +02:00
babic_a 90a4206fe0 Remove useless shared_ptr 2020-04-03 13:31:09 +02:00
babic_a dbf33bd8e2 Add simple transfer test 2020-04-02 18:02:45 +02:00
babic_a 378cf77754 Fix reference assignment in RingBuffer constructor
(How does this even compile?!?!)
2020-04-02 17:56:33 +02:00
babic_a 8af70fb6d9 Change number assign for bool 2020-04-02 17:43:47 +02:00
babic_a 8593ed51b6 Move compression to the receiver since it is done there. 2020-04-02 15:48:51 +02:00
babic_a 81feebd4f6 Implement a simple transfer test 2020-04-02 15:46:52 +02:00
babic_a c35ceeed80 Use close instead of disconnect for ZMQ shutdown 2020-04-02 14:49:58 +02:00
babic_a a5419b4812 Small fixes in RecvModule after testing 2020-04-02 14:41:17 +02:00
babic_a 9cd2413783 Add disconnect function to ZmqReceiver 2020-04-02 14:41:08 +02:00
babic_a 68f75869ea Compression library imports fix 2020-04-02 14:10:48 +02:00
babic_a 197f8e8433 Add compression library to tests 2020-04-02 14:10:18 +02:00
babic_a 9d6e2bbbbb Increase C++ standard to 17 2020-04-02 14:10:08 +02:00
babic_a 2c1ae79e8b Fix C imports in C++ code 2020-04-02 14:09:52 +02:00
babic_a 4ef21c652c Add cpp compression file 2020-04-02 14:09:24 +02:00
babic_a 9c5a19102f Complete basic interaction test for ZmqRecvModule 2020-04-01 16:05:44 +02:00
babic_a 252482ac71 Add debug output to start and stop writing 2020-04-01 16:03:02 +02:00
babic_a 5d5fde82f8 Encapsulate is_writing_ flag 2020-04-01 16:00:05 +02:00
babic_a 69fb522efd Rename start and stop receiver methods 2020-04-01 15:56:08 +02:00
babic_a f5f65850f2 Partial test implementation 2020-04-01 15:54:51 +02:00
babic_a b6846e82d2 Add test stub for ZmqRecvModule 2020-04-01 15:46:49 +02:00
babic_a d21f721358 Implement ZmqRecvModule stop procedure 2020-04-01 15:45:06 +02:00
babic_a a3110580dc Implement ZmqRecvModule start procedure 2020-04-01 15:41:50 +02:00
babic_a e43c9c0ccd Adjust test for ZmqReceiver 2020-03-31 18:08:52 +02:00
babic_a 3480b98471 Improve ZmqReceiver code 2020-03-31 18:08:42 +02:00
babic_a 8f6f2ef32c Add receiving flag 2020-03-31 17:56:07 +02:00
babic_a 6d8e113e7b First implementation of receiver module 2020-03-31 17:45:09 +02:00
babic_a afc2c23eb5 Add TODO to sync 2020-03-31 17:43:02 +02:00
babic_a 8cecd50cc7 Substitute NULL with nullptr 2020-03-31 17:38:50 +02:00
babic_a dce62b6fa7 Set the default number of receiving threads to 1 2020-03-31 13:48:41 +02:00
babic_a 69e8530879 Remove unused config parameter 2020-03-31 13:47:14 +02:00
babic_a be3a605c8c Restructure folder to writer and receiver 2020-03-31 13:46:15 +02:00