Wrapper class around FSRobo-R-specific io control commands. More...
#include <io_control.h>
Public Member Functions | |
bool | init (SmplMsgConnection *connection) |
IOControl () | |
Default constructor. More... | |
bool | setIO (industrial::shared_types::shared_int fun, industrial::shared_types::shared_int, std::vector< industrial::shared_types::shared_int > &data) |
Writes to a single IO point on the controller. More... | |
Protected Member Functions | |
bool | sendAndReceive (industrial::shared_types::shared_int address, industrial::shared_types::shared_int value, std::vector< industrial::shared_types::shared_int > &data, SetIOReply &reply) |
Protected Attributes | |
SmplMsgConnection * | connection_ |
Wrapper class around FSRobo-R-specific io control commands.
Definition at line 48 of file io_control.h.
|
inline |
Default constructor.
Definition at line 54 of file io_control.h.
bool fsrobo_r_driver::io_control::IOControl::init | ( | SmplMsgConnection * | connection | ) |
Definition at line 52 of file io_control.cpp.
|
protected |
Definition at line 71 of file io_control.cpp.
bool fsrobo_r_driver::io_control::IOControl::setIO | ( | industrial::shared_types::shared_int | fun, |
industrial::shared_types::shared_int | , | ||
std::vector< industrial::shared_types::shared_int > & | data | ||
) |
Writes to a single IO point on the controller.
address | The address (index) of the IO point |
value | The value to set the IO element to |
Definition at line 58 of file io_control.cpp.
|
protected |
Definition at line 71 of file io_control.h.