Commit graph

628 commits

Author SHA1 Message Date
Esteve Fernandez
c878e966e3 Merge pull request #188 from ros2/move_callback_timer
Use move semantics to store callback and perfect forwarding to pass it down to GenericTimer
2015-12-17 15:59:23 -08:00
Esteve Fernandez
38e0911b8e Use move semantics to store callback and perfect forwarding to pass it down to GenericTimer 2015-12-17 15:21:11 -08:00
Jackie Kay
16da43e1f0 Avoid reinitializing allocator 2015-12-17 11:21:52 -08:00
Tully Foote
7422cda6c6 remove excess sleep identified in #169 2015-12-17 11:07:00 -08:00
Jackie Kay
bcbdd00212 Merge pull request #169 from ros2/multithreaded_idle_thread
Get rid of idle thread in MultiThreadedExecutor
2015-12-17 10:32:37 -08:00
Jackie Kay
dd1f38b4c8 Get rid of idle thread in MultiThreadedExecutor 2015-12-17 10:32:15 -08:00
Esteve Fernandez
8abdf6f670 Merge pull request #184 from ros2/std_bind_function_traits_free_functions
Added support for free functions and std::bind
2015-12-16 17:13:54 -08:00
Esteve Fernandez
1577ab2992 Added support for free functions and std::bind 2015-12-16 11:10:09 -08:00
Esteve Fernandez
534ae69ed5 Merge pull request #183 from ros2/std_bind_function_traits
Added support for std::bind (redux)
2015-12-15 17:32:29 -08:00
Tully Foote
4f9f152ce8 Merge pull request #178 from ros2/inline_helper_functions
inline helper functions in rclcpp.hpp to avoid multiple definitions
2015-12-15 17:23:05 -08:00
Esteve Fernandez
b22fca5780 Add support for std::bind 2015-12-15 17:19:25 -08:00
William Woodall
51a14baae2 Merge pull request #177 from ros2/remove_old_files
remove vestigial file and cmake logic
2015-12-14 00:45:45 -08:00
Tully Foote
6fd373d274 inline helper functions in rclcpp.hpp to avoid multiple definitions 2015-12-13 23:25:03 -08:00
William Woodall
46d18d5627 remove vestigial file and cmake logic 2015-12-12 18:02:49 -08:00
Dirk Thomas
9cd129c70f Merge pull request #172 from ros2/refactor_typesupport
refactor typesupport
2015-12-12 00:12:55 -08:00
Dirk Thomas
e38ac73c69 refactor typesupport 2015-12-11 15:09:09 -08:00
Jackie Kay
3688bb3215 Merge pull request #171 from ros2/add_additional_mutex
Lock mapped_ring_buffer
2015-12-10 13:55:09 -08:00
Jackie Kay
4f929bd257 Lock mapped_ring_buffer 2015-12-10 13:54:30 -08:00
Jackie Kay
c2554d61bc Merge pull request #170 from ros2/remove_extraneous_mutex
Remove extraneous mutex
2015-12-07 17:36:57 -08:00
Jackie Kay
6d2f8ae634 Remove mutex in publisher 2015-12-07 17:35:51 -08:00
Esteve Fernandez
67dcd9fe49 Merge pull request #168 from ros2/avoid_compiler_warning
Avoid unused return value warning
2015-12-04 12:27:24 -08:00
Esteve Fernandez
f0fd292ccb Avoid unused return value warning 2015-12-04 11:09:11 -08:00
Dirk Thomas
13d36a1bde Merge pull request #167 from ros2/fix_windows_context
Add RCLCPP_PUBLIC to Context constructor
2015-12-03 12:18:41 -08:00
Jackie Kay
74002333e6 Add RCLCPP_PUBLIC to Context constructor 2015-12-03 11:58:17 -08:00
Jackie Kay
f73ebcb8d7 Merge pull request #165 from ros2/intra_process_lock
Make intra-process manager thread safe, rename IPMState to IPMImpl
2015-12-03 09:34:06 -08:00
Jackie Kay
67151def41 Finish renaming, add mutex to store and take 2015-12-03 09:33:11 -08:00
Jackie Kay
7fdbc4a89a Rename intra_process_manager_state to intra_process_manager_impl 2015-12-01 11:57:13 -08:00
Jackie Kay
f5e5acd06e Merge pull request #163 from ros2/export_scope_exit
Move scope exit to include folder
2015-11-30 15:42:43 -08:00
Jackie Kay
741d701350 rename include 2015-11-30 15:40:41 -08:00
Jackie Kay
bfa5f2cdcb Move scope_exit 2015-11-30 15:40:37 -08:00
Dirk Thomas
7f35c72064 Merge pull request #162 from ros2/plain_shared_ptr
use std::shared_ptr type directly instead of using message specific type
2015-11-24 17:32:49 -08:00
Dirk Thomas
dbd2f6ac6a use std::shared_ptr type directly instead of using message specific type 2015-11-24 17:07:38 -08:00
Esteve Fernandez
12859aca2c Merge pull request #161 from ros2/fix_import_symbols
Fix cpplint and windows build
2015-11-24 10:30:19 -08:00
Jackie Kay
481d58bb6e Fix cpplint and windows build 2015-11-24 10:04:26 -08:00
Jackie Kay
2f6fc44d43 Merge pull request #159 from ros2/finite_timer
Add alternative callback signature to timer for accepting a Timer reference
2015-11-23 16:31:17 -08:00
Esteve Fernandez
82d895c749 Merge pull request #160 from ros2/function-traits-return-type
Added support for deducing the return type of a functor
2015-11-23 15:02:22 -08:00
Jackie Kay
3a5bbffc65 Implement multiple callback signatures for timer 2015-11-23 14:57:17 -08:00
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
6e596336df Merge pull request #158 from ros2/redundant_allocator_constructions
Remove redundant vector initializations in allocator_memory_strategy
2015-11-19 10:52:51 -08:00
Jackie Kay
ff9b492041 remove redundant vector instantiation, replace with erase-remove idiom 2015-11-19 10:51:56 -08:00
Esteve Fernandez
10ce7a3bd6 Merge pull request #157 from ros2/return-request
Added async_send_request_return_request to return the originating request
2015-11-18 18:11:08 -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
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