C++ Client-Side SDK
LaunchDarkly SDK
Loading...
Searching...
No Matches
data_source.hpp
1#pragma once
2#include <future>
3
4namespace launchdarkly::client_side::data_sources {
5
7 public:
8 virtual void Start() = 0;
9 virtual void ShutdownAsync(std::function<void()>) = 0;
10 virtual ~IDataSource() = default;
11 IDataSource(IDataSource const& item) = delete;
12 IDataSource(IDataSource&& item) = delete;
13 IDataSource& operator=(IDataSource const&) = delete;
14 IDataSource& operator=(IDataSource&&) = delete;
15
16 protected:
17 IDataSource() = default;
18};
19
20} // namespace launchdarkly::client_side::data_sources