Open 3D Engine ROS2 Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <NamespaceConfiguration.h>
Public Types | |
enum | NamespaceStrategy { NamespaceStrategy::Default, NamespaceStrategy::Empty, NamespaceStrategy::FromEntityName, NamespaceStrategy::Custom } |
Public Member Functions | |
AZ_TYPE_INFO (NamespaceConfiguration,"{5E5BC6EA-DD01-480E-A4D1-6857CF70FDC8}") | |
void | PopulateNamespace (bool isRoot, const AZStd::string &entityName) |
AZStd::string | GetNamespace (const AZStd::string &parentNamespace) const |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Configuration for handling of namespaces. Namespaces are useful for various ROS2 components. This structure encapsulates the namespace itself, composing namespaces and context-dependent default values.
|
strong |
A choice of methods to handle namespaces.
void ROS2::NamespaceConfiguration::PopulateNamespace | ( | bool | isRoot, |
const AZStd::string & | entityName | ||
) |
Set namespace based on context.
isRoot | Whether or not the namespace belongs to top-level entity in the entity hierarchy. |
entityName | Raw (not ros-ified) name of the entity to which the namespace belongs. |