HostBuffer
HostBuffer
Section titled “HostBuffer”#include <sbio/storage/host_buffer.hh>struct HostBufferDefined in src/lib/sbio/storage/host_buffer.hh:29
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
ptr |
function |
Declared here |
size |
function |
Declared here |
set_memory |
function |
Declared here |
is_dirty |
function |
Declared here |
set_dirty |
function |
Declared here |
memory_space |
function |
Declared here |
m_ptr |
variable |
Declared here |
m_size |
variable |
Declared here |
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
void * |
ptr const inline |
|
std::size_t |
size const inline |
|
void |
set_memory inline |
|
bool |
is_dirty const inline |
|
void |
set_dirty inline |
const inline
inline void * ptr() constDefined in src/lib/sbio/storage/host_buffer.hh:40
const inline
inline std::size_t size() constDefined in src/lib/sbio/storage/host_buffer.hh:44
set_memory
Section titled “set_memory”inline
inline void set_memory(void * ptr, std::size_t size)Defined in src/lib/sbio/storage/host_buffer.hh:48
is_dirty
Section titled “is_dirty”const inline
inline bool is_dirty() constDefined in src/lib/sbio/storage/host_buffer.hh:53
set_dirty
Section titled “set_dirty”inline
inline void set_dirty(bool)Defined in src/lib/sbio/storage/host_buffer.hh:56
Public Static Methods
Section titled “Public Static Methods”| Return | Name | Description |
|---|---|---|
constexpr MemorySpace |
memory_space static inline constexpr |
memory_space
Section titled “memory_space”static inline constexpr
constexpr static inline constexpr MemorySpace memory_space()Defined in src/lib/sbio/storage/host_buffer.hh:31
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
void * |
m_ptr |
|
std::size_t |
m_size |
void * m_ptrDefined in src/lib/sbio/storage/host_buffer.hh:60
m_size
Section titled “m_size”std::size_t m_sizeDefined in src/lib/sbio/storage/host_buffer.hh:61