babic_a
77141a559c
Ringbuffer returns nullptr when the buffer is full
...
This feature will allow us to make a push/pull mechanism for the sf_h5_writer.
All classes using RingBuffer have been updated to maintain the exact same behaviour as before.
2020-04-21 17:25:22 +02:00
babic_a
f7dc2be75f
Make core-buffer folder with all common stuff used in the buffer
2020-04-17 09:51:16 +02:00
babic_a
b7999b2cd1
add number of received packets to metadata
2020-04-16 12:32:55 +02:00
babic_a
6074cb4705
Preemptive slot reservation in RB
2020-04-16 10:43:06 +02:00
babic_a
1761f362df
Add daq_rec value
2020-04-15 15:28:41 +02:00
babic_a
50148a7913
Rename variable
2020-04-15 15:04:10 +02:00
babic_a
d5c3b9d858
Rename RB initialization variable
2020-04-15 14:49:27 +02:00
babic_a
9259553f95
Fix pointer check in UdpRecvModule
2020-04-15 14:36: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
5d73a381f4
Add todo to make code more robust
2020-04-15 13:14:12 +02:00
babic_a
03579fe403
Protect empty header value types in H5WriteModule
2020-04-15 11:56:03 +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
d0961ea3d0
Temp disable compression
2020-04-09 13:35:52 +02:00
babic_a
11452bc0aa
Remove memory order relaxation
2020-04-08 17:00:15 +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
9512dd1522
Add is_receiving function to ZmqRecvModule
2020-04-08 15:38:27 +02:00
babic_a
f9b222a3e6
Add buffer clearing to stop_saving procedure
2020-04-08 15:16:09 +02:00
babic_a
a6cea76fb5
No memory relax order
2020-04-08 15:12:26 +02:00
babic_a
2e9568da8d
Revert "Add counter for frames to save instead of just flag"
...
This reverts commit 16612a2d
2020-04-08 15:04:33 +02:00
babic_a
16612a2d72
Add counter for frames to save instead of just flag
2020-04-08 14:09:49 +02:00
babic_a
70f8218bcd
Make receiver code more readable
2020-04-08 10:39:20 +02:00
babic_a
3503e6c754
Check for n_receiving_threads parameter
2020-04-08 08:59:33 +02:00
babic_a
b872bb7510
Wrap entire thread in try-catch for ZmqReceiverModule as well
2020-04-08 08:48:45 +02:00
babic_a
934cf9e0c4
Wrap entire thread in try-catch
2020-04-08 08:43:34 +02:00
babic_a
01bb292d40
Change n_frames to size_t
2020-04-07 17:18:31 +02:00
babic_a
9fc3e49bc0
Add is_writing retrieval flag
2020-04-07 16:16:56 +02:00
babic_a
38a8b2363b
Add setting uid and gid and creating destination folder
2020-04-07 16:13:05 +02:00
babic_a
a3c3d3e59d
Remove unused variable
2020-04-07 15:56:14 +02:00
babic_a
2c9987d33f
Remove useless close file command
2020-04-07 13:13:24 +02:00
babic_a
de01a75cab
Remove try catch around errors we cannot recover from
2020-04-06 16:21:30 +02:00
babic_a
af816bd541
Simplify the write thread flow
2020-04-06 15:48:56 +02:00
babic_a
32dba2320a
Partial implementation of write thread
2020-04-06 14:44:41 +02:00
babic_a
70062e3f14
Pass file properties to writing thread
2020-04-06 13:36:54 +02:00
babic_a
98d44b6dfd
Add start_writing method to H5WriteModule
2020-04-06 13:27:55 +02:00
babic_a
90e70049bd
Add stop_writing method to H5WriteModule
2020-04-06 13:24:15 +02:00
babic_a
4fff563dad
Rename "writing" to "saving" from ZmqRecvModule
...
The module should not have a notion of writing - but
2020-04-06 13:19:39 +02:00
babic_a
d6fabb7846
Rename "writing" to "saving" from ZmqRecvModule
...
The module should not have a notion of writing - but saving/discarding flag is
very useful.
2020-04-06 13:18:15 +02:00
babic_a
48232925bc
Add module sub-folder
2020-04-06 11:53:32 +02:00