Commit graph

700 commits

Author SHA1 Message Date
Jackie Kay
0e5094693e Remove declaration of friendship for Executor in callback_group, client, node, service, subscription, timer 2015-10-26 17:02:14 -07:00
Esteve Fernandez
f50d8c4525 Merge pull request #135 from ros2/function-traits-cleanup
Clean up function_traits
2015-10-23 16:42:50 -07:00
Esteve Fernandez
808d54c613 Pass weak pointer to callback 2015-10-21 13:12:09 -07:00
Esteve Fernandez
e67f3205d4 Clean up function_traits 2015-10-21 09:48:26 -07:00
Tully Foote
dba12cba94 Merge pull request #91 from ros2/parameter_to_yaml
a method to dump all elements of a parameter as yaml
2015-10-20 16:01:38 -07:00
Esteve Fernandez
12ef054682 Merge pull request #132 from ros2/sfinae-service
Simplify create_service API and encapsulate response dispatching
2015-10-20 10:56:45 -07:00
Esteve Fernandez
01a6741ea7 Removed create_service_internal and delegate SFINAE to AnyServiceCallback. 2015-10-20 10:54:23 -07:00
Esteve Fernandez
e3f095de04 Move message dispatching logic to AnySubscriptionCallback 2015-10-20 10:05:28 -07:00
Esteve Fernandez
c845e9bd45 Made rmw_qos_profile argument optional 2015-10-19 13:45:33 -07:00
Esteve Fernandez
1d5720f964 Merge pull request #131 from ros2/callback-unique-ptr
Unify create_subscription API
2015-10-15 14:35:40 -07:00
Esteve Fernandez
e2ade1f624 More expressive error messages 2015-10-15 13:56:59 -07:00
Esteve Fernandez
3061ec0ad5 Qualify template 2015-10-15 13:40:40 -07:00
Esteve Fernandez
07746c6834 Removed create_subscription_internal 2015-10-15 13:40:40 -07:00
Esteve Fernandez
b0a2b7610d Replaced create_subscription_with_unique_ptr_callback with create_subscription 2015-10-15 13:40:40 -07:00
Esteve Fernandez
d0ebdb239c Added check_argument_types to simplify checking for a functor's arity and the types of its arguments 2015-10-15 13:38:46 -07:00
Jackie Kay
4fa974d96f Change doc block 2015-10-15 09:30:29 -07:00
Jackie Kay
d7ffcc681f reduce redundant memory allocations in default memory strategy 2015-10-15 09:30:21 -07:00
William Woodall
a61e375436 Merge pull request #128 from ros2/create_subscription_with_queue_size
add version of create_subscription which just takes queue size and not a qos profile
2015-10-14 16:13:13 -07:00
William Woodall
09dc78eafa add version of create_subscription which just takes queue size and not a qos profile 2015-10-14 13:53:18 -07:00
William Woodall
bdf2ac80c1 small changes to make the publish const reference api work 2015-10-14 13:29:31 -07:00
William Woodall
c78ff7f422 Merge pull request #125 from ros2/create_publisher_with_queue_size
add create_publisher signature which takes just a queue size
2015-10-14 13:18:19 -07:00
Jackie Kay
a30b9d5539 Add const to do_inter_process_publish 2015-10-14 11:41:24 -07:00
William Woodall
b3a88a9974 add create_publisher signature which takes just a queue size 2015-10-14 11:19:47 -07:00
Jackie Kay
743d9d0e76 add template parameter to publisher 2015-10-14 01:13:10 -07:00
Jackie Kay
581e5213f2 add publish specialization for shared_ptr<const MessageT> 2015-10-13 15:22:03 -07:00
Esteve Fernandez
ea9d3306d7 Update const callbacks 2015-10-13 11:57:05 -07:00
Esteve Fernandez
3294098602 Added comments about the SFINAE voodoo 2015-10-13 11:09:55 -07:00
Esteve Fernandez
c5455beceb Update callback signature 2015-10-13 11:09:55 -07:00
Esteve Fernandez
9f65b9dd59 Added tests for rclcpp::function_traits and work around expression SFINAE 2015-10-13 11:09:55 -07:00
Jackie Kay
00daba2726 add any subscription callback types for const, remove references from unique_ptrs 2015-10-13 11:07:15 -07:00
Jackie Kay
383f7c863c Use variadic macros 2015-10-09 16:33:33 -07:00
Jackie Kay
af9d64106b Add vectors to memory strategy and reserve space 2015-10-07 14:37:35 -07:00
Tully Foote
b2e4b2abae Add functions to dump ParameterVariants and std::vector<ParameterVariant> to json encoded strings. 2015-09-27 23:57:22 -07:00
William Woodall
3eb44ed6a0 remove redundant comparison; simplify logic 2015-09-16 15:51:24 -07:00
Jackie Kay
6f075175d2 Merge pull request #113 from ros2/spin_until_future_complete
Pass timeout to spin_until_future_complete
2015-09-16 09:34:49 -07:00
Jackie Kay
80658c19d7 Pass timeout to spin_until_future_complete 2015-09-15 17:02:52 -07:00
Esteve Fernandez
5f573661b3 Merge pull request #112 from ros2/fix-crash-windows
Remove references to shared pointers
2015-09-15 16:36:18 -07:00
Jackie Kay
70288cab46 Merge pull request #106 from ros2/rt_memory_strategy
StaticMemoryStrategy -> HeapPoolMemoryStrategy, create StackPoolMemoryStrategy
2015-09-15 13:52:28 -07:00
Jackie Kay
9265a198f6 Create StackPoolMemoryStrategy 2015-09-15 13:51:51 -07:00
Jackie Kay
7a69265700 Rename static_memory_strategy.hpp to heap_pool_memory_strategy 2015-09-15 12:20:04 -07:00
Esteve Fernandez
f94cb35e06 Remove references to shared pointers 2015-09-14 12:11:18 -07:00
Jackie Kay
2d840a5f3a Return code for spin_until_future_complete 2015-09-14 10:22:08 -07:00
Dirk Thomas
789c11f89a remove references on smart pointers 2015-08-28 14:02:30 -07:00
Brian Gerkey
1b631754e5 Merge branch 'master' into document_user_fns
Conflicts:
	rclcpp/include/rclcpp/node.hpp
	rclcpp/include/rclcpp/subscription.hpp
2015-08-28 13:50:31 -07:00
William Woodall
51ecd3f386 adding callbacks and publish for unique_ptrs 2015-08-28 12:26:06 -07:00
Dirk Thomas
351eb96e8c declare dependency 2015-08-27 14:07:18 -07:00
Jackie Kay
9f0cda20af Correct doxygen blocks 2015-08-27 10:10:14 -07:00
Jackie Kay
3ef83ec292 uncrustify 2015-08-26 17:37:49 -07:00
Jackie Kay
b0a196ee9f Lots of comments 2015-08-26 17:37:49 -07:00
Jackie Kay
0a72cd7fcb mark up all the functions to document 2015-08-26 17:37:49 -07:00