Commit graph

395 commits

Author SHA1 Message Date
Esteve Fernandez
eff6500aca Added support for deducing the return type of a functor 2015-11-23 13:37:43 -08:00
Esteve Fernandez
03697d149a Fix uncrustify warning 2015-11-19 14:00:47 -08:00
Jackie Kay
ff9b492041 remove redundant vector instantiation, replace with erase-remove idiom 2015-11-19 10:51:56 -08:00
Esteve Fernandez
26d52d949e Move function_traits templates to a separate namespace 2015-11-18 18:09:22 -08:00
Esteve Fernandez
e95d3f249d Added async_send_request_return_request to return the originating request 2015-11-18 18:09:20 -08:00
William Woodall
1c9eb0b367 only set scope exit after it was determined that spinning was changed to true 2015-11-17 11:32:58 -08:00
William Woodall
f1e7ea5ca0 remove redundant calls to set spinning false 2015-11-16 17:30:01 -08:00
William Woodall
2b342357d9 use scope exit to ensure spinning is reset 2015-11-16 17:21:26 -08:00
William Woodall
9dce2808ea add implementation of scope exit, aka scope guard 2015-11-16 17:21:18 -08:00
Jackie Kay
c469a8a2e9 Cancel instead of cancels 2015-11-13 10:17:45 -08:00
William Woodall
5bd71c1f80 refactor executor::cancel to use a spinning state 2015-11-12 17:39:10 -08:00
Jackie Kay
0a478e5233 Implement cancel 2015-11-12 16:29:17 -08:00
Jackie Kay
2b8d38d012 Expose QoS profile in create_service and create_client 2015-11-11 18:41:09 -08:00
Jackie Kay
660d762072 Add spin_once and spin_until_future_complete to Executor 2015-11-06 16:20:17 -08:00
Esteve Fernandez
f4a094afc8 Merge pull request #147 from ros2/perfect-forwarding
Pass callbacks as universal references
2015-11-06 12:04:28 -08:00
Esteve Fernandez
39b66fa0b5 Fix cpplint warnings 2015-11-06 10:03:39 -08:00
Esteve Fernandez
8c47f6151b Pass callbacks as universal references 2015-11-06 09:49:31 -08:00
Jackie Kay
dcd5117f89 Change timer beginning behavior 2015-11-06 09:28:10 -08:00
William Woodall
36cd6e3cdd [style] uncrustify 2015-11-05 19:01:14 -08:00
William Woodall
3dd193efbb fixes for Windows 2015-11-05 18:55:53 -08:00
William Woodall
ef89f5a5ab remove unnecessary header 2015-11-05 18:55:52 -08:00
William Woodall
51695d1b24 [style] cpplint/uncrustify 2015-11-05 18:55:52 -08:00
William Woodall
0bbe9b2099 update code after splitting into headers and cpp files 2015-11-05 18:55:52 -08:00
William Woodall
f531b02928 split headers into cpp files 2015-11-05 18:55:51 -08:00
William Woodall
f0faa1fefe prepare splitting headers into cpp files 2015-11-05 18:55:47 -08:00
Jackie Kay
26aab4fceb Merge pull request #144 from ros2/fix_sleep_for_windows
account for spurious wake ups from std::condition_variable::wait_for
2015-11-03 16:39:36 -08:00
Dirk Thomas
4bd359f8f0 fix warning about ignored return value 2015-11-03 14:47:34 -08:00
Jackie Kay
426b77bcd9 fix deleted invocation of copy constructor on Linux 2015-11-03 14:28:28 -08:00
William Woodall
dd6aeb2582 add interrupted bool, to account for spurious wake ups from std::condition_variable::wait_for 2015-11-03 13:40:59 -08:00
Esteve Fernandez
69662b58b3 Remove reference so that lambdas are supported 2015-11-03 11:41:45 -08:00
Esteve Fernandez
421f6b8b5e Pass const references to parameters client API 2015-11-02 11:04:47 -08:00
William Woodall
142c9abbaa Fix windows vector issue 2015-10-29 17:14:25 -07:00
Jackie Kay
24fb204192 Cpplint and cleanup 2015-10-29 17:14:21 -07:00
Jackie Kay
fc48cf5fa2 remove pool memory strategies 2015-10-28 18:04:28 -07:00
Jackie Kay
0e78ea0512 static factory method 2015-10-28 18:04:28 -07:00
Jackie Kay
06818ee78c move a lot to memory strategy 2015-10-28 18:04:25 -07:00
Jackie Kay
c663d892a4 templatize IPM state 2015-10-28 18:04:25 -07:00
Jackie Kay
4138e6be1d Use allocate_shared 2015-10-28 18:04:25 -07:00
Jackie Kay
ea21d9263a rebind allocator in mapped_ring_buffer 2015-10-28 18:04:21 -07:00
Jackie Kay
0cd13608f7 Add allocator memory strategy 2015-10-28 18:04:18 -07:00
Jackie Kay
788be0009d template subscriber, using rebind semantics 2015-10-28 18:04:12 -07:00
Jackie Kay
444e4fdae3 templated stl structures exposed in Node 2015-10-28 18:04:12 -07:00
Jackie Kay
2e68bd5438 publisher template on allocator 2015-10-28 18:03:59 -07:00
Esteve Fernandez
1b2e171261 Replace unsigned long with uint32_t 2015-10-28 14:09:12 -07:00
Jackie Kay
dbe0f9e501 Merge pull request #138 from ros2/remove_friends
Remove declaration of friendship for Executor
2015-10-26 17:02:45 -07:00
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