![]() |
SLProject
4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#include <SENSRecorderDataHandler.h>
Public Member Functions | |
| SENSCameraRecorderDataHandler () | |
| void | writeOnThreadStart () override |
| called in thread store routine when thread starts More... | |
| void | writeLineToFile (ofstream &file, const FrameInfo &data) override |
| called in thread store routine for every new line More... | |
| void | writeOnThreadFinish () override |
| called in thread store routine when thread finished More... | |
| void | updateConfig (const SENSCameraConfig &config) |
Public Member Functions inherited from SENSRecorderDataHandler< FrameInfo > | |
| SENSRecorderDataHandler (const std::string &name) | |
| virtual | ~SENSRecorderDataHandler () |
| void | start (const std::string &outputDir) |
| start the store thread More... | |
| void | stop () |
| stop the store thread and clear values in queue More... | |
| void | add (FrameInfo &&item) |
| add new value to store queue More... | |
| bool | getErrorMsg (std::string &msg) |
| get error msg (valid if function returns true) More... | |
Private Attributes | |
| cv::VideoWriter | _videoWriter |
| int | _frameIndex = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from SENSRecorderDataHandler< FrameInfo > | |
| virtual void | writeHeaderToFile (ofstream &file) |
| called in thread store routine when file could be opened More... | |
Protected Attributes inherited from SENSRecorderDataHandler< FrameInfo > | |
| std::string | _outputDir |
| output directory More... | |
Definition at line 103 of file SENSRecorderDataHandler.h.
| SENSCameraRecorderDataHandler::SENSCameraRecorderDataHandler | ( | ) |
Definition at line 163 of file SENSRecorderDataHandler.cpp.
| void SENSCameraRecorderDataHandler::updateConfig | ( | const SENSCameraConfig & | config | ) |
Definition at line 211 of file SENSRecorderDataHandler.cpp.
|
overridevirtual |
called in thread store routine for every new line
Implements SENSRecorderDataHandler< FrameInfo >.
Definition at line 173 of file SENSRecorderDataHandler.cpp.
|
overridevirtual |
called in thread store routine when thread finished
Reimplemented from SENSRecorderDataHandler< FrameInfo >.
Definition at line 205 of file SENSRecorderDataHandler.cpp.
|
overridevirtual |
called in thread store routine when thread starts
Reimplemented from SENSRecorderDataHandler< FrameInfo >.
Definition at line 168 of file SENSRecorderDataHandler.cpp.
|
private |
Definition at line 116 of file SENSRecorderDataHandler.h.
|
private |
Definition at line 115 of file SENSRecorderDataHandler.h.