armarx::armem::client Namespace Reference

This file is part of ArmarX. More...

Namespaces

namespace  plugins
 This file is part of ArmarX.
 
namespace  query
 
namespace  query_fns
 
namespace  robot_state
 
namespace  util
 

Classes

class  Configurator
 Configure a memory server. More...
 
class  Loader
 Load LTMs into WM. More...
 
class  MemoryNameSystem
 The memory name system (MNS) client. More...
 
class  ProprioceptionStressTest
 Debug component for stress-testing the Proprioception segment of RobotStateMemory with high-frequency read and write operations. More...
 
struct  QueryInput
 A query for parts of a memory. More...
 
struct  QueryResult
 Result of a QueryInput. More...
 
class  Reader
 Reads data from a memory server. More...
 
class  ReadStream
 A stream reading entity snapshots from the memory. More...
 
class  Writer
 Helps a memory client sending data to a memory. More...
 

Typedefs

using ComponentPluginUser = plugins::ListeningPluginUser
 
using ListeningPluginUser = plugins::ListeningPluginUser
 
using PluginUser = plugins::PluginUser
 
using QueryBuilder = query::Builder
 

Functions

std::optional< Configurator > configuratorFactory (const mns::dto::MemoryServerInterfaces &server)
 
std::optional< std::pair< MemoryID, aron::data::VariantPtr > > findDataForLink (const aron::data::VariantPtr &linkData, const aron::type::VariantPtr &linkType, armem::client::MemoryNameSystem &mns)
 Get the MemoryID and data required to fill in the given MemoryLink.
 
void fromIce (const armem::query::data::Input &ice, QueryInput &input)
 
void fromIce (const armem::query::data::Result &ice, QueryResult &result)
 
template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT>
void fromIce (const std::map< IceKeyT, IceValueT > &iceMap, boost::container::flat_map< CppKeyT, CppValueT > &cppMap)
 
std::optional< Loader > loaderFactory (const mns::dto::MemoryServerInterfaces &server)
 
std::ostream & operator<< (std::ostream &os, const QueryResult &rhs)
 
std::optional< Reader > readerFactory (const mns::dto::MemoryServerInterfaces &server)
 
void toIce (armem::query::data::Input &ice, const QueryInput &input)
 
void toIce (armem::query::data::Result &ice, const QueryResult &result)
 
template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT>
void toIce (std::map< IceKeyT, IceValueT > &iceMap, const boost::container::flat_map< CppKeyT, CppValueT > &cppMap)
 
std::optional< Writer > writerFactory (const mns::dto::MemoryServerInterfaces &server)
 

Detailed Description

This file is part of ArmarX.

ArmarX is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

ArmarX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author
Fabian Reister ( fabian dot reister at kit dot edu )
Date
2022

ArmarX is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

ArmarX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author
Fabian Reister ( fabian dot reister at kit dot edu )
Date
2024

Typedef Documentation

◆ ComponentPluginUser

◆ ListeningPluginUser

◆ PluginUser

◆ QueryBuilder

Function Documentation

◆ configuratorFactory()

std::optional< Configurator > configuratorFactory ( const mns::dto::MemoryServerInterfaces & server)

◆ findDataForLink()

std::optional< std::pair< MemoryID, aron::data::VariantPtr > > findDataForLink ( const aron::data::VariantPtr & linkData,
const aron::type::VariantPtr & linkType,
armem::client::MemoryNameSystem & mns )

Get the MemoryID and data required to fill in the given MemoryLink.

Returns nothing if the data could not be retrieved or its type does not match the MemoryLink's template type.

Parameters
linkDatathe data object of the MemoryLink
linkTypethe type object of the MemoryLink
Returns
a pair of memoryID and data to fill in a MemoryLink, or nothing if not available

◆ fromIce() [1/3]

void fromIce ( const armem::query::data::Input & ice,
QueryInput & input )

◆ fromIce() [2/3]

void fromIce ( const armem::query::data::Result & ice,
QueryResult & result )

◆ fromIce() [3/3]

template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT>
void fromIce ( const std::map< IceKeyT, IceValueT > & iceMap,
boost::container::flat_map< CppKeyT, CppValueT > & cppMap )

◆ loaderFactory()

std::optional< Loader > loaderFactory ( const mns::dto::MemoryServerInterfaces & server)

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const QueryResult & rhs )

◆ readerFactory()

std::optional< Reader > readerFactory ( const mns::dto::MemoryServerInterfaces & server)

◆ toIce() [1/3]

void toIce ( armem::query::data::Input & ice,
const QueryInput & input )

◆ toIce() [2/3]

void toIce ( armem::query::data::Result & ice,
const QueryResult & result )

◆ toIce() [3/3]

template<class IceKeyT, class IceValueT, class CppKeyT, class CppValueT>
void toIce ( std::map< IceKeyT, IceValueT > & iceMap,
const boost::container::flat_map< CppKeyT, CppValueT > & cppMap )

◆ writerFactory()

std::optional< Writer > writerFactory ( const mns::dto::MemoryServerInterfaces & server)