Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::ut::IOStream Class Referenceabstract

#include <IOStream.h>

+ Inheritance diagram for nw4hbm::ut::IOStream:

Public Types

typedef void(*) IOStreamCallback(s32 result, IOStream *pStream, void *pCallbackArg)
 

Public Member Functions

 IOStream ()
 
virtual ~IOStream ()
 
virtual void Close ()=0
 
virtual s32 Read (void *pDst, u32 size)
 
virtual bool ReadAsync (void *pDst, u32 size, IOStreamCallback pCallback, void *pCallbackArg)
 
virtual void Write (const void *pSrc, u32 size)
 
virtual bool WriteAsync (const void *pSrc, u32 size, IOStreamCallback pCallback, void *pCallbackArg)
 
virtual bool IsBusy () const
 
virtual bool CanAsync () const =0
 
virtual bool CanRead () const =0
 
virtual bool CanWrite () const =0
 
virtual u32 GetOffsetAlign () const
 
virtual u32 GetSizeAlign () const
 
virtual u32 GetBufferAlign () const
 
bool IsAvailable () const
 

Public Attributes

 NW4HBM_UT_RUNTIME_TYPEINFO
 

Protected Attributes

bool mAvailable
 
s32 mAsyncResult
 
IOStreamCallback mCallback
 
void * mArg
 

Member Typedef Documentation

◆ IOStreamCallback

void(*) nw4hbm::ut::IOStream::IOStreamCallback(s32 result, IOStream *pStream, void *pCallbackArg)

Constructor & Destructor Documentation

◆ IOStream()

nw4hbm::ut::IOStream::IOStream ( )
inline

◆ ~IOStream()

virtual nw4hbm::ut::IOStream::~IOStream ( )
inlinevirtual

Member Function Documentation

◆ CanAsync()

virtual bool nw4hbm::ut::IOStream::CanAsync ( ) const
pure virtual

◆ CanRead()

virtual bool nw4hbm::ut::IOStream::CanRead ( ) const
pure virtual

◆ CanWrite()

virtual bool nw4hbm::ut::IOStream::CanWrite ( ) const
pure virtual

◆ Close()

virtual void nw4hbm::ut::IOStream::Close ( )
pure virtual

◆ GetBufferAlign()

virtual u32 nw4hbm::ut::IOStream::GetBufferAlign ( ) const
inlinevirtual

◆ GetOffsetAlign()

virtual u32 nw4hbm::ut::IOStream::GetOffsetAlign ( ) const
inlinevirtual

◆ GetSizeAlign()

virtual u32 nw4hbm::ut::IOStream::GetSizeAlign ( ) const
inlinevirtual

◆ IsAvailable()

bool nw4hbm::ut::IOStream::IsAvailable ( ) const
inline

◆ IsBusy()

bool nw4hbm::ut::IOStream::IsBusy ( ) const
virtual

◆ Read()

s32 nw4hbm::ut::IOStream::Read ( void * pDst,
u32 size )
virtual

◆ ReadAsync()

bool nw4hbm::ut::IOStream::ReadAsync ( void * pDst,
u32 size,
IOStreamCallback pCallback,
void * pCallbackArg )
virtual

◆ Write()

void nw4hbm::ut::IOStream::Write ( const void * pSrc,
u32 size )
virtual

Reimplemented in nw4hbm::ut::NandFileStream.

◆ WriteAsync()

bool nw4hbm::ut::IOStream::WriteAsync ( const void * pSrc,
u32 size,
IOStreamCallback pCallback,
void * pCallbackArg )
virtual

Reimplemented in nw4hbm::ut::NandFileStream.

Member Data Documentation

◆ mArg

void* nw4hbm::ut::IOStream::mArg
protected

◆ mAsyncResult

s32 nw4hbm::ut::IOStream::mAsyncResult
protected

◆ mAvailable

bool nw4hbm::ut::IOStream::mAvailable
protected

◆ mCallback

IOStreamCallback nw4hbm::ut::IOStream::mCallback
protected

◆ NW4HBM_UT_RUNTIME_TYPEINFO

nw4hbm::ut::IOStream::NW4HBM_UT_RUNTIME_TYPEINFO

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