#include <slick-trader/brokers/common/slot_store.hpp>
|
| | SlotFile (const std::string &path, const SlotStoreFormat &format, const std::array< char, IDENTITY_SIZE > &identity, std::string_view identity_text, size_t slot_size, size_t max_slots, const void *fresh_state, size_t state_size) |
| uint8_t * | state () noexcept |
| uint8_t * | slot (uint32_t index) noexcept |
| const uint8_t * | slot (uint32_t index) const noexcept |
| uint32_t | capacity () const noexcept |
| bool | created () const noexcept |
| const std::string & | path () const noexcept |
| const char * | name () const noexcept |
Definition at line 30 of file slot_store.hpp.
◆ SlotFile()
| slick::trader::detail::SlotFile::SlotFile |
( |
const std::string & | path, |
|
|
const SlotStoreFormat & | format, |
|
|
const std::array< char, IDENTITY_SIZE > & | identity, |
|
|
std::string_view | identity_text, |
|
|
size_t | slot_size, |
|
|
size_t | max_slots, |
|
|
const void * | fresh_state, |
|
|
size_t | state_size ) |
◆ capacity()
| uint32_t slick::trader::detail::SlotFile::capacity |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ created()
| bool slick::trader::detail::SlotFile::created |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ name()
| const char * slick::trader::detail::SlotFile::name |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ path()
| const std::string & slick::trader::detail::SlotFile::path |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ slot() [1/2]
| const uint8_t * slick::trader::detail::SlotFile::slot |
( |
uint32_t | index | ) |
const |
|
inlinenodiscardnoexcept |
◆ slot() [2/2]
| uint8_t * slick::trader::detail::SlotFile::slot |
( |
uint32_t | index | ) |
|
|
inlinenodiscardnoexcept |
◆ state()
| uint8_t * slick::trader::detail::SlotFile::state |
( |
| ) |
|
|
inlinenodiscardnoexcept |
◆ HEADER_SIZE
| size_t slick::trader::detail::SlotFile::HEADER_SIZE = 128 |
|
staticconstexpr |
◆ IDENTITY_SIZE
| size_t slick::trader::detail::SlotFile::IDENTITY_SIZE = 16 |
|
staticconstexpr |
◆ STATE_OFFSET
| size_t slick::trader::detail::SlotFile::STATE_OFFSET = 32 |
|
staticconstexpr |
◆ STATE_SIZE
The documentation for this class was generated from the following files: