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
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Commits
1c4921cb
Commit
1c4921cb
authored
1 year ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Move function implementation to cpp, add assertion messages
parent
5870d7cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/RobotAPI/components/ArViz/Client/Client.cpp
+8
-1
8 additions, 1 deletion
source/RobotAPI/components/ArViz/Client/Client.cpp
source/RobotAPI/components/ArViz/Client/Client.h
+1
-6
1 addition, 6 deletions
source/RobotAPI/components/ArViz/Client/Client.h
with
9 additions
and
7 deletions
source/RobotAPI/components/ArViz/Client/Client.cpp
+
8
−
1
View file @
1c4921cb
...
...
@@ -28,7 +28,7 @@ Client::Client(ManagedIceObject& obj,
std
::
string
const
&
storageName
)
{
componentName
=
obj
.
getName
();
ARMARX_CHECK_NOT_EMPTY
(
componentName
);
ARMARX_CHECK_NOT_EMPTY
(
componentName
)
<<
"ArViz client must be created with non-empty component name."
;
obj
.
getTopic
(
topic
,
topicName
);
obj
.
getProxy
(
storage
,
storageName
);
}
...
...
@@ -70,6 +70,13 @@ Client Client::createForGuiPlugin(Component& component,
return
client
;
}
Layer
Client
::
layer
(
const
std
::
string
&
name
)
const
{
ARMARX_CHECK_NOT_EMPTY
(
componentName
)
<<
"Layers must be created with non-empty component name."
;
ARMARX_CHECK_NOT_EMPTY
(
name
)
<<
"Layers must be created with non-empty layer name."
;
return
Layer
(
componentName
,
name
);
}
CommitResult
Client
::
commit
(
const
StagedCommit
&
commit
)
{
CommitResult
result
;
...
...
This diff is collapsed.
Click to expand it.
source/RobotAPI/components/ArViz/Client/Client.h
+
1
−
6
View file @
1c4921cb
...
...
@@ -130,12 +130,7 @@ namespace viz
std
::
string
const
&
topicName
=
"ArVizTopic"
,
std
::
string
const
&
storageName
=
"ArVizStorage"
);
Layer
layer
(
std
::
string
const
&
name
)
const
{
ARMARX_CHECK_NOT_EMPTY
(
componentName
);
ARMARX_CHECK_NOT_EMPTY
(
name
);
return
Layer
(
componentName
,
name
);
}
Layer
layer
(
std
::
string
const
&
name
)
const
;
StagedCommit
stage
()
{
...
...
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