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 // third party driver headers
00031 #define LINUX
00032 extern "C" {
00033 #include <IRTrans.h>
00034 }
00035 
00036 class IrTransWrapper : public IrDriverInterface {
00037     public:
00041         IrTransWrapper();
00042 
00046         ~IrTransWrapper();
00047 
00053         int connect();
00054 
00060         void disconnect();
00061 
00068         int send_remote_command(std::string remote, std::string command);
00069 
00070     private:
00071         SOCKET _irt_server;
00072 };
00073 
00074 #endif


maggie_ir_drivers
Author(s): Raul Perula-Martinez
autogenerated on Mon Sep 14 2015 03:06:37