mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Allowed sharing of common C++ code between RoboRIO and Simulation.
Change-Id: I8bf2bda9df389c13ae0567a62dbf0ca931ceb6f8
This commit is contained in:
committed by
Thomas Clark
parent
b371600f0f
commit
7c8124d76c
20
wpilibc/wpilibC++/src/HLUsageReporting.cpp
Normal file
20
wpilibc/wpilibC++/src/HLUsageReporting.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
#include "HLUsageReporting.h"
|
||||
|
||||
HLUsageReportingInterface* HLUsageReporting::impl = 0;
|
||||
|
||||
void HLUsageReporting::SetImplementation(HLUsageReportingInterface* i) {
|
||||
impl = i;
|
||||
}
|
||||
|
||||
void HLUsageReporting::ReportScheduler() {
|
||||
if (impl != 0) {
|
||||
impl->ReportScheduler();
|
||||
}
|
||||
}
|
||||
|
||||
void HLUsageReporting::ReportSmartDashboard() {
|
||||
if (impl != 0) {
|
||||
impl->ReportSmartDashboard();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user