#include <userver/components/component_list.hpp>
A list to keep a unique list of components to start with components::Run(), utils::DaemonMain() or components::RunOnce().
Definition at line 133 of file component_list.hpp.
Public Member Functions | |
| template<typename Component > | |
| ComponentList & | Append () & | 
| Appends a component with default component name Component::kName.   | |
| template<typename Component > | |
| ComponentList & | Append (std::string name) & | 
| Appends a component with a provided component name.   | |
| ComponentList & | AppendComponentList (ComponentList &&other) & | 
Merges components from other into *this.  | |
| ComponentList && | AppendComponentList (ComponentList &&other) && | 
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  | |
| template<typename Component , typename... Args> | |
| ComponentList && | Append (Args &&...) && | 
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  | |
| bool | Contains (std::string_view name) const | 
| template<typename Component , typename... Args> | |
| ComponentList && | Append (Args &&... args) && | 
| ComponentList & components::ComponentList::Append | ( | ) | & | 
Appends a component with default component name Component::kName.
Definition at line 173 of file component_list.hpp.
| ComponentList && components::ComponentList::Append | ( | Args &&... | args | ) | && | 
Definition at line 186 of file component_list.hpp.
| ComponentList & components::ComponentList::Append | ( | std::string | name | ) | & | 
Appends a component with a provided component name.
Definition at line 179 of file component_list.hpp.
      
  | 
  inline | 
Definition at line 154 of file component_list.hpp.