28 if (not properties->hasDefinition(PROPERTY_NAME))
30 properties->defineOptionalProperty<std::string>(
31 PROPERTY_NAME,
"navigator",
"Name of the Navigator");
39 parent<armarx::Component>().usingProxyFromProperty(PROPERTY_NAME);
46 parent<armarx::Component>().getProxyFromProperty(navigatorPrx, PROPERTY_NAME);
57 const std::string& configId)
63 eventHandler = [&]() -> std::unique_ptr<SimpleEventHandler>
66 if (parentDerives<armarx::armem::client::plugins::ListeningPluginUser>())
71 auto& memoryNameSystem =
72 parent<armarx::armem::client::plugins::ListeningPluginUser>()
74 return std::make_unique<MemorySubscriber>(configId, memoryNameSystem);
78 <<
"Cannot use memory event callbacks as this component is not derived from "
79 "`armarx::armem::client::plugins::ListeningPluginUser`";
81 return std::make_unique<SimpleEventHandler>();
87 .
navigator = &iceNavigator, .subscriber = eventHandler.get()});
109 <<
"You need to call `configureNavigator()` before you can access the navigator!";