rmw_fastrtps_shared_cpp
master
Code shared on static and dynamic type support of rmw_fastrtps_cpp.
|
Go to the source code of this file.
Functions | |
std::string | _resolve_prefix (const std::string &name, const std::string &prefix) |
Returns name stripped of prefix if exists, if not return "". More... | |
std::string | _get_ros_prefix_if_exists (const std::string &topic_name) |
Return the ROS specific prefix if it exists, otherwise "". More... | |
std::string | _strip_ros_prefix_if_exists (const std::string &topic_name) |
Returns the topic name stripped of and ROS specific prefix if exists. More... | |
const std::vector< std::string > & | _get_all_ros_prefixes () |
Returns the list of ros prefixes. More... | |
Variables | |
const char *const | ros_topic_prefix |
const char *const | ros_service_requester_prefix |
const char *const | ros_service_response_prefix |
const std::vector< std::string > | _ros_prefixes |
std::string _resolve_prefix | ( | const std::string & | name, |
const std::string & | prefix | ||
) |
Returns name
stripped of prefix
if exists, if not return "".
[in] | name | string that will be stripped from prefix |
[in] | prefix | prefix to be stripped |
std::string _get_ros_prefix_if_exists | ( | const std::string & | topic_name | ) |
Return the ROS specific prefix if it exists, otherwise "".
std::string _strip_ros_prefix_if_exists | ( | const std::string & | topic_name | ) |
Returns the topic name stripped of and ROS specific prefix if exists.
const std::vector<std::string>& _get_all_ros_prefixes | ( | ) |
Returns the list of ros prefixes.
const char* const ros_topic_prefix |
const char* const ros_service_requester_prefix |
const char* const ros_service_response_prefix |
const std::vector<std::string> _ros_prefixes |