Shortcuts

Struct BlockMemoryProps

Struct Documentation

struct ripple::BlockMemoryProps

The BlockMemoryProps struct defines properties for the memory for a block which can be used by clases to perform allocation and transfer in different ways.

By default, the properties of the memory are the following:

  • Not page locked

  • Unallocated

  • Asynchronous transfer

  • Must not free the memory

Public Functions

constexpr BlockMemoryProps() noexcept

Default constructor for memory properties.

auto reset() noexcept -> void

Resets the memory properties for the block to be the following:

  • Not page locked

  • Unallocated

  • Synchronous transfer

  • Must free the memory

Public Members

uint8_t pinned

If the memory has been pinned (page locked).

uint8_t allocated

If the memory memory has been allocated.

uint8_t async_copy

If the memory should be copied asynchronously.

uint8_t must_free

If the memory must be freed on destruction.

Public Static Attributes

constexpr uint8_t reset_value = 5

Value to reset the memory properties.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples