|
rippled
|
A container of CollectorRefs. More...

Public Member Functions | |
| template<class Collector > | |
| void | add (Collector &collector) |
| template<class E > | |
| void | on (PeerID node, SimTime when, E const &e) |
Private Attributes | |
| std::vector< CollectorRef > | collectors_ |
A container of CollectorRefs.
A set of CollectorRef instances that process the same events. An event is processed by collectors in the order the collectors were added.
This class type-erases the collector instances. By contract, the Collectors/collectors class/helper in collectors.h are not type erased and offer an opportunity for type transformations and combinations with improved compiler optimizations.
Definition at line 323 of file CollectorRef.h.
| void ripple::test::csf::CollectorRefs::add | ( | Collector & | collector | ) |
Definition at line 330 of file CollectorRef.h.
| void ripple::test::csf::CollectorRefs::on | ( | PeerID | node, |
| SimTime | when, | ||
| E const & | e | ||
| ) |
Definition at line 337 of file CollectorRef.h.
|
private |
Definition at line 325 of file CollectorRef.h.
1.8.17