fast::TransformFileStreamer class

Base classes

class Streamer
Abstract base class for all Streamers.

Constructors, destructors, conversion operators

~TransformFileStreamer()

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