ddsproxyjoy.h
Go to the documentation of this file.
00001 /*
00002 * Copyright (c) 2012  DFKI GmbH, Bremen, Germany
00003 *
00004 *  This file is free software: you may copy, redistribute and/or modify it
00005 *  under the terms of the GNU General Public License as published by the
00006 *  Free Software Foundation, either version 3 of the License, or (at your
00007 *  option) any later version.
00008 *
00009 *  This file is distributed in the hope that it will be useful, but
00010 *  WITHOUT ANY WARRANTY; without even the implied warranty of
00011 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012 *  General Public License for more details.
00013 *
00014 *  You should have received a copy of the GNU General Public License
00015 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
00016 *
00017 *
00018 *   Author: Ronny Hartanto (ronny.hartanto@dfki.de)
00019 *
00020 *       FILE --- ddsproxyjoy.h
00021 *
00022 *  Created on: Aug 3, 2012
00023 */
00024 #ifndef _DDSPROXYJOY_H_
00025 #define _DDSPROXYJOY_H_
00026 
00027 // DDS includes
00028 #include "ddsProxy.h"
00029 
00030 // Message specific includes
00031 #include <sensor_msgs/Joy.h>
00032 #include "../idl_gen/ddsJoy.h"
00033 #include "../idl_gen/ccpp_ddsJoy.h"
00034 
00035 class DDSProxyJoy: public DDSProxy {
00036 public:
00037         DDSProxyJoy();
00038         ~DDSProxyJoy();
00039         template <class T> void messageCallback(const ros::MessageEvent<T const>& event);
00040         void update();
00041         void registerProxy();
00042 private:
00043         ddsJoyDataWriter_var m_data_writer;
00044     ddsJoyDataReader_var m_data_reader;
00045 };
00046 
00047 #endif // _DDSPROXYJOY_H_


proxyJoy
Author(s): Ronny Hartanto
autogenerated on Mon Oct 6 2014 06:54:35