rcpputils package from rcpputils repo

rcpputils

Package Summary

Tags No category tags.
Version 0.1.0
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 2019-05-08
Dev Status DEVELOPED
Released RELEASED

Package Description

Package containing utility code for C++. Currently only Clang thread safety annotation macros

Additional Links

No additional links.

Maintainers

  • Emerson Knapp

Authors

No additional authors.

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

Changelog for package rcpputils

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

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rcpputils at answers.ros.org