|
rippled
|
Group of collectors. More...
#include <collectors.h>

Public Member Functions | |
| Collectors (Cs &... cs_) | |
| Constructor. | |
| 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 analogous to CollectorRefs in CollectorRef.h, but does not erase the type information of the combined collectors.
Definition at line 35 of file collectors.h.
| xrpl::test::csf::Collectors< Cs >::Collectors | ( | Cs &... | cs_ | ) |
Constructor.
| cs | References to the collectors to call together |
Definition at line 58 of file collectors.h.
|
staticprivate |
Definition at line 41 of file collectors.h.
|
staticprivate |
Definition at line 48 of file collectors.h.
| void xrpl::test::csf::Collectors< Cs >::on | ( | PeerID | who, |
| SimTime | when, | ||
| E | e | ||
| ) |
Definition at line 64 of file collectors.h.
|
private |
Definition at line 37 of file collectors.h.