iteration_mixins.h File Reference
#include <functional>
#include <type_traits>
#include "ArmarXCore/core/logging/Logging.h"
#include <RobotAPI/libraries/armem/core/MemoryID.h>
#include "derived.h"
+ Include dependency graph for iteration_mixins.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ForEachEntityInstanceMixin< DerivedT >
 
struct  ForEachEntityMixin< DerivedT >
 
struct  ForEachEntitySnapshotMixin< DerivedT >
 
struct  ForEachProviderSegmentMixin< DerivedT >
 
struct  has_mapped_type< class, class >
 
struct  has_mapped_type< T, std::void_t< typename T::mapped_type > >
 

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
namespace  armarx::armem
 
namespace  armarx::armem::base
 
namespace  armarx::armem::base::detail
 

Functions

template<class FunctionT, class ChildT>
bool call (FunctionT &&func, ChildT &&child)
 
template<class ContainerT, class FunctionT>
bool forEachChild (ContainerT &container, FunctionT &&func)
 
template<class ContainerT, class FunctionT>
bool forEachChildPair (ContainerT &container, FunctionT &&func)
 
template<class ContainerT, class FunctionT>
bool forEachChildSingle (ContainerT &container, FunctionT &&func)
 
template<class FunctionT, class ParentT, class ChildT>
bool forEachInstanceIn (const MemoryID &id, FunctionT &&func, ParentT &parent, bool single, ChildT *child)