rippled
|
Group of collectors. More...
Public Member Functions | |
Collectors (Cs &... cs_) | |
Constructor. More... | |
template<class E > | |
void | on (PeerID who, SimTime when, E e) |
Static Private Member Functions | |
template<class C , class E > | |
static void | apply (C &c, PeerID who, SimTime when, E e) |
template<std::size_t... Is, class E > | |
static void | apply (std::tuple< Cs &... > &cs, PeerID who, SimTime when, E e, std::index_sequence< Is... >) |
Private Attributes | |
std::tuple< Cs &... > | cs |
Group of collectors.
Presents a group of collectors as a single collector which process an event by calling each collector sequentially. This is analagous to CollectorRefs in CollectorRef.h, but does not erase the type information of the combined collectors.
Definition at line 53 of file collectors.h.
ripple::test::csf::Collectors< Cs >::Collectors | ( | Cs &... | cs_ | ) |
Constructor.
cs | References to the collectors to call together |
Definition at line 81 of file collectors.h.
|
staticprivate |
Definition at line 59 of file collectors.h.
|
staticprivate |
Definition at line 66 of file collectors.h.
void ripple::test::csf::Collectors< Cs >::on | ( | PeerID | who, |
SimTime | when, | ||
E | e | ||
) |
Definition at line 87 of file collectors.h.
|
private |
Definition at line 55 of file collectors.h.