BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Interface to add dynamicaly an acquisition file I/O in the factory. More...
#include <btkAcquisitionFileIORegister.h>
Public Types | |
typedef btkSharedPtr < AcquisitionFileIORegister > | Pointer |
Public Types inherited from btk::AcquisitionFileIOHandle | |
typedef btkSharedPtr < AcquisitionFileIOHandle > | Pointer |
Public Member Functions | |
virtual bool | HasReadOperation () const |
virtual bool | HasWriteOperation () const |
Public Member Functions inherited from btk::AcquisitionFileIOHandle | |
AcquisitionFileIO::Pointer | GetFileIO () const |
const AcquisitionFileIOHandle::Functor::Pointer | GetFunctor () const |
virtual | ~AcquisitionFileIOHandle () |
Static Public Member Functions | |
static Pointer | New () |
Additional Inherited Members | |
Protected Member Functions inherited from btk::AcquisitionFileIOHandle | |
AcquisitionFileIOHandle (AcquisitionFileIOHandle::Functor::Pointer f) | |
Protected Attributes inherited from btk::AcquisitionFileIOHandle | |
AcquisitionFileIOHandle::Functor::Pointer | mp_Functor |
Interface to add dynamicaly an acquisition file I/O in the factory.
T | Classname of the acquisition file I/O. |
To add dynamicaly a file format in the factory (to read or write an acquisition), you need to use the command btk::AcquisitionFileIOFactory::AddFileIO() coupled with the template method btk::AcquisitionFileIORegister::New() where the template is the name of the class which will read/write the acquistion (e.g. TestFileIO).
btk::AcquisitionFileIORegister< T >::Pointer |
Smart pointer associated with an AcquisitionFileIORegister object.
|
inlinevirtual |
Check if this acquisition file IO can read file.
Implements btk::AcquisitionFileIOHandle.
|
inlinevirtual |
Check if this acquisition file IO can write file.
Implements btk::AcquisitionFileIOHandle.
|
inlinestatic |
Returns a AcquisitionFileIOHandle::Pointer object and not a AcquisitionFileIORegister::Pointer object!. This method is a convenient method