diff --git a/source/RobotAPI/components/ArViz/Client/Client.h b/source/RobotAPI/components/ArViz/Client/Client.h index 7d81b2d422458edf436b05648c8c443acd7c449a..810874468133e3cd0e2888a594c1c97f87ca7765 100644 --- a/source/RobotAPI/components/ArViz/Client/Client.h +++ b/source/RobotAPI/components/ArViz/Client/Client.h @@ -22,6 +22,11 @@ namespace armarx::viz topic = component.getTopicFromProperty<decltype(topic)>(topicNameProperty); } + Client(ManagedIceObject& obj, const std::string& topicName = "ArVizTopic") + { + componentName = obj.getName(); + obj.getTopic(topic, topicName); + } static Client createFromTopic(const std::string arvizNamespace, armarx::viz::Topic::ProxyType topic) {