Apollo  v5.5.0
Open source self driving car software
Public Member Functions | Protected Attributes | List of all members
apollo::perception::benchmark::SequenceMaintainer< ObjectKey > Class Template Reference

#include <sequence_maintainer.h>

Collaboration diagram for apollo::perception::benchmark::SequenceMaintainer< ObjectKey >:
Collaboration graph

Public Member Functions

 SequenceMaintainer ()=default
 
 ~SequenceMaintainer ()=default
 
bool add_data (const std::vector< ObjectPtr > &objects, ObjectKey key)
 
auto get_sequence (int sequence_id) -> SequenceType< ObjectKey > *
 
void clear ()
 

Protected Attributes

std::map< int, SequenceType< ObjectKey > > _sequence
 

Constructor & Destructor Documentation

◆ SequenceMaintainer()

template<typename ObjectKey>
apollo::perception::benchmark::SequenceMaintainer< ObjectKey >::SequenceMaintainer ( )
default

◆ ~SequenceMaintainer()

template<typename ObjectKey>
apollo::perception::benchmark::SequenceMaintainer< ObjectKey >::~SequenceMaintainer ( )
default

Member Function Documentation

◆ add_data()

template<typename ObjectKey>
bool apollo::perception::benchmark::SequenceMaintainer< ObjectKey >::add_data ( const std::vector< ObjectPtr > &  objects,
ObjectKey  key 
)

◆ clear()

template<typename ObjectKey>
void apollo::perception::benchmark::SequenceMaintainer< ObjectKey >::clear ( )
inline

◆ get_sequence()

template<typename ObjectKey>
auto apollo::perception::benchmark::SequenceMaintainer< ObjectKey >::get_sequence ( int  sequence_id) -> SequenceType<ObjectKey>*

Member Data Documentation

◆ _sequence

template<typename ObjectKey>
std::map<int, SequenceType<ObjectKey> > apollo::perception::benchmark::SequenceMaintainer< ObjectKey >::_sequence
protected

The documentation for this class was generated from the following file: