Commit Graph

177 Commits

Author SHA1 Message Date
babic_a 055eeb0065 Externalize in mock class 2020-04-15 14:22:50 +02:00
babic_a 50fb6158af Introduce more UdpReceiver tests 2020-04-15 14:09:10 +02:00
babic_a 2c47f97306 Add UdpReceiver test 2020-04-15 13:54:22 +02:00
babic_a 9b4323f803 Add stop capability to UDPRecvModule 2020-04-15 13:38:09 +02:00
babic_a d013bf6da3 First implementation of UDP receiver core 2020-04-15 13:25:31 +02:00
babic_a 24b0bcbf38 Move Jungfrau header to core-writer 2020-04-15 13:25:20 +02:00
babic_a 5d73a381f4 Add todo to make code more robust 2020-04-15 13:14:12 +02:00
babic_a 5df4afd509 Finalize UDP Recv implementation 2020-04-15 13:01:38 +02:00
babic_a f7517095d0 First UDP socket recv implementation 2020-04-15 12:58:51 +02:00
babic_a 5696335e6c Add usec timeout for socket 2020-04-15 12:54:29 +02:00
babic_a 626f4f9953 Remove unused header value 2020-04-15 12:34:02 +02:00
babic_a f81a386a7d Fix whitespace 2020-04-15 12:06:13 +02:00
babic_a d182f35e22 Add delay to relax test timing 2020-04-15 12:06:02 +02:00
babic_a c634498b8e Fix tests to pass reference to header map 2020-04-15 12:02:29 +02:00
babic_a 49018dd102 Remove useless declaration 2020-04-15 11:56:19 +02:00
babic_a 03579fe403 Protect empty header value types in H5WriteModule 2020-04-15 11:56:03 +02:00
babic_a 4b6b80afc9 Protect empty header value types in ZmqReceiver 2020-04-15 11:55:49 +02:00
babic_a 188fc93dd9 Protect empty header value types 2020-04-15 11:55:30 +02:00
babic_a 2282df9056 Check if no header values in RB 2020-04-15 11:54:22 +02:00
babic_a 019ae281fe Guard access to the header values type 2020-04-15 11:21:28 +02:00
babic_a b1e2a4f4a1 Add UdpFrameMetadata 2020-04-15 11:08:12 +02:00
babic_a 215c846b4f Make the test more clear 2020-04-15 11:00:19 +02:00
babic_a 305aef31ba Fix test to use template version of RingBuffer 2020-04-15 10:45:01 +02:00
babic_a 98da2ec0de Adjust modules to use the template version of RingBuffer 2020-04-15 10:43:57 +02:00
babic_a 22e0af6200 Make RB a template class 2020-04-15 10:43:40 +02:00
babic_a 410592a759 Fix indent 2020-04-15 10:43:10 +02:00
babic_a 35cc4cf70e Change ZMQ mode back to PULL 2020-04-15 10:42:58 +02:00
babic_a b1cde5eea5 Add simple recv test to ZmqReceiver 2020-04-15 10:42:39 +02:00
babic_a ca5cf7c3d3 Make explicit use of optional value 2020-04-09 14:16:28 +02:00
babic_a edc2534b6e Set timeout in new way 2020-04-09 14:06:57 +02:00
babic_a 86b452312e Change ZMQ to SUB 2020-04-09 13:37:51 +02:00
babic_a d0961ea3d0 Temp disable compression 2020-04-09 13:35:52 +02:00
babic_a 7cb0dc1f29 Fix REST api declaration 2020-04-09 13:22:54 +02:00
babic_a 1074ff9d89 Add zmqcpp header file to project directly 2020-04-09 11:11:01 +02:00
babic_a c4b938b40a Remove unused add_test 2020-04-08 17:39:40 +02:00
babic_a fd7eac5856 Add status checking test to ProcessManager 2020-04-08 17:06:11 +02:00
babic_a 477424ab21 Add status interpretation logic 2020-04-08 17:03:21 +02:00
babic_a 11452bc0aa Remove memory order relaxation 2020-04-08 17:00:15 +02:00
babic_a e1df737e4f Implement Process shutdown 2020-04-08 16:57:07 +02:00
babic_a 0d495cccb8 Add ProcessManager basic interaction test 2020-04-08 16:51:12 +02:00
babic_a 93176daeee Add joining of previously finished thread to start_writing 2020-04-08 16:50:58 +02:00
babic_a b75596e8a0 Add destructor to Recv Module 2020-04-08 16:42:42 +02:00
babic_a d5258f546e Add destructor to WriteModule 2020-04-08 16:41:04 +02:00
babic_a 321e3baa41 Fix address for mock stream 2020-04-08 16:34:13 +02:00
babic_a e699a2c09a Add missing methods stubs - just to write unit tests 2020-04-08 16:29:03 +02:00
babic_a f7d36f3fff Rename stream to header and add guards 2020-04-08 16:27:12 +02:00
babic_a 2329f7ad2f Make stream generation a generic mock 2020-04-08 16:02:03 +02:00
babic_a 35dc1d7998 Add ProcessManager test stub 2020-04-08 15:42:38 +02:00
babic_a 770674aae8 Throw exception if starting to write before starting to receive 2020-04-08 15:42:21 +02:00
babic_a 9512dd1522 Add is_receiving function to ZmqRecvModule 2020-04-08 15:38:27 +02:00