Raytrix Light Field SDK  5.0
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, Interop::Runtime30::IMemory *pTrgMem)=0
 Gets a IMemory block with data from the file. More...
 
virtual void GetData (size_t nDataId, Interop::Runtime30::IMemory2D *pTrgMem)=0
 Gets a IMemory2D block with data from the file. More...
 
virtual void Open (const 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

◆ ~IFileDataDecode()

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

Destructor.

Member Function Documentation

◆ Close()

virtual void Rx::FileIO::IFileDataDecode::Close ( )
pure virtual

◆ Destroy()

virtual void Rx::FileIO::IFileDataDecode::Destroy ( )
pure virtual

◆ GetData() [1/2]

virtual void Rx::FileIO::IFileDataDecode::GetData ( size_t  nDataId,
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.

◆ GetData() [2/2]

virtual void Rx::FileIO::IFileDataDecode::GetData ( size_t  nDataId,
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.

◆ Open()

virtual void Rx::FileIO::IFileDataDecode::Open ( const 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.