Skip to content
Snippets Groups Projects
Commit 8abf480f authored by Fabian Reister's avatar Fabian Reister
Browse files

ScopedClient: fixing virtual d'tor issue; need additional c'tor

parent b492a8e8
No related branches found
No related tags found
No related merge requests found
......@@ -15,12 +15,14 @@ namespace armarx::viz
{
public:
Client() = default;
virtual ~Client() = default;
Client(armarx::Component& component, std::string topicNameProperty = "ArVizTopicName")
{
componentName = component.getName();
component.getTopicFromProperty(_topic, topicNameProperty);
}
Client(ManagedIceObject& obj, const std::string& topicName = "ArVizTopic")
{
componentName = obj.getName();
......
......@@ -24,6 +24,7 @@
namespace armarx::viz
{
ScopedClient::ScopedClient(const Client& client): Client(client) {}
Layer ScopedClient::layer(std::string const& name) const
{
......
......@@ -41,6 +41,7 @@ namespace armarx::viz
{
public:
using Client::Client;
ScopedClient(const Client& client);
Layer layer(std::string const& name) const override;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment