STADLS
|
Fill the visited containers by decoding the specified configuration data. More...
#include <visitors.h>
Public Member Functions | |
DecodeVisitor (T data) | |
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 &container) -> decltype(&ContainerT::decode, void()) |
template<typename CoordinateT , typename ContainerT > | |
auto | operator() (CoordinateT const &coord, ContainerT &container) -> decltype(&ContainerT::template decode< value_type >, void()) |
Fill the visited containers by decoding the specified configuration data.
Each container should implement a decode
member function that accepts an array of words read from the hardware. The first argument to the function can optionally be the coordinate of the container, should it be required to correctly decode the data. Containers that do not themselves contain data (i.e. containers of containers) can alternatively be tagged via
Definition at line 131 of file visitors.h.
|
inline |
Definition at line 138 of file visitors.h.
|
inline |
Definition at line 155 of file visitors.h.
|
inline |
Definition at line 141 of file visitors.h.
|
inline |
Definition at line 148 of file visitors.h.