File tree Expand file tree Collapse file tree 5 files changed +10
-3
lines changed Expand file tree Collapse file tree 5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2727#ifndef RL_HAL_ANALOGINPUT_H
2828#define RL_HAL_ANALOGINPUT_H
2929
30+ #include < rl/math/Real.h>
3031#include < rl/math/Unit.h>
3132
3233#include " Device.h"
@@ -48,6 +49,10 @@ namespace rl
4849
4950 virtual ::rl::math::Real getAnalogInputMinimum (const ::std::size_t & i) const = 0;
5051
52+ virtual ::std::vector<::rl::math::Unit> getAnalogInputUnit () const = 0;
53+
54+ virtual ::rl::math::Unit getAnalogInputUnit (const ::std::size_t & i) const = 0;
55+
5156 protected:
5257
5358 private:
Original file line number Diff line number Diff line change 2828#define RL_HAL_ANALOGINPUTREADER_H
2929
3030#include < vector>
31- #include < rl/math/Real.h>
3231
3332#include " AnalogInput.h"
3433
Original file line number Diff line number Diff line change 2828#define RL_HAL_ANALOGINPUTWRITER_H
2929
3030#include < vector>
31- #include < rl/math/Real.h>
3231
3332#include " AnalogInput.h"
3433
Original file line number Diff line number Diff line change 2727#ifndef RL_HAL_ANALOGOUTPUT_H
2828#define RL_HAL_ANALOGOUTPUT_H
2929
30+ #include < rl/math/Real.h>
3031#include < rl/math/Unit.h>
3132
3233#include " Device.h"
@@ -48,6 +49,10 @@ namespace rl
4849
4950 virtual ::rl::math::Real getAnalogOutputMinimum (const ::std::size_t & i) const = 0;
5051
52+ virtual ::std::vector<::rl::math::Unit> getAnalogOutputUnit () const = 0;
53+
54+ virtual ::rl::math::Unit getAnalogOutputUnit (const ::std::size_t & i) const = 0;
55+
5156 protected:
5257
5358 private:
Original file line number Diff line number Diff line change 2828#define RL_HAL_ANALOGOUTPUTWRITER_H
2929
3030#include < vector>
31- #include < rl/math/Real.h>
3231
3332#include " AnalogOutput.h"
3433
You can’t perform that action at this time.
0 commit comments