CARLA
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
MiddlewareConfig.h File Reference
#include <cstdlib>

Go to the source code of this file.

Classes

struct  carla::ros2::MiddlewareConfig::Data
 
class  carla::ros2::MiddlewareConfig
 Process-wide runtime configuration shared by every ROS 2 middleware implementation (FastDDS, CycloneDDS, and future ones such as Zenoh). More...
 
struct  carla::ros2::ResolvedDomainId
 The resolved domain id together with the source it came from. More...
 

Namespaces

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
 
namespace  carla::ros2
 

Enumerations

enum class  carla::ros2::DomainIdSource { carla::ros2::CommandLine , carla::ros2::Environment , carla::ros2::Default }
 Where the effective domain id came from, in priority order. More...
 

Functions

bool carla::ros2::IsValidDomainId (int id)
 
ResolvedDomainId carla::ros2::ResolveDomainId (int cli_value, const char *env_value)
 Resolve the effective domain id from a command line value and an environment value, in priority order:
 
bool carla::ros2::TryParseDomainId (const char *text, int &out)
 Parse a ROS_DOMAIN_ID-style string into a valid domain id.
 

Variables

constexpr int carla::ros2::kDefaultDomainId = 0
 Domain id used when neither the command line nor the environment provides one.
 
constexpr int carla::ros2::kMaxDomainId = 232
 Highest valid ROS 2 domain id (RTPS maximum).
 
constexpr int carla::ros2::kMinDomainId = 0
 Lowest valid ROS 2 domain id.
 
constexpr char carla::ros2::kRosDomainIdEnvVar [] = "ROS_DOMAIN_ID"
 Name of the standard ROS 2 environment variable that selects the domain id.
 
constexpr int carla::ros2::kUnsetDomainId = -1
 Sentinel domain id meaning "no domain id was configured on the command line"; each middleware falls back to its own native default.