Package Summary
Tags | No category tags. |
Version | 1.3.1 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/rcpputils.git |
VCS Type | git |
VCS Version | foxy |
Last Updated | 2020-11-25 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Chris Lalancette
- Michael Jeronimo
Authors
- Emerson Knapp
rcpputils: ROS 2 C++ Utilities
rcpputils
is a C++ API consisting of macros, functions, and data structures intended for use throughout the ROS 2 codebase
Quality Declaration
This package claims to be in the Quality Level 1 category, see the Quality Declaration for more details.
API
This package currently contains: * Assertion functions * Clang thread safety annotation macros * Library discovery * String helpers * File system helpers * Type traits helpers * Class that dynamically loads, unloads and get symbols from shared libraries at run-time.
Features are described in more detail at docs/FEATURES.md
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | ament_cmake | |
1 | ament_cmake_ros | |
1 | ament_lint_common | |
1 | ament_lint_auto | |
1 | ament_cmake_gtest | |
1 | rcutils |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rcpputils at answers.ros.org
Package Summary
Tags | No category tags. |
Version | 0.1.1 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/rcpputils.git |
VCS Type | git |
VCS Version | dashing |
Last Updated | 2020-10-27 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Chris Lalancette
- Michael Jeronimo
Authors
- Emerson Knapp
rcpputils: ROS 2 C++ Utilities
rcpputils
is a C++ API consisting of macros, functions, and data structures intended for use throughout the ROS 2 codebase
This package currently contains: * Clang thread safety annotation macros
Clang Thread Safety Annotation Macros
the rcpputils/thread_safety_annotations.hpp
header provides macros for Clang's Thread Safety Analysis feature.
The macros allow you to annotate your code, but expand to nothing when using a non-clang compiler, so they are safe for cross-platform use.
To use thread safety annotation in your package (in a Clang+libcxx build), enable the -Wthread-safety
compiler flag.
For example usage, see the documentation of this feature and the tests in test/test_basic.cpp
Changelog for package rcpputils
0.1.1 (2019-07-30)
- Add function \'find_and_replace\' (#13)
- Contributors: Jacob Perron
0.1.0 (2019-04-13)
- Fixed leak in test_basic.cpp. (#9)
- Added CODEOWNERS file. (#10)
- Added commonly-used filesystem helper to utils. (#5)
- Fixed thread_safety_annotation filename to .hpp. (#6)
- Added section about DCO to CONTRIBUTING.md.
- Added thread annotation macros. (#2)
- Contributors: Dirk Thomas, Emerson Knapp, Michael Carroll, Thomas Moulard
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | ament_cmake | |
1 | ament_lint_common | |
1 | ament_lint_auto | |
1 | ament_cmake_gtest |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rcpputils at answers.ros.org
Package Summary
Tags | No category tags. |
Version | 0.2.1 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/rcpputils.git |
VCS Type | git |
VCS Version | eloquent |
Last Updated | 2020-10-30 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Chris Lalancette
- Michael Jeronimo
Authors
- Emerson Knapp
rcpputils: ROS 2 C++ Utilities
rcpputils
is a C++ API consisting of macros, functions, and data structures intended for use throughout the ROS 2 codebase
This package currently contains: * Clang thread safety annotation macros * Library discovery * String helpers * File system helpers * Type traits helpers
Clang Thread Safety Annotation Macros
the rcpputils/thread_safety_annotations.hpp
header provides macros for Clang's Thread Safety Analysis feature.
The macros allow you to annotate your code, but expand to nothing when using a non-clang compiler, so they are safe for cross-platform use.
To use thread safety annotation in your package (in a Clang+libcxx build), enable the -Wthread-safety
compiler flag.
For example usage, see the documentation of this feature and the tests in test/test_basic.cpp
Library Discovery
In rcpputils/find_library.hpp
:
-
find_library(library_name)
: Namely used for dynamically loading RMW implementations.- For dynamically loading user-defind plugins in C++, please use
pluginlib
instead.
- For dynamically loading user-defind plugins in C++, please use
Changelog for package rcpputils
0.2.1 (2019-11-12)
- add new function to remove the extension of a file (#27)
- Contributors: Anas Abou Allaban
0.2.0 (2019-09-24)
- find_library: Centralize functionality here (#25)
- Implement join() (#20)
- Rename test (#21)
- use _WIN32 instead of WIN32 (#24)
- Update README.md and package.xml (#22)
- Fix typo (#23)
- type trait rcpputils::is_pointer<T>` (#19)
- File extension addition for camera calibration parser (#18)
- Add endian helper until C++20 (#16)
- use iterators for split (#14)
- Add function \'find_and_replace\' (#13)
- Contributors: Andreas Klintberg, Dirk Thomas, Jacob Perron, Karsten Knese, Michael Carroll, Michel Hidalgo, Tully Foote
0.1.0 (2019-04-13)
- Fixed leak in test_basic.cpp. (#9)
- Added CODEOWNERS file. (#10)
- Added commonly-used filesystem helper to utils. (#5)
- Fixed thread_safety_annotation filename to .hpp. (#6)
- Added section about DCO to CONTRIBUTING.md.
- Added thread annotation macros. (#2)
- Contributors: Dirk Thomas, Emerson Knapp, Michael Carroll, Thomas Moulard
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | rcutils | |
1 | ament_cmake | |
1 | ament_cmake_ros | |
1 | ament_lint_common | |
1 | ament_lint_auto | |
1 | ament_cmake_gtest |