Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fsrobo_r_driver::io_control::IOControl Class Reference

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

SmplMsgConnectionconnection_
 

Detailed Description

Wrapper class around FSRobo-R-specific io control commands.

Definition at line 48 of file io_control.h.

Constructor & Destructor Documentation

fsrobo_r_driver::io_control::IOControl::IOControl ( )
inline

Default constructor.

Definition at line 54 of file io_control.h.

Member Function Documentation

bool fsrobo_r_driver::io_control::IOControl::init ( SmplMsgConnection connection)

Definition at line 52 of file io_control.cpp.

bool fsrobo_r_driver::io_control::IOControl::sendAndReceive ( industrial::shared_types::shared_int  address,
industrial::shared_types::shared_int  value,
std::vector< industrial::shared_types::shared_int > &  data,
SetIOReply reply 
)
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.

Parameters
addressThe address (index) of the IO point
valueThe value to set the IO element to
Returns
True IFF writing was successful

Definition at line 58 of file io_control.cpp.

Member Data Documentation

SmplMsgConnection* fsrobo_r_driver::io_control::IOControl::connection_
protected

Definition at line 71 of file io_control.h.


The documentation for this class was generated from the following files:


fsrobo_r_driver
Author(s): F-ROSROBO
autogenerated on Sun Feb 9 2020 03:58:29