Commit Graph

581 Commits

Author SHA1 Message Date
babic_a 26ee572acf Make SF starter more readable 2020-04-08 17:25:35 +02:00
babic_a 669fb38b08 Move SF specific writer to new directory structure 2020-04-08 17:13:38 +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
babic_a c06310fe0e Add test for clearing buffer 2020-04-08 15:27:26 +02:00
babic_a 9bcd559fae Implement start and stop writing logic 2020-04-08 15:17:58 +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 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 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 d1964cae3b Add diagrams from drawio 2020-04-08 12:28:30 +02:00
babic_a 70f8218bcd Make receiver code more readable 2020-04-08 10:39:20 +02:00
babic_a 5e5dab461e Add debug output to ProcessManager 2020-04-08 10:30:35 +02:00
babic_a 596893bcf9 Improve debug text in RingBuffer 2020-04-08 10:18:41 +02:00
babic_a 5d1811b650 Change RingBuffer to use function instead of direct flag call 2020-04-08 10:17:35 +02:00
babic_a f7ba7916b5 Implement basic operations on ProcessManager 2020-04-08 09:02:56 +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 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 a3c3d3e59d Remove unused variable 2020-04-07 15:56:14 +02:00
babic_a 4a3dd11d69 Add move to test dataset 2020-04-07 14:13:08 +02:00
babic_a 7545619c58 Make filling of data more readable 2020-04-07 14:10:06 +02:00
babic_a 091dd30fe2 Fix test data 2020-04-07 13:51:58 +02:00
babic_a f777db3283 Fix whitespace in tests 2020-04-07 13:51:23 +02:00
babic_a 7ff6e59bf7 Add basic interaction test for WriterModule 2020-04-07 13:13:46 +02:00
babic_a 2c9987d33f Remove useless close file command 2020-04-07 13:13:24 +02:00
babic_a 0792d3ad8d Improve tests on Module state 2020-04-07 12:27:00 +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