Main Page
Classes
Files
File List
File Members
qadd_server
qadd_server/qadd.hpp
Go to the documentation of this file.
1
8
/*****************************************************************************
9
** Ifdefs
10
*****************************************************************************/
11
12
#ifndef QADD_NODE_HPP_
13
#define QADD_NODE_HPP_
14
15
/*****************************************************************************
16
** Includes
17
*****************************************************************************/
18
19
#ifndef Q_MOC_RUN
20
#include <
ros/ros.h
>
21
#include "../common/qnode.hpp"
22
#include "qt_tutorials/TwoInts.h"
23
#endif
24
25
#include <string>
26
#include <std_msgs/String.h>
27
28
/*****************************************************************************
29
** Class
30
*****************************************************************************/
31
32
class
QAdd
:
public
QNode
{
33
34
public
:
35
QAdd
(
int
argc,
char
** argv);
36
virtual
~QAdd
() {}
37
void
run
();
38
void
ros_comms_init
();
39
private
:
40
bool
add
(qt_tutorials::TwoInts::Request &req, qt_tutorials::TwoInts::Response &res);
41
ros::ServiceServer
add_server
;
42
};
43
44
#endif
/* QADD_NODE_HPP_ */
QAdd::add
bool add(qt_tutorials::TwoInts::Request &req, qt_tutorials::TwoInts::Response &res)
Definition:
qadd_server/qadd.cpp:32
QAdd::ros_comms_init
void ros_comms_init()
Definition:
qadd_client/qadd.cpp:27
QAdd::~QAdd
virtual ~QAdd()
Definition:
qadd_server/qadd.hpp:36
QAdd
Definition:
qadd_client/qadd.hpp:32
ros::ServiceServer
QAdd::add_server
ros::ServiceServer add_server
Definition:
qadd_server/qadd.hpp:41
ros.h
QNode
Definition:
qnode.hpp:31
QAdd::QAdd
QAdd(int argc, char **argv)
Definition:
qadd_client/qadd.cpp:23
QAdd::run
void run()
Definition:
qadd_client/qadd.cpp:32
qt_tutorials
Author(s): Daniel Stonier
autogenerated on Wed Mar 11 2020 03:12:20