Commit Graph

52 Commits

Author SHA1 Message Date
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 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 b1e2a4f4a1 Add UdpFrameMetadata 2020-04-15 11:08:12 +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 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 311a58a46d Add thread wait parameter for ms sleep 2020-04-08 15:12:15 +02:00
babic_a 9518f03deb Revert "Add counter for frames to save instead of just flag"
This reverts commit 16612a2d
2020-04-08 15:04:56 +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 f7ba7916b5 Implement basic operations on ProcessManager 2020-04-08 09:02:56 +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 d1ba7b0b43 Revert back changes to setting the effective user id 2020-04-07 16:07:58 +02:00
babic_a 21e70bc7cd Rename FS ID setting function 2020-04-07 16:01:40 +02:00
babic_a 0448c7a264 Implement new rest api for process manager 2020-04-07 12:20:23 +02:00
babic_a 093271afeb Define ProcessManager interface 2020-04-07 12:20:10 +02:00
babic_a eab61a693c Rename REST start function 2020-04-07 11:58:50 +02:00
babic_a cdc6eb4266 Refactor ProcessManager 2020-04-07 11:13:59 +02:00
babic_a 77408a4c54 Setup WriterUtils as their own namespace 2020-04-06 17:15:22 +02:00
babic_a de01a75cab Remove try catch around errors we cannot recover from 2020-04-06 16:21:30 +02:00
babic_a 7ceaa2cb4b Remove unused DummyWriter 2020-04-06 15:40:14 +02:00
babic_a ab0c6f4b00 Refactor MetadataBuffer 2020-04-06 15:30:51 +02:00
babic_a b826ed30b4 Small refactoring of BufferedWriter 2020-04-06 14:25:36 +02:00
babic_a 70062e3f14 Pass file properties to writing thread 2020-04-06 13:36:54 +02:00
babic_a f4e7d9505e Remove default value for user_id of writing process
Does not really make sense since the value is hard-coded anyway and will not change
in different deployments.
2020-04-06 13:33:45 +02:00
babic_a b9908b60d5 Add a default writing user_id to the config 2020-04-06 13:32:28 +02:00
babic_a 90e70049bd Add stop_writing method to H5WriteModule 2020-04-06 13:24:15 +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 2cb6dac8ba Cleanup empty lines 2020-04-06 13:11:13 +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 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 9cd2413783 Add disconnect function to ZmqReceiver 2020-04-02 14:41:08 +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 a3110580dc Implement ZmqRecvModule start procedure 2020-04-01 15:41:50 +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 dce62b6fa7 Set the default number of receiving threads to 1 2020-03-31 13:48:41 +02:00
babic_a 7234764d71 Improve RingBuffer 2020-03-26 16:55:47 +01:00
babic_a f9b25367fa Move public interfaces to include folder 2020-03-26 15:47:38 +01:00