Skip to content

Extract Executor base class for rclcpp-free coroutine primitives#39

Merged
otamachan merged 1 commit intomainfrom
refactor/executor-base-class
Mar 21, 2026
Merged

Extract Executor base class for rclcpp-free coroutine primitives#39
otamachan merged 1 commit intomainfrom
refactor/executor-base-class

Conversation

@otamachan
Copy link
Owner

Introduce Executor base class with resume() and post() so that Event, Mutex, and Channel depend only on pure C++ headers. Move their implementations out of co_context.hpp into their own headers. CoContext inherits from Executor — existing API unchanged.

Add test_pure_headers that compiles without rclcpp on include path.

Introduce Executor base class with resume() and post() so that
Event, Mutex, and Channel depend only on pure C++ headers.
Move their implementations out of co_context.hpp into their own
headers. CoContext inherits from Executor — existing API unchanged.

Add test_pure_headers that compiles without rclcpp on include path.
@otamachan otamachan force-pushed the refactor/executor-base-class branch from 7515310 to 9516ab5 Compare March 21, 2026 09:54
@otamachan otamachan merged commit 0ac5639 into main Mar 21, 2026
2 checks passed
@otamachan otamachan deleted the refactor/executor-base-class branch March 21, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant