|
template<typename CoordinateT , typename ContainerT > |
auto | operator() (CoordinateT const &, ContainerT const &) -> typename std::enable_if<!ContainerT::has_local_data::value >::type |
|
template<typename CoordinateT , typename ContainerT > |
auto | operator() (CoordinateT const &coord, ContainerT const &container) -> decltype(container.addresses(coord), void()) |
|
template<typename CoordinateT , typename ContainerT > |
auto | operator() (CoordinateT const &coord, ContainerT const &container) -> decltype(container.read_addresses(coord), void()) |
|
template<typename CoordinateT , typename ContainerT > |
auto | operator() (CoordinateT const &coord, ContainerT const &container) -> decltype(container.template addresses< typename T::value_type >(coord), void()) |
|
template<typename CoordinateT , typename ContainerT > |
auto | operator() (CoordinateT const &coord, ContainerT const &container) -> decltype(container.template read_addresses< typename T::value_type >(coord), void()) |
|
template<typename T>
struct stadls::ReadAddressVisitor< T >
Extract addresses for reading from hardware for the visited containers.
Each container can provide addresses via a read_addresses
member function or via a addresses
member function in case the addresses for reading and writing are the same. Containers that do not themselves contain data to be read from the hardware (i.e. containers of containers) can alternatively be tagged via
typedef std::false_type has_local_data;
Definition at line 20 of file visitors.h.