Skip to content

PerUnitBuffer::Units

class Units

Defined in src/lib/sbio/storage/per_unit_buffer.hh:81

Every unit’s instance, so their memory can be released together.

Return Name Description
Units Defaulted constructor.
Units Deleted constructor.
Units & operator= Deleted assignment operator.
~Units inline
void add inline

Units() = default

Defined in src/lib/sbio/storage/per_unit_buffer.hh:83

Defaulted constructor.


Units(const Units &) = delete

Defined in src/lib/sbio/storage/per_unit_buffer.hh:84

Deleted constructor.


Units & operator=(const Units &) = delete

Defined in src/lib/sbio/storage/per_unit_buffer.hh:85

Deleted assignment operator.


inline

inline ~Units()

Defined in src/lib/sbio/storage/per_unit_buffer.hh:87


inline

inline void add(const std::shared_ptr< Slot > & slot)

Defined in src/lib/sbio/storage/per_unit_buffer.hh:95

Return Name Description
std::mutex m_mtx
std::vector< std::shared_ptr< Slot > > m_slots

std::mutex m_mtx {}

Defined in src/lib/sbio/storage/per_unit_buffer.hh:101


std::vector< std::shared_ptr< Slot > > m_slots {}

Type: std::vector< std::shared_ptr< Slot > >

Defined in src/lib/sbio/storage/per_unit_buffer.hh:102