PerUnitBuffer::Units
class UnitsDefined in src/lib/sbio/storage/per_unit_buffer.hh:81
Every unit’s instance, so their memory can be released together.
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
Units |
Defaulted constructor. | |
Units |
Deleted constructor. | |
Units & |
operator= |
Deleted assignment operator. |
~Units inline |
||
void |
add inline |
Units() = defaultDefined in src/lib/sbio/storage/per_unit_buffer.hh:83
Defaulted constructor.
Units(const Units &) = deleteDefined in src/lib/sbio/storage/per_unit_buffer.hh:84
Deleted constructor.
operator=
Section titled “operator=”Units & operator=(const Units &) = deleteDefined in src/lib/sbio/storage/per_unit_buffer.hh:85
Deleted assignment operator.
~Units
Section titled “~Units”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
Private Attributes
Section titled “Private Attributes”| 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
m_slots
Section titled “m_slots”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