Github   Telegram
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
components::Manager Class Referencefinal

Public Types

using TaskProcessorsMap = std::unordered_map< std::string, std::unique_ptr< engine::TaskProcessor > >
 

Public Member Functions

 Manager (std::unique_ptr< ManagerConfig > &&config, const ComponentList &component_list)
 
const ManagerConfig & GetConfig () const
 
const std::shared_ptr< engine::impl::TaskProcessorPools > & GetTaskProcessorPools () const
 
const TaskProcessorsMap & GetTaskProcessorsMap () const
 
template<typename Component >
void AddComponent (const components::ComponentConfigMap &config_map, const std::string &name)
 
void OnSignal (int signum)
 
std::chrono::steady_clock::time_point GetStartTime () const
 
std::chrono::milliseconds GetLoadDuration () const
 

Detailed Description

Definition at line 34 of file manager.hpp.

Member Typedef Documentation

◆ TaskProcessorsMap

using components::Manager::TaskProcessorsMap = std::unordered_map<std::string, std::unique_ptr<engine::TaskProcessor> >

Definition at line 36 of file manager.hpp.

Member Function Documentation

◆ AddComponent()

template<typename Component >
void components::Manager::AddComponent ( const components::ComponentConfigMap &  config_map,
const std::string &  name 
)
inline

Definition at line 49 of file manager.hpp.


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