userver: userver/components/state.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
state.hpp File Reference

Detailed Description

Definition in file state.hpp.

Go to the source code of this file.

#include <string_view>
#include <unordered_set>
+ This graph shows which files directly or indirectly include this file:

Classes

class  components::State
 

Namespaces

namespace  components
 Contains functions and types to start a userver based service/tool.
 

Enumerations

enum class  components::ServiceLifetimeStage {
  components::kLoading ,
  components::kOnAllComponentsLoadedIsRunning ,
  components::kRunning ,
  components::kGracefulShutdown ,
  components::kOnAllComponentsAreStoppingIsRunning ,
  components::kStopping
}
 All components pass through these stages during the service lifetime. More...
 

Functions

std::string_view components::ToString (ServiceLifetimeStage)
 Converts a components::ServiceLifetimeStage to debug string for logging.