ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::VideoIOFactory Class Reference

#include <itkVideoIOFactory.h>

+ Inheritance diagram for itk::VideoIOFactory:
+ Collaboration diagram for itk::VideoIOFactory:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
enum  IOModeType {
  ReadFileMode,
  ReadCameraMode,
  WriteMode
}
typedef SmartPointer< SelfPointer
typedef VideoIOFactory Self
typedef Object Superclass
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual const char * GetNameOfClass () const
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static VideoIOBase::Pointer CreateVideoIO (IOModeType mode, const char *arg)
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
static void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()

Protected Member Functions

 VideoIOFactory ()
 ~VideoIOFactory ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void PrintSelf (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

void operator= (const Self &)
 VideoIOFactory (const Self &)

Detailed Description

Create instances of VideoIO objects using an object factory.

This class will create a VideoIO instance that can read/write to/from the desired file or camera. In order for a specific VideoIO type to be considered, it must be registered with the ITK ObjectFactoryBase.

Definition at line 35 of file itkVideoIOFactory.h.


Member Typedef Documentation

Reimplemented from itk::Object.

Definition at line 42 of file itkVideoIOFactory.h.

Reimplemented from itk::Object.

Definition at line 41 of file itkVideoIOFactory.h.

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 39 of file itkVideoIOFactory.h.

Reimplemented from itk::Object.

Definition at line 40 of file itkVideoIOFactory.h.


Member Enumeration Documentation

Mode in which the VideoIO is intended to be used

Enumerator:
ReadFileMode 
ReadCameraMode 
WriteMode 

Definition at line 45 of file itkVideoIOFactory.h.


Constructor & Destructor Documentation

itk::VideoIOFactory::VideoIOFactory ( )
protected
itk::VideoIOFactory::~VideoIOFactory ( )
protected
itk::VideoIOFactory::VideoIOFactory ( const Self )
private

Member Function Documentation

static VideoIOBase::Pointer itk::VideoIOFactory::CreateVideoIO ( IOModeType  mode,
const char *  arg 
)
static

Create the appropriate ImageIO depending on the particulars of the file. Note: arg can either be a path for reading/writing from/to a file or a a string containing an integer to use for a cameraID if reading from a camera

virtual const char* itk::VideoIOFactory::GetNameOfClass ( ) const
virtual

Runtime type information (and related methods).

Reimplemented from itk::Object.

void itk::VideoIOFactory::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::Object.


The documentation for this class was generated from the following file: