The builder of record header.
More...
#include <header_builder.h>
|
static proto::Header | GetHeaderWithSegmentParams (const uint64_t segment_interval, const uint64_t segment_raw_size) |
| Build a record header with customized max interval time (ns) and max raw size (byte) for segment. More...
|
|
static proto::Header | GetHeaderWithChunkParams (const uint64_t chunk_interval, const uint64_t chunk_raw_size) |
| Build a record header with customized max interval time (ns) and max raw size (byte) for chunk. More...
|
|
static proto::Header | GetHeader () |
| Build a default record header. More...
|
|
The builder of record header.
◆ GetHeader()
static proto::Header apollo::cyber::record::HeaderBuilder::GetHeader |
( |
| ) |
|
|
static |
Build a default record header.
- Returns
- A default record header.
◆ GetHeaderWithChunkParams()
static proto::Header apollo::cyber::record::HeaderBuilder::GetHeaderWithChunkParams |
( |
const uint64_t |
chunk_interval, |
|
|
const uint64_t |
chunk_raw_size |
|
) |
| |
|
static |
Build a record header with customized max interval time (ns) and max raw size (byte) for chunk.
- Parameters
-
chunk_interval | |
chunk_raw_size | |
- Returns
- A customized record header.
◆ GetHeaderWithSegmentParams()
static proto::Header apollo::cyber::record::HeaderBuilder::GetHeaderWithSegmentParams |
( |
const uint64_t |
segment_interval, |
|
|
const uint64_t |
segment_raw_size |
|
) |
| |
|
static |
Build a record header with customized max interval time (ns) and max raw size (byte) for segment.
- Parameters
-
segment_interval | |
segment_raw_size | |
- Returns
- A customized record header.
The documentation for this class was generated from the following file: