22 config.add(
"device.readTimeout",
"",
"device.readTimeout", mx::app::argType::Required,
"device",
"readTimeout",
false,
"int",
"timeout for reading from device");
23 config.add(
"device.writeTimeout",
"",
"device.writeTimeout", mx::app::argType::Required,
"device",
"writeTimeout",
false,
"int",
"timeout for writing to device");
Configuration and control of an input and output device.
unsigned m_writeTimeout
The write timeout [msec].
int loadConfig(mx::app::appConfigurator &config)
Load the device section from an application configurator.
int appStartup()
Perform application startup steps specific to an ioDevice.
int setupConfig(mx::app::appConfigurator &config)
Setup an application configurator for the device section.
unsigned m_readTimeout
The read timeout [msec].
int appLogic()
Perform application logic steps specific to an ioDevice during the main event loop.