29 if (not properties->hasDefinition(PROPERTY_NAME))
31 properties->defineOptionalProperty<std::string>(
32 PROPERTY_NAME,
"navigator",
"Name of the Navigator");
40 parent<armarx::Component>().usingProxyFromProperty(PROPERTY_NAME);
47 parent<armarx::Component>().getProxyFromProperty(navigatorPrx, PROPERTY_NAME);
58 const std::string& configId)
64 eventHandler = [&]() -> std::unique_ptr<SimpleEventHandler>
67 if (parentDerives<armarx::armem::client::plugins::ListeningPluginUser>())
72 auto& memoryNameSystem =
73 parent<armarx::armem::client::plugins::ListeningPluginUser>()
75 return std::make_unique<MemorySubscriber>(configId, memoryNameSystem);
79 <<
"Cannot use memory event callbacks as this component is not derived from "
80 "`armarx::armem::client::plugins::ListeningPluginUser`";
82 return std::make_unique<SimpleEventHandler>();
88 .
navigator = &iceNavigator, .subscriber = eventHandler.get()});
110 <<
"You need to call `configureNavigator()` before you can access the navigator!";