serial_communication_interface.h
Go to the documentation of this file.
00001 #ifndef __SERIAL_COMM_INTERFACE_H__
00002 #define __SERIAL_COMM_INTERFACE_H__
00003 
00027 class SerialCommunicationInterface {
00028     public:
00032         SerialCommunicationInterface()
00033         {
00034         }
00035 
00039         virtual ~SerialCommunicationInterface()
00040         {
00041         }
00042 
00048         virtual void set_serial_device(std::string serial_device) = 0;
00049 
00055         virtual int open_port(struct termios *oldtio) = 0;
00056 
00062         virtual int close_port(struct termios *oldtio) = 0;
00063 
00069         virtual int send_character(unsigned char *str) = 0;
00070 };
00071 
00072 #endif


serial_comm_drivers
Author(s): Raul Perula-Martinez
autogenerated on Thu Apr 2 2015 03:06:03