2014-08-08 17:05:49 -04:00
|
|
|
|
|
|
|
|
#include "HLUsageReporting.h"
|
|
|
|
|
|
2015-06-23 04:49:51 -07:00
|
|
|
HLUsageReportingInterface* HLUsageReporting::impl = nullptr;
|
2014-08-08 17:05:49 -04:00
|
|
|
|
|
|
|
|
void HLUsageReporting::SetImplementation(HLUsageReportingInterface* i) {
|
2015-06-25 15:07:55 -04:00
|
|
|
impl = i;
|
2014-08-08 17:05:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void HLUsageReporting::ReportScheduler() {
|
2015-06-23 04:49:51 -07:00
|
|
|
if (impl != nullptr) {
|
2015-06-25 15:07:55 -04:00
|
|
|
impl->ReportScheduler();
|
|
|
|
|
}
|
2014-08-08 17:05:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void HLUsageReporting::ReportSmartDashboard() {
|
2015-06-23 04:49:51 -07:00
|
|
|
if (impl != nullptr) {
|
2015-06-25 15:07:55 -04:00
|
|
|
impl->ReportSmartDashboard();
|
|
|
|
|
}
|
2014-08-08 17:05:49 -04:00
|
|
|
}
|