IOPolicy
IOPolicy
Section titled “IOPolicy”#include <sbio/core/io.hh>template<typename Derived>struct IOPolicyDefined in src/lib/sbio/core/io.hh:68
List of all members
Section titled “List of all members”| 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 |
Public Methods
Section titled “Public Methods”| 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 |
IOPolicy
Section titled “IOPolicy”inline
inline IOPolicy()Defined in src/lib/sbio/core/io.hh:70
connect
Section titled “connect”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
file_size
Section titled “file_size”const inline
inline SBIO_HD hd_std::size_t file_size() constDefined in src/lib/sbio/core/io.hh:112
read_count
Section titled “read_count”const inline
inline SBIO_HD hd_std::size_t read_count() constDefined in src/lib/sbio/core/io.hh:114
total_bytes_read
Section titled “total_bytes_read”const inline
inline SBIO_HD hd_std::size_t total_bytes_read() constDefined in src/lib/sbio/core/io.hh:116
Protected Attributes
Section titled “Protected Attributes”| 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. |
m_file_size
Section titled “m_file_size”hd_std::size_t m_file_sizeDefined in src/lib/sbio/core/io.hh:119
m_read_count
Section titled “m_read_count”hd_std::size_t m_read_countDefined in src/lib/sbio/core/io.hh:120
Bytes read on the last read.
m_total_bytes_read
Section titled “m_total_bytes_read”hd_std::size_t m_total_bytes_readDefined in src/lib/sbio/core/io.hh:121
Cummulative bytes read over all reads.
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
hd_std::uint64_t |
m_cached_offset |
|
hd_std::size_t |
m_cached_size |
|
void * |
m_cached_dest |
m_cached_offset
Section titled “m_cached_offset”hd_std::uint64_t m_cached_offsetDefined in src/lib/sbio/core/io.hh:124
m_cached_size
Section titled “m_cached_size”hd_std::size_t m_cached_sizeDefined in src/lib/sbio/core/io.hh:125
m_cached_dest
Section titled “m_cached_dest”void * m_cached_destDefined in src/lib/sbio/core/io.hh:126