Kea 3.1.1
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
12
13#include <boost/scoped_ptr.hpp>
14
15namespace isc {
16namespace dhcp {
17
33class ConfigBackendDHCPv4Mgr : public cb::BaseConfigBackendMgr<ConfigBackendPoolDHCPv4>,
34 public boost::noncopyable {
35public:
41 static void create();
42
48 static void destroy();
49
57 static ConfigBackendDHCPv4Mgr& instance();
58
59private:
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 class for Configuration Backend Managers (CBM).
static void create()
Creates new instance of the ConfigBackendDHCPv4Mgr.
static void destroy()
Destroys the instance of the ConfigBackendDHCPv4Mgr.
static ConfigBackendDHCPv4Mgr & instance()
Returns a sole instance of the ConfigBackendDHCPv4Mgr.
Defines the logger used by the top-level component of kea-lfc.