Expose configuration from NodeEventLoopFactory
Change-Id: I44a5cf0281c4c84ea1e73266f06fb388a42e3392
diff --git a/aos/events/simulated_event_loop.h b/aos/events/simulated_event_loop.h
index bc2721e..a4b3822 100644
--- a/aos/events/simulated_event_loop.h
+++ b/aos/events/simulated_event_loop.h
@@ -147,6 +147,10 @@
inline monotonic_clock::time_point monotonic_now() const;
inline realtime_clock::time_point realtime_now() const;
+ const Configuration *configuration() const {
+ return factory_->configuration();
+ }
+
// Returns the simulated network delay for messages forwarded between nodes.
std::chrono::nanoseconds network_delay() const {
return factory_->network_delay();