1 #ifndef FILE_STORAGE_EXTRACTOR_H
2 #define FILE_STORAGE_EXTRACTOR_H
14 const std::string & _identifier,
17 const std::string & _metaData =
"{}",
18 int _framesPerFileCycle = -1,
19 bool _cumulative =
false,
20 bool _binning =
false,
21 double _wantedFPS = 0);
28 void extractImpl(
unsigned int _width,
30 unsigned int _bytesPerPixel,
33 zmq::message_t * sourceImage);
34 void extractTeardown();
39 std::string s_identifier;
44 std::list<uint64_t> wallTimes;
45 std::list<uint64_t> highResTimes;
48 unsigned int bytesPerPixel;
50 int totalFramesWritten;
52 int framesPerFileCycle;
58 float * accLinear =
nullptr;
59 float * accQuadratic =
nullptr;
60 uint16_t * tmpdata =
nullptr;
62 std::thread * lastHeaderWriterThread =
nullptr;
63 std::mutex lastHeaderWriterThreadMutex;
Handles storage locations.