Skip to content
Snippets Groups Projects
Commit 693114e3 authored by Fabian Paus's avatar Fabian Paus
Browse files

ArViz: Replace use of auto with concrete types

parent 1019204e
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ namespace armarx
// Insert or create the layer
bool found = false;
for (auto& layer : currentState)
for (viz::data::TimestampedLayerUpdate& layer : currentState)
{
if (layer.update.component == update.component
&& layer.update.name == update.name)
......@@ -298,9 +298,9 @@ namespace armarx
std::unique_lock<std::mutex> lock(historyMutex);
for (auto& interaction : interactions)
for (viz::data::InteractionFeedback const& interaction : interactions)
{
for (auto& entry : interactionBuffer)
for (viz::data::InteractionFeedback& entry : interactionBuffer)
{
if (entry.component == interaction.component
&& entry.layer == interaction.layer
......@@ -327,7 +327,7 @@ namespace armarx
}
result.updates.reserve(currentState.size());
for (auto& layer : currentState)
for (viz::data::TimestampedLayerUpdate& layer : currentState)
{
if (layer.revision > revision)
{
......
......@@ -43,8 +43,8 @@ namespace armarx
* clients and provides them for visualizing components such as the
* ArViz gui plugin.
*
* In addition, the ArViz storage can be used to record and restore
* visualization episodes and restore.
* In addition, the ArViz storage can be used to record and replay
* visualization episodes.
*
*
* @class ArVizStorage
......
......@@ -218,7 +218,7 @@ namespace armarx::viz::coin
node->removeAllChildren();
auto& object = *loaded.object;
VirtualRobot::ManipulationObject& object = *loaded.object;
SoSeparator* nodeSep = new SoSeparator;
......@@ -228,7 +228,7 @@ namespace armarx::viz::coin
nodeMat->setOverride(false);
nodeSep->addChild(nodeMat);
auto nodeVisu = object.getVisualization<VirtualRobot::CoinVisualization>(visuType);
VirtualRobot::CoinVisualizationPtr nodeVisu = object.getVisualization<VirtualRobot::CoinVisualization>(visuType);
if (nodeVisu)
{
SoNode* sepRobNode = nodeVisu->getCoinVisualization();
......
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