1 #ifndef ORG_EEROS_CONTROL_PERIPHERALOUTPUT_HPP
2 #define ORG_EEROS_CONTROL_PERIPHERALOUTPUT_HPP
11 template <
typename T =
double >
17 if(systemOutput ==
nullptr)
throw EEROSException(
"Peripheral output '" +
id +
"' not found!");
21 systemOutput->set(this->
in.getSignal().getValue());
32 #endif // ORG_EEROS_CONTROL_PERIPHERALOUTPUT_HPP
Definition: PeripheralOutput.hpp:17
Definition: Block1i.hpp:12
Definition: EEROSException.hpp:9
PeripheralOutputInterface * getPeripheralOutput(std::string name, bool exclusive=false)
Definition: HAL.cpp:41
virtual void run()
Definition: PeripheralOutput.hpp:20
PeripheralOutput(std::string id)
Definition: PeripheralOutput.hpp:15
Input< T > in
Definition: Block1i.hpp:21
Definition: PeripheralOutput.hpp:12