FrameGrabberFactory.C File Reference

#include "Devices/XCgrabber.H"
#include "Devices/XCgrabberFlex.H"
#include "Devices/FrameGrabberFactory.H"
#include "Devices/V4Lgrabber.H"
#include "Devices/V4L2grabber.H"
#include "Devices/IEEE1394grabber.H"
#include "Devices/KinectGrabber.H"
#include "Devices/OpenNIGrabber.H"
#include "Util/log.H"
Include dependency graph for FrameGrabberFactory.C:

Go to the source code of this file.

Functions

nub::ref< FrameIstreammakeV4Lgrabber (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const ParamFlag flags)
 Factory function to build a V4Lgrabber.
nub::ref< FrameIstreammakeV4L2grabber (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const ParamFlag flags)
 Factory function to build a V4L2grabber.
nub::ref< FrameIstreammakeIEEE1394grabber (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const ParamFlag flags)
 Factory function to build an IEEE1394grabber.
nub::ref< FrameIstreammakeXCgrabber (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const ParamFlag flags)
 Factory function to build an XCgrabber(CameraLink framegrabber library from Epix Inc).
nub::ref< FrameIstreammakeXCgrabberFlex (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const ParamFlag flags)
 Factory function to build an XCgrabberFlex(CameraLink framegrabber library from Epix Inc with more functionality to change dims of acquired image).
nub::ref< FrameIstreammakeKinectgrabber (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const ParamFlag flags)
 Factory function to build a KinectGrabber.
nub::ref< FrameIstreammakeOpenNIgrabber (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const ParamFlag flags)
 Factory function to build a OpenNIGrabber.

Detailed Description

Definition in file FrameGrabberFactory.C.


Function Documentation

nub::ref<FrameIstream> makeIEEE1394grabber ( OptionManager mgr,
const std::string descrName,
const std::string tagName,
const ParamFlag  flags 
)

Factory function to build an IEEE1394grabber.

Definition at line 85 of file FrameGrabberFactory.C.

Referenced by BeoSub::CenterBin(), BeoSub::FollowPipeLine(), main(), and FrameGrabberConfigurator::paramChanged().

nub::ref<FrameIstream> makeKinectgrabber ( OptionManager mgr,
const std::string descrName,
const std::string tagName,
const ParamFlag  flags 
)

Factory function to build a KinectGrabber.

Definition at line 117 of file FrameGrabberFactory.C.

Referenced by FrameGrabberConfigurator::paramChanged().

nub::ref<FrameIstream> makeOpenNIgrabber ( OptionManager mgr,
const std::string descrName,
const std::string tagName,
const ParamFlag  flags 
)

Factory function to build a OpenNIGrabber.

Definition at line 131 of file FrameGrabberFactory.C.

Referenced by FrameGrabberConfigurator::paramChanged().

nub::ref<FrameIstream> makeV4L2grabber ( OptionManager mgr,
const std::string descrName = "V4L2 Frame Grabber Driver",
const std::string tagName = "V4L2FrameGrabber",
const ParamFlag  flags = USE_MY_VAL 
)

Factory function to build a V4L2grabber.

NOTE: The reason for this function is so that we have only a single location where we need to concern ourselves with whether Video4Linux2 is actually supported on the build system. So, rather than having to do ifdef HAVE_LINUX_VIDEODEV2_H all over the place in client code, instead we just have the clients call makeV4L2grabber(), and then within that function we'll just do an LFATAL() if Video4Linux2 isn't supported.

Definition at line 69 of file FrameGrabberFactory.C.

Referenced by main(), and FrameGrabberConfigurator::paramChanged().

nub::ref<FrameIstream> makeV4Lgrabber ( OptionManager mgr,
const std::string descrName = "V4L Frame Grabber Driver",
const std::string tagName = "V4LFrameGrabber",
const ParamFlag  flags = USE_MY_VAL 
)

Factory function to build a V4Lgrabber.

NOTE: The reason for this function is so that we have only a single location where we need to concern ourselves with whether Video4Linux is actually supported on the build system. So, rather than having to do ifdef HAVE_LINUX_VIDEODEV_H all over the place in client code, instead we just have the clients call makeV4Lgrabber(), and then within that function we'll just do an LFATAL() if Video4Linux isn't supported.

Definition at line 53 of file FrameGrabberFactory.C.

Referenced by FrameGrabberConfigurator::paramChanged().

nub::ref<FrameIstream> makeXCgrabber ( OptionManager mgr,
const std::string descrName,
const std::string tagName,
const ParamFlag  flags 
)

Factory function to build an XCgrabber(CameraLink framegrabber library from Epix Inc).

Definition at line 96 of file FrameGrabberFactory.C.

Referenced by FrameGrabberConfigurator::paramChanged().

nub::ref<FrameIstream> makeXCgrabberFlex ( OptionManager mgr,
const std::string descrName,
const std::string tagName,
const ParamFlag  flags 
)

Factory function to build an XCgrabberFlex(CameraLink framegrabber library from Epix Inc with more functionality to change dims of acquired image).

Definition at line 106 of file FrameGrabberFactory.C.

Referenced by FrameGrabberConfigurator::paramChanged().

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