userver
C++ Async Framework
Loading...
Searching...
No Matches
component_fwd.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/components/component_fwd.hpp
4
/// @brief Forward declarations for components::ComponentContext and
5
/// components::ComponentConfig; function components::GetCurrentComponentName().
6
7
#
include
<
string
>
8
9
USERVER_NAMESPACE_BEGIN
10
11
namespace
components {
12
13
class
ComponentConfig;
14
15
class
ComponentContext;
16
17
/// @brief Equivalent to config.Name() but works with forward declaration of
18
/// the components::ComponentConfig.
19
std::string GetCurrentComponentName(
const
ComponentConfig& config);
20
21
}
// namespace components
22
23
USERVER_NAMESPACE_END
userver
components
component_fwd.hpp
Generated on Tue Nov 19 2024 11:25:22 for userver by
Doxygen
1.10.0