32 #ifndef FRAME_HANDLER_H 33 #define FRAME_HANDLER_H 35 #include <aditof/frame.h> 36 #include <aditof/status_definitions.h> 47 #define METADATA_SIZE 128 49 class FrameHandlerImpl;
93 const std::string &fileName =
"");
104 const std::string &fileName =
"");
114 const std::string &fullFileName =
"");
138 std::unique_ptr<FrameHandlerImpl> m_impl;
141 #endif // FRAME_HANDLER_H
SDK_API aditof::Status saveFrameToFile(aditof::Frame &frame, const std::string &fileName="")
Store frame to file.
SDK_API aditof::Status setCustomFormat(const std::string &format)
A custom format in which the frames will be stored/read.
SDK_API aditof::Status setOutputFilePath(const std::string &filePath)
Set the output path/output folder for the frames.
Handles operations on a frame such as saving it to file and creating a new frame with content read fr...
SDK_API aditof::Status storeFramesToSingleFile(bool enable)
Enable/disable if single file is intended to use for storing data.
SDK_API aditof::Status readNextFrame(aditof::Frame &frame, const std::string &fullFileName="")
Reads frame from a file. If same file is provided it will continue to read from the last position.
Status
Status of any operation that the TOF sdk performs.
SDK_API aditof::Status setInputFileName(const std::string &fullFileName)
Set the input file for the frames.
SDK_API aditof::Status saveFrameToFileMultithread(aditof::Frame &frame, const std::string &fileName="")
Store frame to file using a separate thread.
SDK_API aditof::Status setFrameContent(const std::string &frameContent)
Set which frame element you want to store/read (depth/ab/conf)
SDK_API FrameHandler & operator=(FrameHandler &&) noexcept
Move assignment.