Classes | |
struct | poll_parms_t |
Public Types | |
typedef int(IOadr::* | poll_method_t )(int ch) |
Public Member Functions | |
IOadr () | |
void | Main () |
int | poll_Analog_10bit (int ch) |
int | poll_Analog_8bit (int ch) |
int | poll_Digital (int ch) |
int | poll_ShifterInd (int ch) |
int | Setup (ros::NodeHandle node) |
int | Shutdown () |
Private Member Functions | |
void | GetSetRelays (void) |
void | PollDevice (void) |
void | processOutput (const art_msgs::IOadrCommand::ConstPtr &cmd) |
void | processShifter (const art_msgs::Shifter::ConstPtr &shifterIn) |
Private Attributes | |
dev8x * | dev_ |
bool | do_shifter_ |
ros::Subscriber | ioadr_cmd_ |
ros::Publisher | ioadr_state_ |
art_msgs::IOadrState | ioMsg_ |
std::string | node_name_ |
std::vector< poll_parms_t * > | poll_list_ |
std::string | port_ |
uint8_t | relay_bits_ |
uint8_t | relay_mask_ |
int | reset_relays_ |
ros::Subscriber | shifter_cmd_ |
uint8_t | shifter_gear_ |
ros::Publisher | shifter_state_ |
typedef int(IOadr::* IOadr::poll_method_t)(int ch) |
IOadr::IOadr | ( | ) |
void IOadr::GetSetRelays | ( | void | ) | [private] |
void IOadr::Main | ( | ) |
int IOadr::poll_Analog_10bit | ( | int | ch | ) |
int IOadr::poll_Analog_8bit | ( | int | ch | ) |
int IOadr::poll_Digital | ( | int | ch | ) |
int IOadr::poll_ShifterInd | ( | int | ch | ) |
void IOadr::PollDevice | ( | void | ) | [private] |
void IOadr::processOutput | ( | const art_msgs::IOadrCommand::ConstPtr & | cmd | ) | [private] |
void IOadr::processShifter | ( | const art_msgs::Shifter::ConstPtr & | shifterIn | ) | [private] |
int IOadr::Setup | ( | ros::NodeHandle | node | ) |
int IOadr::Shutdown | ( | void | ) |
dev8x* IOadr::dev_ [private] |
bool IOadr::do_shifter_ [private] |
ros::Subscriber IOadr::ioadr_cmd_ [private] |
ros::Publisher IOadr::ioadr_state_ [private] |
art_msgs::IOadrState IOadr::ioMsg_ [private] |
std::string IOadr::node_name_ [private] |
std::vector<poll_parms_t *> IOadr::poll_list_ [private] |
std::string IOadr::port_ [private] |
uint8_t IOadr::relay_bits_ [private] |
uint8_t IOadr::relay_mask_ [private] |
int IOadr::reset_relays_ [private] |
ros::Subscriber IOadr::shifter_cmd_ [private] |
uint8_t IOadr::shifter_gear_ [private] |
ros::Publisher IOadr::shifter_state_ [private] |