| Kea 3.0.2-git

config_backend_dhcp4_mgr.h
Go to the documentation of this file.
1// Copyright (C) 2018-2024 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
base_config_backend_mgr.h
isc::cb::BaseConfigBackendMgr
Base class for Configuration Backend Managers (CBM).
Definition base_config_backend_mgr.h:61
isc::dhcp::ConfigBackendDHCPv4Mgr::create
static void create()
Creates new instance of the ConfigBackendDHCPv4Mgr.
Definition config_backend_dhcp4_mgr.cc:22
isc::dhcp::ConfigBackendDHCPv4Mgr::destroy
static void destroy()
Destroys the instance of the ConfigBackendDHCPv4Mgr.
Definition config_backend_dhcp4_mgr.cc:27
isc::dhcp::ConfigBackendDHCPv4Mgr::instance
static ConfigBackendDHCPv4Mgr & instance()
Returns a sole instance of the ConfigBackendDHCPv4Mgr.
Definition config_backend_dhcp4_mgr.cc:32
config_backend_pool_dhcp4.h
isc::dhcp
Definition dhcp4/client_handler.cc:20
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148