#include <server.h>
Public Member Functions | |
void | advertiseServices () |
void | callbackClose (const shared_serial::Close::ConstPtr &msg) |
bool | callbackConnect (shared_serial::Connect::Request &req, shared_serial::Connect::Response &res) |
void | callbackFlush (const shared_serial::Flush::ConstPtr &msg) |
bool | callbackRecv (shared_serial::Recv::Request &req, shared_serial::Recv::Response &res) |
void | callbackSend (const shared_serial::Send::ConstPtr &msg) |
bool | callbackSendRecv (shared_serial::SendRecv::Request &req, shared_serial::SendRecv::Response &res) |
bool | callbackSendTo (shared_serial::SendTo::Request &req, shared_serial::SendTo::Response &res) |
void | checkTimeout () |
void | kickWatchdog () |
void | readParameters () |
SerialServer () | |
~SerialServer () | |
Protected Attributes | |
ros::Subscriber | close_topic_ |
ros::ServiceServer | connect_service_ |
ros::Subscriber | flush_topic_ |
SerialServerLock | lock_ |
ros::NodeHandle | nh_ |
ros::ServiceServer | recv_service_ |
ros::Subscriber | send_topic_ |
ros::ServiceServer | sendrecv_service_ |
ros::ServiceServer | sendto_service_ |
LxSerial | serial_port_ |
WatchdogThread | watchdog_ |
SerialServer::SerialServer | ( | ) | [inline] |
SerialServer::~SerialServer | ( | ) | [inline] |
void SerialServer::advertiseServices | ( | ) |
Definition at line 93 of file server.cpp.
void SerialServer::callbackClose | ( | const shared_serial::Close::ConstPtr & | msg | ) |
Definition at line 169 of file server.cpp.
bool SerialServer::callbackConnect | ( | shared_serial::Connect::Request & | req, |
shared_serial::Connect::Response & | res | ||
) |
Definition at line 193 of file server.cpp.
void SerialServer::callbackFlush | ( | const shared_serial::Flush::ConstPtr & | msg | ) |
Definition at line 178 of file server.cpp.
bool SerialServer::callbackRecv | ( | shared_serial::Recv::Request & | req, |
shared_serial::Recv::Response & | res | ||
) |
Definition at line 233 of file server.cpp.
void SerialServer::callbackSend | ( | const shared_serial::Send::ConstPtr & | msg | ) |
Definition at line 142 of file server.cpp.
bool SerialServer::callbackSendRecv | ( | shared_serial::SendRecv::Request & | req, |
shared_serial::SendRecv::Response & | res | ||
) |
Definition at line 269 of file server.cpp.
bool SerialServer::callbackSendTo | ( | shared_serial::SendTo::Request & | req, |
shared_serial::SendTo::Response & | res | ||
) |
Definition at line 204 of file server.cpp.
void SerialServer::checkTimeout | ( | ) | [inline] |
void SerialServer::kickWatchdog | ( | ) | [inline] |
void SerialServer::readParameters | ( | ) |
Definition at line 106 of file server.cpp.
ros::Subscriber SerialServer::close_topic_ [protected] |
ros::ServiceServer SerialServer::connect_service_ [protected] |
ros::Subscriber SerialServer::flush_topic_ [protected] |
SerialServerLock SerialServer::lock_ [protected] |
ros::NodeHandle SerialServer::nh_ [protected] |
ros::ServiceServer SerialServer::recv_service_ [protected] |
ros::Subscriber SerialServer::send_topic_ [protected] |
ros::ServiceServer SerialServer::sendrecv_service_ [protected] |
ros::ServiceServer SerialServer::sendto_service_ [protected] |
LxSerial SerialServer::serial_port_ [protected] |
WatchdogThread SerialServer::watchdog_ [protected] |