31 #ifndef OPENSHOT_DUMMY_READER_H
32 #define OPENSHOT_DUMMY_READER_H
57 std::shared_ptr<openshot::Frame> image_frame;
81 std::shared_ptr<openshot::Frame>
GetFrame(int64_t requested_frame);
87 std::string
Name() {
return "DummyReader"; };
90 std::string
Json()
const override;
91 void SetJson(
const std::string value);
Header file for CacheMemory class.
Header file for all Exception classes.
Header file for Fraction class.
Header file for ReaderBase class.
This class is a memory-based cache manager for Frame objects.
This class is used as a simple, dummy reader, which always returns a blank frame.
DummyReader()
Blank constructor for DummyReader, with default settings.
void SetJson(const std::string value)
Load JSON string into this object.
std::string Name()
Return the type name of the class.
Json::Value JsonValue() const override
Generate Json::Value for this object.
void Open()
Open File - which is called by the constructor automatically.
std::string Json() const override
Get and Set JSON methods.
CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this reader)
std::shared_ptr< openshot::Frame > GetFrame(int64_t requested_frame)
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
bool IsOpen()
Determine if reader is open or closed.
This class represents a fraction.
This abstract class is the base class, used by all readers in libopenshot.
This namespace is the default namespace for all code in the openshot library.