Public Member Functions | Protected Attributes
SerialServer Class Reference

#include <server.h>

List of all members.

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_

Detailed Description

Definition at line 36 of file server.h.


Constructor & Destructor Documentation

Definition at line 53 of file server.h.

Definition at line 58 of file server.h.


Member Function Documentation

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]

Definition at line 63 of file server.h.

void SerialServer::kickWatchdog ( ) [inline]

Definition at line 68 of file server.h.

Definition at line 106 of file server.cpp.


Member Data Documentation

Definition at line 45 of file server.h.

Definition at line 40 of file server.h.

Definition at line 46 of file server.h.

Definition at line 49 of file server.h.

Definition at line 39 of file server.h.

Definition at line 42 of file server.h.

Definition at line 44 of file server.h.

Definition at line 43 of file server.h.

Definition at line 41 of file server.h.

Definition at line 48 of file server.h.

Definition at line 50 of file server.h.


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


shared_serial
Author(s): Wouter Caarls
autogenerated on Thu Jun 6 2019 19:47:36