Skip to content
Snippets Groups Projects
Commit 9c2eed48 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Update usages of simox::(alg::)get_keys

parent 51e71069
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ namespace armarx
Ice::StringSeq ObjectPoseObserver::getAvailableProviderNames(const Ice::Current&)
{
std::scoped_lock lock(dataMutex);
return simox::get_keys(providers);
return simox::alg::get_keys(providers);
}
objpose::ProviderInfo ObjectPoseObserver::getProviderInfo(const std::string& providerName, const Ice::Current&)
......
......@@ -135,7 +135,7 @@ namespace armarx::armem
std::vector<Time> Entity::getTimestamps() const
{
return simox::get_keys(history);
return simox::alg::get_keys(history);
}
......
......@@ -187,7 +187,7 @@ BOOST_AUTO_TEST_CASE(test_entity_TimeRange_slice)
BOOST_CHECK_EQUAL(result->history.size(), 2);
std::vector<armem::Time> times = simox::get_keys(result->history);
std::vector<armem::Time> times = simox::alg::get_keys(result->history);
std::vector<armem::Time> expected
{
armem::Time::microSeconds(2000), armem::Time::microSeconds(3000)
......@@ -208,7 +208,7 @@ BOOST_AUTO_TEST_CASE(test_entity_TimeRange_exact)
BOOST_CHECK_EQUAL(result->history.size(), 3);
std::vector<armem::Time> times = simox::get_keys(result->history);
std::vector<armem::Time> times = simox::alg::get_keys(result->history);
std::vector<armem::Time> expected
{
armem::Time::microSeconds(2000), armem::Time::microSeconds(3000), armem::Time::microSeconds(4000)
......@@ -229,8 +229,8 @@ BOOST_AUTO_TEST_CASE(test_entity_TimeRange_all)
BOOST_CHECK_EQUAL(result->history.size(), entity->history.size());
std::vector<armem::Time> times = simox::get_keys(result->history);
std::vector<armem::Time> expected = simox::get_keys(entity->history);
std::vector<armem::Time> times = simox::alg::get_keys(result->history);
std::vector<armem::Time> expected = simox::alg::get_keys(entity->history);
BOOST_CHECK_EQUAL_COLLECTIONS(times.begin(), times.end(), expected.begin(), expected.end());
}
}
......@@ -262,7 +262,7 @@ BOOST_AUTO_TEST_CASE(test_entity_TimeRange_from_start)
BOOST_CHECK_EQUAL(result->history.size(), 2);
std::vector<armem::Time> times = simox::get_keys(result->history);
std::vector<armem::Time> times = simox::alg::get_keys(result->history);
std::vector<armem::Time> expected
{
armem::Time::microSeconds(1000), armem::Time::microSeconds(2000)
......@@ -283,7 +283,7 @@ BOOST_AUTO_TEST_CASE(test_entity_TimeRange_to_end)
BOOST_CHECK_EQUAL(result->history.size(), 3);
std::vector<armem::Time> times = simox::get_keys(result->history);
std::vector<armem::Time> times = simox::alg::get_keys(result->history);
std::vector<armem::Time> expected
{
armem::Time::microSeconds(3000), armem::Time::microSeconds(4000), armem::Time::microSeconds(5000)
......@@ -332,8 +332,8 @@ BOOST_AUTO_TEST_CASE(test_entity_IndexRange_all_default)
BOOST_CHECK_EQUAL(result->history.size(), entity->history.size());
std::vector<armem::Time> times = simox::get_keys(result->history);
std::vector<armem::Time> expected = simox::get_keys(entity->history);
std::vector<armem::Time> times = simox::alg::get_keys(result->history);
std::vector<armem::Time> expected = simox::alg::get_keys(entity->history);
BOOST_CHECK_EQUAL_COLLECTIONS(times.begin(), times.end(), expected.begin(), expected.end());
}
......@@ -355,7 +355,7 @@ BOOST_AUTO_TEST_CASE(test_entity_IndexRange_slice)
BOOST_CHECK_EQUAL(result->history.size(), 3);
std::vector<armem::Time> times = simox::get_keys(result->history);
std::vector<armem::Time> times = simox::alg::get_keys(result->history);
std::vector<armem::Time> expected
{
armem::Time::microSeconds(2000), armem::Time::microSeconds(3000), armem::Time::microSeconds(4000)
......
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