1.11. Set entity alias¶

Even though the Fast DDS Statistics Backend provides a name for each entity, this default name can be lengthy and not really self-explanatory and user-friendly. Therefore, set_alias() allows the user to apply any alias to the desired entity so it can be easily identified. If the entity provided does not exist set_alias() throws BadParameter.

StatisticsBackend::set_alias(entity_id, "my_alias");