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

#include <container_manager.h>

Collaboration diagram for apollo::prediction::ContainerManager:
Collaboration graph

Public Member Functions

 ContainerManager ()=default
 Constructor. More...
 
void Init (const common::adapter::AdapterManagerConfig &config)
 Container manager initialization. More...
 
template<typename T >
T * GetContainer (const common::adapter::AdapterConfig::MessageType &type)
 Get mutable container. More...
 
std::unique_ptr< ContainerCreateContainer (const common::adapter::AdapterConfig::MessageType &type)
 Create a container. More...
 
 FRIEND_TEST (FeatureExtractorTest, junction)
 
 FRIEND_TEST (ScenarioManagerTest, run)
 

Constructor & Destructor Documentation

◆ ContainerManager()

apollo::prediction::ContainerManager::ContainerManager ( )
default

Constructor.

Member Function Documentation

◆ CreateContainer()

std::unique_ptr<Container> apollo::prediction::ContainerManager::CreateContainer ( const common::adapter::AdapterConfig::MessageType &  type)

Create a container.

Parameters
Containertype
Returns
Container pointer

◆ FRIEND_TEST() [1/2]

apollo::prediction::ContainerManager::FRIEND_TEST ( FeatureExtractorTest  ,
junction   
)

◆ FRIEND_TEST() [2/2]

apollo::prediction::ContainerManager::FRIEND_TEST ( ScenarioManagerTest  ,
run   
)

◆ GetContainer()

template<typename T >
T* apollo::prediction::ContainerManager::GetContainer ( const common::adapter::AdapterConfig::MessageType &  type)
inline

Get mutable container.

Parameters
Typeof the container
Returns
Pointer to the container given the name

◆ Init()

void apollo::prediction::ContainerManager::Init ( const common::adapter::AdapterManagerConfig &  config)

Container manager initialization.

Parameters
Adapterconfig

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