FrameOstreamFactory.C File Reference

#include "Transport/FrameOstreamFactory.H"
#include "Transport/ParseArg.H"
#include "Util/Assert.H"
#include "rutz/error_context.h"
#include "rutz/sfmt.h"
Include dependency graph for FrameOstreamFactory.C:

Go to the source code of this file.

Functions

ComponentFactory< FrameOstream > & getFrameOstreamTypeFactory ()
 Returns a factory for building FrameOstream objects from type names.
ComponentFactory< FrameOstream > & getFrameOstreamExtFactory ()
 Returns a factory for building FrameOstream objects from filename extension.
nub::ref< FrameOstreammakeFrameOstream (const std::string &arg, OptionManager &mgr)
 Factory function to make a FrameOstream from a type:spec string.

Detailed Description

Factories for building FrameOstream objects

Definition in file FrameOstreamFactory.C.


Function Documentation

ComponentFactory<FrameOstream>& getFrameOstreamExtFactory (  ) 

Returns a factory for building FrameOstream objects from filename extension.

Definition at line 81 of file FrameOstreamFactory.C.

References ASSERT.

Referenced by makeFrameOstream().

ComponentFactory<FrameOstream>& getFrameOstreamTypeFactory (  ) 

Returns a factory for building FrameOstream objects from type names.

Definition at line 73 of file FrameOstreamFactory.C.

References ASSERT.

Referenced by frameostream_debug_init(), and makeFrameOstream().

nub::ref<FrameOstream> makeFrameOstream ( const std::string arg,
OptionManager mgr 
)

Factory function to make a FrameOstream from a type:spec string.

This function is ultimately responsible for handling the command-line options --out (with OutputFrameSeries) and --in-echo (with InputFrameSeries).

Definition at line 89 of file FrameOstreamFactory.C.

References getFrameOstreamExtFactory(), getFrameOstreamTypeFactory(), GVX_ERR_CONTEXT, parseStreamArg(), and rutz::sfmt().

Referenced by OutputFrameSeries::addFrameDest(), QtDisplayStream::paramChanged(), InputFrameSeries::paramChanged(), and FrameOfilt::setConfigInfo().

Generated on Sun May 8 08:42:52 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3