7class Service :
public std::enable_shared_from_this<Service> {
9 virtual ~Service() =
default;
11 [[nodiscard]]
virtual ServiceId getServiceId()
const noexcept = 0;
14 virtual void invalidate() = 0;
19 Service(Service
const&) =
delete;
20 Service(Service&&) =
delete;
21 Service& operator=(Service
const&) =
delete;
22 Service& operator=(Service&&) =
delete;