BTK  0.3dev.0
Open-source library to visualize/process biomechanical data
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
btk::AcquisitionFileIOHandle Class Referenceabstract

Store properties of a acquisition file IO. More...

#include <btkAcquisitionFileIOHandle.h>

Inheritance diagram for btk::AcquisitionFileIOHandle:
Inheritance graph
[legend]

Classes

class  Functor
 Abstract class used to store a pointer to the method New() of a class inheriting from btk::AcquisitionFileIO. More...
 

Public Types

typedef btkSharedPtr
< AcquisitionFileIOHandle
Pointer
 

Public Member Functions

AcquisitionFileIO::Pointer GetFileIO () const
 
const
AcquisitionFileIOHandle::Functor::Pointer 
GetFunctor () const
 
virtual bool HasReadOperation () const =0
 
virtual bool HasWriteOperation () const =0
 
virtual ~AcquisitionFileIOHandle ()
 

Protected Member Functions

 AcquisitionFileIOHandle (AcquisitionFileIOHandle::Functor::Pointer f)
 

Protected Attributes

AcquisitionFileIOHandle::Functor::Pointer mp_Functor
 

Detailed Description

Store properties of a acquisition file IO.

This class is used to add a file format dynamically in the file factory, by using the method btk::btkAcquisitionFileIOFactory::AddFileIO(). Instead of using it directly, it is advise to use the class btk::AcquisitionFileIORegister.

Member Typedef Documentation

Smart pointer associated with an AcquisitionFileIOHandle object.

Constructor & Destructor Documentation

btk::AcquisitionFileIOHandle::~AcquisitionFileIOHandle ( )
inlinevirtual

Destructor

btk::AcquisitionFileIOHandle::AcquisitionFileIOHandle ( AcquisitionFileIOHandle::Functor::Pointer  f)
inlineprotected

Constructor

Member Function Documentation

AcquisitionFileIO::Pointer btk::AcquisitionFileIOHandle::GetFileIO ( ) const
inline

Creates an acquisition File IO based on the given classname.

const AcquisitionFileIOHandle::Functor::Pointer btk::AcquisitionFileIOHandle::GetFunctor ( ) const
inline

Returns the functor used with this handle.

bool btk::AcquisitionFileIOHandle::HasReadOperation ( ) const
pure virtual

Check if this acquisition file IO can read file.

Implemented in btk::AcquisitionFileIORegister< T >.

bool btk::AcquisitionFileIOHandle::HasWriteOperation ( ) const
pure virtual

Check if this acquisition file IO can write file.

Implemented in btk::AcquisitionFileIORegister< T >.

Member Data Documentation

btk::AcquisitionFileIOHandle::mp_Functor
protected

Functor pointing to a static method able to create an object inherting from the class btk::AcquisitionFileIO