#include "ros/ros.h"#include "ros/time.h"#include "ros/console.h"#include "ros/assert.h"#include <stdint.h>#include <assert.h>#include <stddef.h>#include <string>#include <vector>#include <map>#include <set>#include <list>#include <boost/shared_ptr.hpp>#include <boost/weak_ptr.hpp>#include <boost/function.hpp>#include <ros/macros.h>#include "exceptions.h"#include "ros/types.h"#include <boost/shared_array.hpp>#include "ros/forwards.h"#include "ros/common.h"#include "ros/message.h"#include "ros/serialization.h"#include <boost/bind.hpp>#include <typeinfo>#include <boost/type_traits/is_void.hpp>#include <boost/type_traits/is_base_of.hpp>#include <boost/type_traits/is_const.hpp>#include <boost/type_traits/add_const.hpp>#include <boost/type_traits/remove_const.hpp>#include <boost/utility/enable_if.hpp>#include <boost/make_shared.hpp>#include <ros/static_assert.h>#include <boost/type_traits/remove_reference.hpp>#include "ros/message_traits.h"#include "ros/builtin_message_traits.h"#include "ros/message_event.h"#include "ros/service_traits.h"#include "forwards.h"#include "timer_options.h"#include "wall_timer_options.h"#include <boost/lexical_cast.hpp>#include "subscription_callback_helper.h"#include "ros/spinner.h"#include <time.h>#include "ros/publisher.h"#include <boost/utility.hpp>#include "ros/service_server.h"#include "ros/subscriber.h"#include "ros/node_handle.h"#include "ros/init.h"#include "XmlRpcValue.h"#include "node_handle.h"#include "ros/names.h"#include "std_msgs/String.h"#include "std_msgs/Int16.h"#include <ostream>#include "ros/message_operations.h"#include "test_roslisp/Foo.h"#include <gtest/gtest.h>
Go to the source code of this file.
Classes | |
| class | ComplexTester |
Functions | |
| void | chatterCallback (const std_msgs::StringConstPtr &msg) |
| void | clientStatusCallback (const std_msgs::Int16ConstPtr &msg) |
| int | main (int argc, char **argv) |
| bool | operator== (const ComplexMessage &c, const ComplexMessage &c2) |
| bool | operator== (const Foo &f, const Foo &f2) |
| bool | operator== (const Bar &b, const Bar &b2) |
| TEST (Roslisp, Service) | |
| TEST (Roslisp, TalkerListener) | |
| TEST (Roslisp, ComplexTalkerListener) | |
Variables | |
| int | num_messages_received = 0 |
| int | service_client_response = 0 |
| int | service_client_status = 0 |
| void chatterCallback | ( | const std_msgs::StringConstPtr & | msg | ) |
The cpp listener, adapted to test roslisp talker+listener
Definition at line 159 of file tester.cpp.
| void clientStatusCallback | ( | const std_msgs::Int16ConstPtr & | msg | ) |
Definition at line 184 of file tester.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 209 of file tester.cpp.
| bool operator== | ( | const ComplexMessage & | c, | |
| const ComplexMessage & | c2 | |||
| ) | [inline] |
Definition at line 57 of file tester.cpp.
| bool operator== | ( | const Foo & | f, | |
| const Foo & | f2 | |||
| ) | [inline] |
Definition at line 51 of file tester.cpp.
| bool operator== | ( | const Bar & | b, | |
| const Bar & | b2 | |||
| ) | [inline] |
Definition at line 46 of file tester.cpp.
| TEST | ( | Roslisp | , | |
| Service | ||||
| ) |
Definition at line 190 of file tester.cpp.
| TEST | ( | Roslisp | , | |
| TalkerListener | ||||
| ) |
Definition at line 165 of file tester.cpp.
| TEST | ( | Roslisp | , | |
| ComplexTalkerListener | ||||
| ) |
Definition at line 137 of file tester.cpp.
| int num_messages_received = 0 |
Definition at line 38 of file tester.cpp.
| int service_client_response = 0 |
Definition at line 40 of file tester.cpp.
| int service_client_status = 0 |
Definition at line 39 of file tester.cpp.