#include "Transport/FrameIstreamFactory.H"
#include "Transport/ParseArg.H"
#include "Util/Assert.H"
#include "rutz/error_context.h"
#include "rutz/sfmt.h"
Go to the source code of this file.
Functions | |
ComponentFactory< FrameIstream > & | getFrameIstreamTypeFactory () |
Returns a factory for building FrameIstream objects from type names. | |
ComponentFactory< FrameIstream > & | getFrameIstreamExtFactory () |
Returns a factory for building FrameIstream objects from filename extension. | |
nub::ref< FrameIstream > | makeFrameIstream (const std::string &arg) |
Factory function to make a FrameIstream from a type:spec string. |
Factories for building FrameIstream objects
Definition in file FrameIstreamFactory.C.
ComponentFactory<FrameIstream>& getFrameIstreamExtFactory | ( | ) |
Returns a factory for building FrameIstream objects from filename extension.
Definition at line 81 of file FrameIstreamFactory.C.
References ASSERT.
Referenced by makeFrameIstream().
ComponentFactory<FrameIstream>& getFrameIstreamTypeFactory | ( | ) |
Returns a factory for building FrameIstream objects from type names.
Definition at line 73 of file FrameIstreamFactory.C.
References ASSERT.
Referenced by makeFrameIstream().
nub::ref<FrameIstream> makeFrameIstream | ( | const std::string & | arg | ) |
Factory function to make a FrameIstream from a type:spec string.
This function is ultimately responsible for handling the --in command-line option with InputFrameSeries.
Definition at line 89 of file FrameIstreamFactory.C.
References getFrameIstreamExtFactory(), getFrameIstreamTypeFactory(), GVX_ERR_CONTEXT, parseStreamArg(), and rutz::sfmt().
Referenced by Deinterlacer::setConfigInfo(), BufferedFrameIstream::setConfigInfo(), and InputFrameSeries::setFrameSource().