irtrans_wrapper.h
Go to the documentation of this file.
00001 #ifndef __SERIAL_COMM_H__
00002 #define __SERIAL_COMM_H__
00003 
00027 #include <ros/ros.h>
00028 #include "ir_driver_interface.h"
00029 
00030 #define LINUX
00031 extern "C" {
00032 #include <IRTrans.h>
00033 }
00034 
00035 class IrTransWrapper : public IrDriverInterface {
00036     public:
00040         IrTransWrapper();
00041 
00045         ~IrTransWrapper();
00046 
00052         int connect();
00053 
00059         void disconnect();
00060 
00067         int send_remote_command(std::string remote, std::string command);
00068 
00069     private:
00070         SOCKET _irt_server;
00071 };
00072 
00073 #endif


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