C++ Server-Side SDK
LaunchDarkly SDK
idata_system.hpp
1 #pragma once
2 
3 #include "../store/istore.hpp"
4 
5 namespace launchdarkly::server_side::data_interfaces {
6 
11 class IDataSystem : public IStore {
12  public:
16  [[nodiscard]] virtual std::string const& Identity() const = 0;
17 
22  virtual void Initialize() = 0;
23 
24  virtual ~IDataSystem() override = default;
25  IDataSystem(IDataSystem const& item) = delete;
26  IDataSystem(IDataSystem&& item) = delete;
27  IDataSystem& operator=(IDataSystem const&) = delete;
28  IDataSystem& operator=(IDataSystem&&) = delete;
29 
30  protected:
31  IDataSystem() = default;
32 };
33 
34 } // namespace launchdarkly::server_side::data_interfaces
IDataSystem obtains data used for flag evaluations and makes it available to other components.
Definition: idata_system.hpp:11
virtual void Initialize()=0
Initializes the system. This method will be called before any of the IStore methods are called.
virtual std::string const & Identity() const =0
IStore provides shared ownership of flag and segment domain objects.
Definition: istore.hpp:15