Switch LogReader::Nodes to LoggedNodes
If folks want a list of nodes from the simulated config, they should
instead use the factory configuration. Most of the time, we want to
instead use the nodes from the logged configuration. Flip everything
over.
We should probably consider removing the helper since it doesn't really
add much.
Change-Id: I8f2150df9c50acfc0d7444f42b37820516fe072f
diff --git a/aos/events/logging/logger.h b/aos/events/logging/logger.h
index aa6be40..e221695 100644
--- a/aos/events/logging/logger.h
+++ b/aos/events/logging/logger.h
@@ -403,9 +403,8 @@
const Configuration *configuration() const;
// Returns the nodes that this log file was created on. This is a list of
- // pointers to a node in the nodes() list inside configuration(). The
- // pointers here are invalidated whenever RemapLoggedChannel is called.
- std::vector<const Node *> Nodes() const;
+ // pointers to a node in the nodes() list inside logged_configuration().
+ std::vector<const Node *> LoggedNodes() const;
// Returns the starting timestamp for the log file.
monotonic_clock::time_point monotonic_start_time(