RMW desert 1.0
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions | Variables
demangle.h File Reference

Functions used to demangle topic names during discovery operations. More...

#include "CBorStream.h"
Include dependency graph for demangle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Discovery
 Namespace containing discovery functions.
 

Typedefs

using Discovery::DemangleFunction = std::string(*)(const std::string &)
 

Functions

char * Discovery::integer_to_string (int x)
 
std::string Discovery::resolve_prefix (const std::string &name, const std::string &prefix)
 Resolve a prefix.
 
std::string Discovery::demangle_publisher_from_topic (const std::string &topic_name)
 Demangle a publisher.
 
std::string Discovery::demangle_subscriber_from_topic (const std::string &topic_name)
 Demangle a subscriber.
 
std::string Discovery::demangle_topic (const std::string &topic_name)
 Demangle a topic.
 
std::string Discovery::demangle_service_request_from_topic (const std::string &topic_name)
 Demangle a service request.
 
std::string Discovery::demangle_service_reply_from_topic (const std::string &topic_name)
 Demangle a service reply.
 
std::string Discovery::demangle_service_from_topic (const std::string &topic_name)
 Demangle a service.
 
std::string Discovery::identity_demangle (const std::string &name)
 No demangle.
 

Variables

const char *const Discovery::ros_topic_publisher_prefix = integer_to_string(PUBLISHER_TYPE)
 
const char *const Discovery::ros_topic_subscriber_prefix = integer_to_string(SUBSCRIBER_TYPE)
 
const char *const Discovery::ros_service_requester_prefix = integer_to_string(CLIENT_TYPE)
 
const char *const Discovery::ros_service_response_prefix = integer_to_string(SERVICE_TYPE)
 

Detailed Description

Functions used to demangle topic names during discovery operations.

Demangle functions allows to extract topic names and type names of each entity stored in the common context implementation. Since in this object the informations are divided in writers and readers, they must be converted in publishers, subscribers, clients and services.

Author
Prof. Davide Costa