Raytrix Light Field SDK  v3.1
Logo
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
Rx::FileIO::IFileDataDecode Class Referenceabstract

Detailed Description

Interface for decoding a single data file.

Inherited by Rx::FileIO::CRVTKDecode, and Rx::FileIO::CRVTKDecode_Impl.

Public Member Functions

virtual void Close ()=0
 Closes this IFileDataDecode. More...
 
virtual void Destroy ()=0
 Destroys this IFileDataDecode. More...
 
virtual void GetData (size_t nDataId, Rx::Interop::Runtime30::IMemory *pTrgMem)=0
 Gets a IMemory block with data from the file. More...
 
virtual void GetData (size_t nDataId, Rx::Interop::Runtime30::IMemory2D *pTrgMem)=0
 Gets a IMemory2D block with data from the file. More...
 
virtual void Open (const Rx::CRxString &sxFullPath)=0
 Opens the IFileDataDecode. Input folder for the file is the given path. More...
 

Protected Member Functions

virtual ~IFileDataDecode ()
 Destructor. More...
 

Constructor & Destructor Documentation

virtual Rx::FileIO::IFileDataDecode::~IFileDataDecode ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

virtual void Rx::FileIO::IFileDataDecode::Close ( )
pure virtual
virtual void Rx::FileIO::IFileDataDecode::Destroy ( )
pure virtual
virtual void Rx::FileIO::IFileDataDecode::GetData ( size_t  nDataId,
Rx::Interop::Runtime30::IMemory pTrgMem 
)
pure virtual

Gets a IMemory block with data from the file.

Parameters
nDataId[in] Identifier for the data.
pTrgMem[out] The data.

Implemented in Rx::FileIO::CRVTKDecode, and Rx::FileIO::CRVTKDecode_Impl.

virtual void Rx::FileIO::IFileDataDecode::GetData ( size_t  nDataId,
Rx::Interop::Runtime30::IMemory2D pTrgMem 
)
pure virtual

Gets a IMemory2D block with data from the file.

Parameters
nDataId[in] Identifier for the data.
pTrgMem[out] If non-null, the trg memory.

Implemented in Rx::FileIO::CRVTKDecode, and Rx::FileIO::CRVTKDecode_Impl.

virtual void Rx::FileIO::IFileDataDecode::Open ( const Rx::CRxString sxFullPath)
pure virtual

Opens the IFileDataDecode. Input folder for the file is the given path.

Parameters
sxFullPath[in] Full pathname where the file is located.

Implemented in Rx::FileIO::CRVTKDecode, and Rx::FileIO::CRVTKDecode_Impl.