Skip to content
Snippets Groups Projects
Commit cbb97fac authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

Merge branch 'armem/dev' of https://gitlab.com/ArmarX/RobotAPI into aron/dev

parents 27167cc3 84842f18
No related branches found
No related tags found
2 merge requests!171Periodic merge of armem/dev into master,!151Updates to aron code generation
......@@ -74,6 +74,7 @@ namespace armarx::armem
{
ice.aronType = providerSegment.aronType()->getResult();
}
ARMARX_CHECK(!providerSegment.aronType() || ice.aronType);
toIce(ice.entities, providerSegment.entities());
}
void fromIce(const data::ProviderSegment& ice, wm::ProviderSegment& providerSegment)
......@@ -84,6 +85,7 @@ namespace armarx::armem
{
providerSegment.aronType() = aron::typenavigator::ObjectNavigator::DynamicCastAndCheck(aron::typenavigator::Navigator::FromAronType(ice.aronType));
}
ARMARX_CHECK(!providerSegment.aronType() || ice.aronType);
fromIce(ice.entities, providerSegment.entities());
}
......@@ -95,6 +97,7 @@ namespace armarx::armem
{
ice.aronType = coreSegment.aronType()->getResult();
}
ARMARX_CHECK(!coreSegment.aronType() || ice.aronType);
toIce(ice.providerSegments, coreSegment.providerSegments());
}
void fromIce(const data::CoreSegment& ice, wm::CoreSegment& coreSegment)
......@@ -105,6 +108,7 @@ namespace armarx::armem
{
coreSegment.aronType() = aron::typenavigator::ObjectNavigator::DynamicCastAndCheck(aron::typenavigator::Navigator::FromAronType(ice.aronType));
}
ARMARX_CHECK(!coreSegment.aronType() || ice.aronType);
fromIce(ice.providerSegments, coreSegment.providerSegments());
}
......
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