Apollo
6.0
Open source self driving car software
|
#include <posix_segment.h>
Public Member Functions | |
PosixSegment (uint64_t channel_id) | |
virtual | ~PosixSegment () |
![]() | |
Segment (uint64_t channel_id) | |
virtual | ~Segment () |
bool | AcquireBlockToWrite (std::size_t msg_size, WritableBlock *writable_block) |
void | ReleaseWrittenBlock (const WritableBlock &writable_block) |
bool | AcquireBlockToRead (ReadableBlock *readable_block) |
void | ReleaseReadBlock (const ReadableBlock &readable_block) |
Static Public Member Functions | |
static const char * | Type () |
Additional Inherited Members | |
![]() | |
virtual bool | Destroy () |
![]() | |
bool | init_ |
ShmConf | conf_ |
uint64_t | channel_id_ |
State * | state_ |
Block * | blocks_ |
void * | managed_shm_ |
std::mutex | block_buf_lock_ |
std::unordered_map< uint32_t, uint8_t * > | block_buf_addrs_ |
|
explicit |
|
virtual |
|
inlinestatic |