C++ Client-Side SDK
LaunchDarkly SDK
Loading...
Searching...
No Matches
src
data_sources
null_data_source.hpp
1
#pragma once
2
3
#include "data_source.hpp"
4
#include "data_source_status_manager.hpp"
5
6
#include <boost/asio/any_io_executor.hpp>
7
8
namespace
launchdarkly::client_side::data_sources {
9
10
class
NullDataSource
:
public
IDataSource
{
11
public
:
12
explicit
NullDataSource
(boost::asio::any_io_executor exec,
13
DataSourceStatusManager
& status_manager);
14
void
Start()
override
;
15
void
ShutdownAsync(std::function<
void
()>)
override
;
16
17
private
:
18
DataSourceStatusManager
& status_manager_;
19
boost::asio::any_io_executor exec_;
20
};
21
22
}
// namespace launchdarkly::client_side::data_sources
launchdarkly::client_side::data_sources::DataSourceStatusManager
Definition
data_source_status_manager.hpp:17
launchdarkly::client_side::data_sources::IDataSource
Definition
data_source.hpp:6
launchdarkly::client_side::data_sources::NullDataSource
Definition
null_data_source.hpp:10
Generated by
1.9.8