Kea
1.5.0
config_backend_dhcp4_mgr.h
Go to the documentation of this file.
1
// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#ifndef CONFIG_BACKEND_DHCP4_MGR_H
8
#define CONFIG_BACKEND_DHCP4_MGR_H
9
10
#include <
config_backend/base_config_backend_mgr.h
>
11
#include <
dhcpsrv/config_backend_pool_dhcp4.h
>
12
13
#include <boost/scoped_ptr.hpp>
14
15
namespace
isc
{
16
namespace
dhcp {
17
33
class
ConfigBackendDHCPv4Mgr
:
public
cb::BaseConfigBackendMgr
<ConfigBackendPoolDHCPv4>,
34
public
boost::noncopyable {
35
public
:
41
static
void
create
();
42
48
static
void
destroy
();
49
57
static
ConfigBackendDHCPv4Mgr
&
instance
();
58
59
private
:
61
ConfigBackendDHCPv4Mgr
() {}
62
65
static
boost::scoped_ptr<ConfigBackendDHCPv4Mgr>& getConfigBackendDHCPv4MgrPtr();
66
};
67
68
}
// end of namespace isc::dhcp
69
}
// end of namespace isc
70
71
#endif // CONFIG_BACKEND_DHCP4_MGR_H
config_backend_pool_dhcp4.h
base_config_backend_mgr.h
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::dhcp::ConfigBackendDHCPv4Mgr::destroy
static void destroy()
Destroys the instance of the ConfigBackendDHCPv4Mgr.
Definition:
config_backend_dhcp4_mgr.cc:27
isc::dhcp::ConfigBackendDHCPv4Mgr
Configuration Backend Manager for DHPCv4 servers.
Definition:
config_backend_dhcp4_mgr.h:34
isc::dhcp::ConfigBackendDHCPv4Mgr::instance
static ConfigBackendDHCPv4Mgr & instance()
Returns a sole instance of the ConfigBackendDHCPv4Mgr.
Definition:
config_backend_dhcp4_mgr.cc:32
isc::dhcp::ConfigBackendDHCPv4Mgr::create
static void create()
Creates new instance of the ConfigBackendDHCPv4Mgr.
Definition:
config_backend_dhcp4_mgr.cc:22
isc::cb::BaseConfigBackendMgr
Base class for Configuration Backend Managers (CBM).
Definition:
base_config_backend_mgr.h:59
src
lib
dhcpsrv
config_backend_dhcp4_mgr.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18