ServiceWrapper
Template base class for service wrappers.
template <typename T> class ServiceWrapper
| Declared in | src/libs/libservice/service/ServiceWrapper.hpp |
| Inherits | Service |
| Inherited By | AddressBookService, AgentConfigService, BatchQueueService, CarrierService, CommsService, DirectorateService, DiscoveryClientService, EntropyService, KeyStoreService, LocalAddressListService, octomy::trove::TroveSupervisorService, and PlanBookService |
| Group | service |
Detailed description
ServiceWrapper provides a common interface for wrapping OctoMY services with activation lifecycle management. Each wrapped service gets:
- Named registration with ServiceManager
- Dependency tracking for activation ordering
- Callback-based async activation pattern
Subclasses implement serviceWrapperActivate() to handle service-specific activation logic.
See also Service, ServiceManager, ServiceLevel.