ABLATE Source Documentation  0.12.34
list.hpp
1 #ifndef ABLATELIBRARY_PROBEINITIALIZER_LIST_HPP
2 #define ABLATELIBRARY_PROBEINITIALIZER_LIST_HPP
3 
4 #include <memory>
5 #include <vector>
6 #include "probeInitializer.hpp"
7 
8 namespace ablate::monitors::probes {
9 
10 class List : public ProbeInitializer {
11  private:
12  const std::vector<Probe> list;
13 
14  public:
19  explicit List(const std::vector<std::shared_ptr<Probe>>& probes);
20 
25  explicit List(std::vector<Probe> probes);
26 
31  const std::vector<Probe>& GetProbes() const override { return list; }
32 };
33 
34 } // namespace ablate::monitors::probes
35 #endif // ABLATELIBRARY_LIST_HPP
Definition: list.hpp:10
const std::vector< Probe > & GetProbes() const override
Definition: list.hpp:31
List(const std::vector< std::shared_ptr< Probe >> &probes)
Definition: list.cpp:4
Definition: probeInitializer.hpp:10