Skip to content

IOPolicy

#include <sbio/core/io.hh>
template<typename Derived>
struct IOPolicy

Defined in src/lib/sbio/core/io.hh:68

Name Kind Owner
IOPolicy function Declared here
connect function Declared here
read function Declared here
iread function Declared here
wait function Declared here
file_size function Declared here
read_count function Declared here
total_bytes_read function Declared here
m_file_size variable Declared here
m_read_count variable Declared here
m_total_bytes_read variable Declared here
m_cached_offset variable Declared here
m_cached_size variable Declared here
m_cached_dest variable Declared here
Return Name Description
IOPolicy inline
SBIO_HDIOStatus connect inline
SBIO_HDIOStatus read inline
SBIO_HDIOStatus iread inline
SBIO_HDIOStatus wait inline
SBIO_HD hd_std::size_t file_size const inline
SBIO_HD hd_std::size_t read_count const inline
SBIO_HD hd_std::size_t total_bytes_read const inline

inline

inline IOPolicy()

Defined in src/lib/sbio/core/io.hh:70


inline

template<typename... Args> inline SBIO_HDIOStatus connect(Args &&... args)

Defined in src/lib/sbio/core/io.hh:77


inline

inline SBIO_HDIOStatus read(hd_std::uint64_t offset, hd_std::size_t size, void * dest)

Defined in src/lib/sbio/core/io.hh:81


inline

inline SBIO_HDIOStatus iread(hd_std::uint64_t offset, hd_std::size_t size, void * dest)

Defined in src/lib/sbio/core/io.hh:87


inline

inline SBIO_HDIOStatus wait()

Defined in src/lib/sbio/core/io.hh:100


const inline

inline SBIO_HD hd_std::size_t file_size() const

Defined in src/lib/sbio/core/io.hh:112


const inline

inline SBIO_HD hd_std::size_t read_count() const

Defined in src/lib/sbio/core/io.hh:114


const inline

inline SBIO_HD hd_std::size_t total_bytes_read() const

Defined in src/lib/sbio/core/io.hh:116

Return Name Description
hd_std::size_t m_file_size
hd_std::size_t m_read_count Bytes read on the last read.
hd_std::size_t m_total_bytes_read Cummulative bytes read over all reads.

hd_std::size_t m_file_size

Defined in src/lib/sbio/core/io.hh:119


hd_std::size_t m_read_count

Defined in src/lib/sbio/core/io.hh:120

Bytes read on the last read.


hd_std::size_t m_total_bytes_read

Defined in src/lib/sbio/core/io.hh:121

Cummulative bytes read over all reads.

Return Name Description
hd_std::uint64_t m_cached_offset
hd_std::size_t m_cached_size
void * m_cached_dest

hd_std::uint64_t m_cached_offset

Defined in src/lib/sbio/core/io.hh:124


hd_std::size_t m_cached_size

Defined in src/lib/sbio/core/io.hh:125


void * m_cached_dest

Defined in src/lib/sbio/core/io.hh:126