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