1 #ifndef ORG_EEROS_CONTROL_PERIPHERALINPUT_HPP
2 #define ORG_EEROS_CONTROL_PERIPHERALINPUT_HPP
12 template <
typename T =
double >
18 if(systemInput ==
nullptr)
throw EEROSException(
"Peripheral input '" +
id +
"' not found!");
22 this->
out.getSignal().setValue(systemInput->get());
34 #endif // ORG_EEROS_CONTROL_PERIPHERALINPUT_HPP
PeripheralInputInterface * getPeripheralInput(std::string name, bool exclusive=false)
Definition: HAL.cpp:63
Definition: EEROSException.hpp:9
Definition: Block1o.hpp:12
static uint64_t getTimeNs()
Definition: System_POSIX.cpp:30
Output< T > out
Definition: Block1o.hpp:21