Miscellaneous cleanups for HAL, wpilibc, and wpilibj JNI (#589)

* Static functions in the HAL implementation were placed in the hal namespace
* "using namespace" declarations in HAL/cpp/Log.h and Timer.cpp were replaced
  with "using" declarations for std::chrono
* An extra include was removed from AnalogGyro.cpp
* InterruptableSensorBase's constructor was defaulted
* Newlines were added to some wpilibc integration tests for grouping
* A variable in HALUtil.h was renamed to follow the style guide

Supersedes #586
This commit is contained in:
Tyler Veness
2017-08-07 17:36:34 -07:00
committed by Peter Johnson
parent 5e19c1881f
commit d682295ccd
16 changed files with 105 additions and 20 deletions

View File

@@ -22,8 +22,9 @@ class InterruptableSensorBase : public SensorBase {
kBoth = 0x101,
};
InterruptableSensorBase();
InterruptableSensorBase() = default;
virtual ~InterruptableSensorBase() = default;
virtual HAL_Handle GetPortHandleForRouting() const = 0;
virtual AnalogTriggerType GetAnalogTriggerTypeForRouting() const = 0;
virtual void RequestInterrupts(