rostopic.h
Go to the documentation of this file.
1 /***************************************************************************
2  tag: Ruben Smits Tue Nov 16 09:18:49 CET 2010 rtt_rostopic.h
3 
4  rtt_rostopic.h - description
5  -------------------
6  begin : Tue November 16 2010
7  copyright : (C) 2010 Ruben Smits
8  email : first.last@mech.kuleuven.be
9 
10  ***************************************************************************
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU Lesser General Public *
13  * License as published by the Free Software Foundation; either *
14  * version 2.1 of the License, or (at your option) any later version. *
15  * *
16  * This library is distributed in the hope that it will be useful, *
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19  * Lesser General Public License for more details. *
20  * *
21  * You should have received a copy of the GNU Lesser General Public *
22  * License along with this library; if not, write to the Free Software *
23  * Foundation, Inc., 59 Temple Place, *
24  * Suite 330, Boston, MA 02111-1307 USA *
25  * *
26  ***************************************************************************/
27 
28 #ifndef __RTT_ROSCOMM_ROSTOPIC_H
29 #define __RTT_ROSCOMM_ROSTOPIC_H
30 
31 #include <rtt/RTT.hpp>
32 
33 #define ORO_ROS_PROTOCOL_ID 3
34 
35 namespace rtt_roscomm {
37  static const int protocol_id = 3;
38 
43  RTT::ConnPolicy topic(const std::string& name);
44 
49  RTT::ConnPolicy topicLatched(const std::string& name);
50 
56  RTT::ConnPolicy topicBuffer(const std::string& name, int size);
57 
64  RTT::ConnPolicy topicUnbuffered(const std::string& name);
65 }
66 
67 #endif // ifndef __RTT_ROSCOMM_ROSTOPIC_H
RTT::ConnPolicy topicLatched(const std::string &name)
RTT::ConnPolicy topic(const std::string &name)
Definition: rtt_rostopic.cpp:4
RTT::ConnPolicy topicBuffer(const std::string &name, int size)
static const int protocol_id
ROS topic protocol ID.
Definition: rostopic.h:37
RTT::ConnPolicy topicUnbuffered(const std::string &name)


rtt_roscomm
Author(s): Ruben Smits, Jonathan Bohren
autogenerated on Sat Jun 8 2019 18:05:17