7#ifndef ASSIGNABLE_NETWORK_H
8#define ASSIGNABLE_NETWORK_H
42 template<
typename SubnetPtr>
53 template<
typename SubnetPtr>
Represents a network that can be associated with a subnet.
void setSharedNetwork(const SubnetPtr &subnet)
Associates a subnet with this network.
virtual NetworkPtr sharedFromThis()=0
Returns shared pointer to this object.
void clearSharedNetwork(const SubnetPtr &subnet)
Removes association of a subnet with a network.
virtual ~AssignableNetwork()
Virtual destructor.
boost::shared_ptr< Subnet > SubnetPtr
A generic pointer to either Subnet4 or Subnet6 object.
boost::shared_ptr< Network > NetworkPtr
Pointer to the Network object.
Defines the logger used by the top-level component of kea-dhcp-ddns.