Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennard Hofmann
RobotAPI
Commits
2bffd0d3
Commit
2bffd0d3
authored
3 years ago
by
Fabian Reister
Browse files
Options
Downloads
Patches
Plain Diff
updated class description. thanks, @RainerKartmann
parent
1a3f9651
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/RobotAPI/components/ArViz/Client/ScopedClient.h
+9
-1
9 additions, 1 deletion
source/RobotAPI/components/ArViz/Client/ScopedClient.h
with
9 additions
and
1 deletion
source/RobotAPI/components/ArViz/Client/ScopedClient.h
+
9
−
1
View file @
2bffd0d3
...
...
@@ -26,7 +26,15 @@
namespace
armarx
::
viz
{
/**
* @brief viz::Client that will cleanup layers when destroyed.
* @brief `viz::Client` that will delete (clear) committed layers when destroyed.
*
* Note that, as a consequence, a network call be performed in the destructor.
*
* This might be useful if you have a class `MyTask` perform visualizing while performing some task,
* but whose visualization should be removed when the task finished.
* In this case, `MyTask` can have a `viz::ScopedClient` (which can be created from a regular `viz::Client`).
* When destructing the instance of `MyTask`, all visualization done by `MyTask` will be cleared
* (as `viz::ScopedClient` will go out of scope as well).
*
*/
class
ScopedClient
:
virtual
public
Client
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment