class
TransformFileStreamer
Contents
Base classes
Constructors, destructors, conversion operators
Public functions
- auto create(std::string filename, std::string timestampFilename) -> std::shared_ptr<TransformFileStreamer>
- Create instance.
- void setFilename(std::string str)
- void setTimestampFilename(std::string filepath)
- void enableLooping()
- void disableLooping()
- void setSleepTime(uint milliseconds)
- auto getNrOfFrames() const -> uint
- void generateStream() override
Private functions
- void execute() virtual
Function documentation
std::shared_ptr<TransformFileStreamer> fast:: TransformFileStreamer:: create(std::string filename,
std::string timestampFilename)
Create instance.
Parameters | |
---|---|
filename | File to stream from |
timestampFilename | Timestamp file |
Returns | instance |
void fast:: TransformFileStreamer:: setSleepTime(uint milliseconds)
Set a sleep time after each frame is read
void fast:: TransformFileStreamer:: generateStream() override
This method runs in a separate thread and adds frames to the output object