diff --git a/docs/cpp_API/ActionClient.html b/docs/cpp_API/ActionClient.html index 038bbfb..8f813b4 100644 --- a/docs/cpp_API/ActionClient.html +++ b/docs/cpp_API/ActionClient.html @@ -186,7 +186,7 @@

Detailed Description

The ActionClient class provides an abstraction of mementar actions ROS service.

The mementar actions service allows the exploration of actions contained by mementar core.

This class is based on ClientBase and so ensure a persistent connection - with ontologenius/class service. The persistent connection ensures a minimal response time. A reconnection + with mementar/actions service. The persistent connection ensures a minimal response time. A reconnection logic is implemented in the event that the persistent connection fails.

diff --git a/docs/cpp_API/FactClient.html b/docs/cpp_API/FactClient.html index 215f718..db2676b 100644 --- a/docs/cpp_API/FactClient.html +++ b/docs/cpp_API/FactClient.html @@ -163,7 +163,7 @@

Detailed Description

The FactClient class provides an abstraction of mementar facts ROS service.

The mementar facts service allows the exploration of facts contained by mementar core.

This class is based on ClientBase and so ensure a persistent connection - with ontologenius/class service. The persistent connection ensures a minimal response time. A reconnection + with mementar/facts service. The persistent connection ensures a minimal response time. A reconnection logic is implemented in the event that the persistent connection fails.

diff --git a/docs/cpp_API/InstanceManagerClient.html b/docs/cpp_API/InstanceManagerClient.html index 89f2617..bb7f148 100644 --- a/docs/cpp_API/InstanceManagerClient.html +++ b/docs/cpp_API/InstanceManagerClient.html @@ -125,6 +125,10 @@

Public Functions

std::string& name) + + bool + reset() + bool save(const @@ -147,7 +151,7 @@

Detailed Description

The InstanceManagerClient class provides an abstraction of mementar instance management ROS service.

The mementar instance management service allows the management of one specific mementar instance.

This class is based on ClientBase and so ensure a persistent connection - with ontologenius/class service. The persistent connection ensures a minimal response time. A reconnection + with mementar service. The persistent connection ensures a minimal response time. A reconnection logic is implemented in the event that the persistent connection fails.

@@ -162,6 +166,11 @@

In name should be defined as "".

+

bool InstanceManagerClient::reset() +

+

Resets completly the timeline.

+

bool InstanceManagerClient::save(const std::string& path)

diff --git a/include/mementar/API/mementar/clients/InstanceManagerClient.h b/include/mementar/API/mementar/clients/InstanceManagerClient.h index bddf6c6..5bb6e2a 100644 --- a/include/mementar/API/mementar/clients/InstanceManagerClient.h +++ b/include/mementar/API/mementar/clients/InstanceManagerClient.h @@ -9,6 +9,7 @@ namespace mementar { public: explicit InstanceManagerClient(const std::string& name) : ClientBase(name.empty() ? "manage_instance" : "manage_instance/" + name) {} + bool reset(); bool save(const std::string& name); bool draw(const std::string& name); diff --git a/src/API/mementar/clients/InstanceManagerClient.cpp b/src/API/mementar/clients/InstanceManagerClient.cpp index ed4d826..ff8571b 100644 --- a/src/API/mementar/clients/InstanceManagerClient.cpp +++ b/src/API/mementar/clients/InstanceManagerClient.cpp @@ -3,6 +3,12 @@ #include namespace mementar { + + bool InstanceManagerClient::reset() + { + return callBool("reset", ""); + } + bool InstanceManagerClient::save(const std::string& name) { return callBool("save", name); @@ -12,4 +18,5 @@ namespace mementar { { return callBool("draw", name); } + } // namespace mementar