Apollo  6.0
Open source self driving car software
Static Public Member Functions | List of all members
apollo::cyber::record::HeaderBuilder Class Reference

The builder of record header. More...

#include <header_builder.h>

Collaboration diagram for apollo::cyber::record::HeaderBuilder:
Collaboration graph

Static Public Member Functions

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...
 

Detailed Description

The builder of record header.

Member Function Documentation

◆ 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: