File tree 5 files changed +10
-3
lines changed
5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 27
27
#ifndef RL_HAL_ANALOGINPUT_H
28
28
#define RL_HAL_ANALOGINPUT_H
29
29
30
+ #include < rl/math/Real.h>
30
31
#include < rl/math/Unit.h>
31
32
32
33
#include " Device.h"
@@ -48,6 +49,10 @@ namespace rl
48
49
49
50
virtual ::rl::math::Real getAnalogInputMinimum (const ::std::size_t & i) const = 0;
50
51
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
+
51
56
protected:
52
57
53
58
private:
Original file line number Diff line number Diff line change 28
28
#define RL_HAL_ANALOGINPUTREADER_H
29
29
30
30
#include < vector>
31
- #include < rl/math/Real.h>
32
31
33
32
#include " AnalogInput.h"
34
33
Original file line number Diff line number Diff line change 28
28
#define RL_HAL_ANALOGINPUTWRITER_H
29
29
30
30
#include < vector>
31
- #include < rl/math/Real.h>
32
31
33
32
#include " AnalogInput.h"
34
33
Original file line number Diff line number Diff line change 27
27
#ifndef RL_HAL_ANALOGOUTPUT_H
28
28
#define RL_HAL_ANALOGOUTPUT_H
29
29
30
+ #include < rl/math/Real.h>
30
31
#include < rl/math/Unit.h>
31
32
32
33
#include " Device.h"
@@ -48,6 +49,10 @@ namespace rl
48
49
49
50
virtual ::rl::math::Real getAnalogOutputMinimum (const ::std::size_t & i) const = 0;
50
51
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
+
51
56
protected:
52
57
53
58
private:
Original file line number Diff line number Diff line change 28
28
#define RL_HAL_ANALOGOUTPUTWRITER_H
29
29
30
30
#include < vector>
31
- #include < rl/math/Real.h>
32
31
33
32
#include " AnalogOutput.h"
34
33
You can’t perform that action at this time.
0 commit comments