Skip to content

Commit

Permalink
Change namespacing-specific API visibility.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic committed May 26, 2020
1 parent 2a3c63b commit 5029e4f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,22 @@ RMW_FASTRTPS_SHARED_CPP_PUBLIC extern const std::vector<std::string> _ros_prefix
* \return name stripped of prefix, or
* \return "" if name doesn't start with prefix
*/
RMW_FASTRTPS_SHARED_CPP_PUBLIC
std::string
_resolve_prefix(const std::string & name, const std::string & prefix);

/// Return the ROS specific prefix if it exists, otherwise "".
RMW_FASTRTPS_SHARED_CPP_PUBLIC
std::string
_get_ros_prefix_if_exists(const std::string & topic_name);

/// Returns the topic name stripped of and ROS specific prefix if exists.
RMW_FASTRTPS_SHARED_CPP_PUBLIC
std::string
_strip_ros_prefix_if_exists(const std::string & topic_name);

/// Returns the list of ros prefixes
RMW_FASTRTPS_SHARED_CPP_PUBLIC
const std::vector<std::string> &
_get_all_ros_prefixes();
#endif // RMW_FASTRTPS_SHARED_CPP__NAMESPACE_PREFIX_HPP_

0 comments on commit 5029e4f

Please sign in to comment.