Commit graph

386 commits

Author SHA1 Message Date
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
39c663ea64 Merge pull request #153 from ros2/cancel
Implement Executor::cancel
2015-11-17 15:33:07 -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
Jackie Kay
eb3a793eb7 Merge pull request #155 from ros2/cancel_wjwwood
refactor executor::cancel to use a spinning state
2015-11-13 09:28:26 -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
fabea6b4b6 Merge pull request #151 from ros2/qos_services
Expose QoS profile in create_service and create_client
2015-11-12 09:38:18 -08:00
Jackie Kay
2b8d38d012 Expose QoS profile in create_service and create_client 2015-11-11 18:41:09 -08:00
Jackie Kay
24f9df6102 Merge pull request #149 from ros2/executor_spin_future
Add spin_once and spin_until_future_complete to Executor
2015-11-06 16:21: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
e42d7d7044 Merge pull request #148 from ros2/cpplint
Fix cpplint warnings
2015-11-06 10:12:46 -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
361faf650d Merge pull request #146 from ros2/fix_timer
Change behavior of timer on construction
2015-11-06 09:29:06 -08:00
Jackie Kay
dcd5117f89 Change timer beginning behavior 2015-11-06 09:28:10 -08:00
William Woodall
ca64af3145 Merge pull request #140 from ros2/rclcpp_library
Make rclcpp in to a library
2015-11-05 21:01:13 -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
91e78406ce Merge pull request #145 from ros2/fix_warning
fix warning about ignored return value
2015-11-03 16:00:35 -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
2320765ee3 Merge pull request #143 from ros2/support-lambdas
Remove reference so that lambdas are supported
2015-11-03 12:00:36 -08:00
Esteve Fernandez
69662b58b3 Remove reference so that lambdas are supported 2015-11-03 11:41:45 -08:00
Esteve Fernandez
973e38301d Merge pull request #142 from ros2/pass-vector-references
Pass const references to parameters client API
2015-11-02 12:20:53 -08:00
Esteve Fernandez
421f6b8b5e Pass const references to parameters client API 2015-11-02 11:04:47 -08:00
Jackie Kay
010fa3d078 Merge pull request #137 from ros2/allocator_template
Allocator template for publish/subscribe pipeline
2015-10-29 17:14:58 -07: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