8 #include "range/v3/view.hpp" 19 PathsInfo::~PathsInfo() =
default;
21 map<string, std::shared_ptr<Worker>>&
27 map<string, std::shared_ptr<Worker>>
const&
28 PathsInfo::workers()
const 37 std::vector<WorkerInPath>&& wips,
40 if (pc.
pathName() == PathContext::end_path()) {
42 actions, registry, pc, std::move(wips),
nullptr, task_group);
45 actions, registry, pc, std::move(wips), &pathResults_, task_group);
49 <<
"Made path " << std::hex << &paths_.back() << std::dec
60 PathsInfo::paths()
const 66 PathsInfo::pathNames()
const 68 vector<string> result;
69 std::transform(
begin(paths_),
71 back_inserter(result),
72 [](
auto const& path) {
return path.name(); });
85 PathsInfo::reset_for_event()
92 PathsInfo::pathResults()
98 PathsInfo::incrementTotalEventCount()
104 PathsInfo::incrementPassedEventCount()
110 PathsInfo::passedEvents()
const 112 return passedEvents_.load();
116 PathsInfo::failedEvents()
const 119 return totalEvents_.load() - passedEvents_.load();
123 PathsInfo::totalEvents()
const 125 return totalEvents_.load();
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
auto const & pathName() const
decltype(auto) constexpr to_string(T &&obj)
ADL-aware version of std::to_string.
decltype(auto) values(Coll &&coll)
Range-for loop helper iterating across the values of the specified collection.
#define TDEBUG_FUNC_SI(LEVEL, SI)
PathID pathID() const noexcept
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.