20 #ifndef __TELEMETRYMANAGER_H__ 21 #define __TELEMETRYMANAGER_H__ 23 #ifdef BUILD_TELEMETRY_MODULE 25 #include "serviceinjector.h" 26 #include "interfaces/itelemetryservice.h" 34 class TelemetryManager :
public ServiceInjector<ITelemetryService> {
35 INJECT(ITelemetryService, _telemetryService)
36 static std::unique_ptr<TelemetryManager> mgr;
38 static TelemetryManager* instance()
41 mgr.reset(
new TelemetryManager());
46 static ITelemetryService* telemetryService()
48 return instance()->_telemetryService();
54 #endif // BUILD_TELEMETRY_MODULE 55 #endif // __TELEMETRYMANAGER_H__ Definition: aeolus.cpp:26