Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::prediction::StoryTellingContainer Class Reference

#include <storytelling_container.h>

Inheritance diagram for apollo::prediction::StoryTellingContainer:
Inheritance graph
Collaboration diagram for apollo::prediction::StoryTellingContainer:
Collaboration graph

Public Member Functions

 StoryTellingContainer ()=default
 Constructor. More...
 
virtual ~StoryTellingContainer ()=default
 Destructor. More...
 
void Insert (const ::google::protobuf::Message &message) override
 Insert a data message into the container. More...
 
std::shared_ptr< const hdmap::JunctionInfoADCJunction () const
 Get ADC junction. More...
 
const std::string & ADCJunctionId () const
 Get ADC junction id. More...
 
double ADCDistanceToJunction () const
 Compute ADC's distance to junction. More...
 
- Public Member Functions inherited from apollo::prediction::Container
 Container ()=default
 Constructor. More...
 
virtual ~Container ()=default
 Destructor. More...
 

Constructor & Destructor Documentation

◆ StoryTellingContainer()

apollo::prediction::StoryTellingContainer::StoryTellingContainer ( )
default

Constructor.

◆ ~StoryTellingContainer()

virtual apollo::prediction::StoryTellingContainer::~StoryTellingContainer ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ADCDistanceToJunction()

double apollo::prediction::StoryTellingContainer::ADCDistanceToJunction ( ) const

Compute ADC's distance to junction.

Returns
ADC's distance to junction

◆ ADCJunction()

std::shared_ptr<const hdmap::JunctionInfo> apollo::prediction::StoryTellingContainer::ADCJunction ( ) const

Get ADC junction.

Returns
A pointer to ADC junction information

◆ ADCJunctionId()

const std::string& apollo::prediction::StoryTellingContainer::ADCJunctionId ( ) const

Get ADC junction id.

Returns
A reference of ADC_junction_id

◆ Insert()

void apollo::prediction::StoryTellingContainer::Insert ( const ::google::protobuf::Message &  message)
overridevirtual

Insert a data message into the container.

Parameters
Datamessage to be inserted in protobuf

Implements apollo::prediction::Container.


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