#include <AnOpClass/RealTime/UserCode/DefaultValueAutomation.h>
const fesa::MultiplexingContext* context = pEvt->getMultiplexingContext(); static_cast<void>(context); // This line prevents an "unused variable" warning, it can be removed safely. const Devices& devices = getFilteredDeviceCollection(pEvt); for (Devices::const_iterator it = devices.begin(); it != devices.end(); ++it) { try { Device* device = *it; static_cast<void (device); // This line prevents an "unused variable" warning, it can be removed safely // Apply default settings per device DataFillAutomation dfa; dfa.fillAutomaticallyInRTAction(pEvt, device); } catch (const fesa::FesaException& exception) { LOG_ERROR_IF(logger, exception.getMessage()); } }
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
cpp | DefaultValueAutomation.cpp | manage | 3 K | 14 Aug 2017 - 10:31 | SolveighMatthies | |
h | DefaultValueAutomation.h | manage | 605 bytes | 14 Aug 2017 - 10:31 | SolveighMatthies |