◆ get_identifier_topic()
std::string TopicsConfig::get_identifier_topic |
( |
uint8_t |
identifier | ) |
|
|
static |
Get identifier's topic from configuration.
This function returns the topic associated to an identifier if it exists, otherwise returns an empty string.
- Returns
- The identifier topic
◆ get_topic_identifier()
uint8_t TopicsConfig::get_topic_identifier |
( |
std::string |
name | ) |
|
|
static |
Get topic's identifier from configuration.
This function returns the identifier associated to a topic if it exists, otherwise returns zero.
- Returns
- The topic identifier
◆ load_configuration()
void TopicsConfig::load_configuration |
( |
| ) |
|
|
static |
Initialize the configuration.
This function reads the configuration file from ./ros_allowed_topics.conf. If not present, a warning will be displayed.
The documentation for this class was generated from the following files: