Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CEmuFileWrapper Class Reference

#include <EmuFileWrapper.h>

Public Member Functions

 CEmuFileWrapper ()
 
 ~CEmuFileWrapper ()
 
void CleanUp ()
 
EmuFileObjectRegisterFileObject (XFILE::CFile *pFile)
 
void UnRegisterFileObjectByDescriptor (int fd)
 
void UnRegisterFileObjectByStream (FILE *stream)
 
void LockFileObjectByDescriptor (int fd)
 
bool TryLockFileObjectByDescriptor (int fd)
 
void UnlockFileObjectByDescriptor (int fd)
 
EmuFileObjectGetFileObjectByDescriptor (int fd)
 
EmuFileObjectGetFileObjectByStream (FILE *stream)
 
XFILE::CFileGetFileXbmcByDescriptor (int fd)
 
XFILE::CFileGetFileXbmcByStream (FILE *stream)
 
FILE * GetStreamByDescriptor (int fd)
 

Static Public Member Functions

static int GetDescriptorByStream (FILE *stream)
 
static constexpr bool DescriptorIsEmulatedFile (int fd)
 
static bool StreamIsEmulatedFile (FILE *stream)
 

Constructor & Destructor Documentation

◆ CEmuFileWrapper()

CEmuFileWrapper::CEmuFileWrapper ( )

◆ ~CEmuFileWrapper()

CEmuFileWrapper::~CEmuFileWrapper ( )

Member Function Documentation

◆ CleanUp()

void CEmuFileWrapper::CleanUp ( )

Only to be called when shutting down xbmc

◆ DescriptorIsEmulatedFile()

static constexpr bool CEmuFileWrapper::DescriptorIsEmulatedFile ( int fd)
inlinestaticconstexpr

◆ GetDescriptorByStream()

int CEmuFileWrapper::GetDescriptorByStream ( FILE * stream)
static

◆ GetFileObjectByDescriptor()

EmuFileObject * CEmuFileWrapper::GetFileObjectByDescriptor ( int fd)

◆ GetFileObjectByStream()

EmuFileObject * CEmuFileWrapper::GetFileObjectByStream ( FILE * stream)

◆ GetFileXbmcByDescriptor()

XFILE::CFile * CEmuFileWrapper::GetFileXbmcByDescriptor ( int fd)

◆ GetFileXbmcByStream()

XFILE::CFile * CEmuFileWrapper::GetFileXbmcByStream ( FILE * stream)

◆ GetStreamByDescriptor()

FILE * CEmuFileWrapper::GetStreamByDescriptor ( int fd)

◆ LockFileObjectByDescriptor()

void CEmuFileWrapper::LockFileObjectByDescriptor ( int fd)

◆ RegisterFileObject()

EmuFileObject * CEmuFileWrapper::RegisterFileObject ( XFILE::CFile * pFile)

◆ StreamIsEmulatedFile()

bool CEmuFileWrapper::StreamIsEmulatedFile ( FILE * stream)
static

◆ TryLockFileObjectByDescriptor()

bool CEmuFileWrapper::TryLockFileObjectByDescriptor ( int fd)

◆ UnlockFileObjectByDescriptor()

void CEmuFileWrapper::UnlockFileObjectByDescriptor ( int fd)

◆ UnRegisterFileObjectByDescriptor()

void CEmuFileWrapper::UnRegisterFileObjectByDescriptor ( int fd)

◆ UnRegisterFileObjectByStream()

void CEmuFileWrapper::UnRegisterFileObjectByStream ( FILE * stream)

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