1 #ifndef ORG_EEROS_CONTROL_PERIPHERALOUTPUT_HPP 2 #define ORG_EEROS_CONTROL_PERIPHERALOUTPUT_HPP 13 template <
typename T =
double >
19 if(systemOutput ==
nullptr)
throw Fault(
"Peripheral output '" +
id +
"' not found!");
23 T val = this->
in.getSignal().getValue();
25 systemOutput->set(val);
26 systemOutput->setTimestampSignalIn(this->
in.getSignal().getTimestamp());
29 template<
typename ... ArgTypesOut>
42 #endif // ORG_EEROS_CONTROL_PERIPHERALOUTPUT_HPP OutputInterface * getOutput(std::string name, bool exclusive=true)
Definition: HAL.cpp:143
Definition: Block1i.hpp:12
Definition: Config.hpp:14
virtual void run()
Definition: PeripheralOutput.hpp:22
PeripheralOutput(std::string id, bool exclusive=true)
Definition: PeripheralOutput.hpp:17
Definition: Output.hpp:18
void callOutputFeature(OutputInterface *obj, std::string featureName, ArgTypesOut...args)
Definition: HAL.hpp:38
Definition: NaNOutputFault.hpp:8
void callOutputFeature(std::string featureName, ArgTypesOut...args)
Definition: PeripheralOutput.hpp:30
Input< T > in
Definition: Block1i.hpp:21
Definition: PeripheralOutput.hpp:14