iwyu: //aos/analysis/...
The full include-list for aos/analysis/in_process_plotter_demo.cc:
<algorithm> // for max
<cmath> // for cos, sin, M_PI
<vector> // for vector
"aos/analysis/in_process_plotter.h" // for Plotter
"aos/init.h" // for InitGoogle
The full include-list for aos/analysis/py_log_reader.cc:
<Python.h> // for PyObject, PyCFunction, PyErr_SetString, PyLong_FromLongLong, PyArg_ParseTupleAndKeywords, PyBytes_FromStringAndSize, PyExc_RuntimeError, PyList_New, PyList_SetItem, PyModule_AddObject, PyTuple_Pack, PyType_Ready, PyUnicode_FromStringAndSize, METH_KEYWORDS, METH_NOARGS, METH_VARARGS, PyTypeObject, Py_DECREF, Py_UNUSED, destructor, initproc, PyExc_ValueError, PyMODINIT_FUNC, PyMethodDef, PyModuleDef, PyModuleDef_HEAD_INIT, PyModule_Create, PyObject_HEAD, PyVarObject_HEAD_INIT, Py_False, Py_INCREF, Py_RETURN_NONE, Py_TPFLAGS_BASETYPE, Py_TPFLAGS_DEFAULT, Py_TYPE, Py_True
<stddef.h> // for NULL, size_t
<stdint.h> // for uint8_t
<algorithm> // for max
<cerrno> // for program_invocation_name
<chrono> // for duration_cast, duration, nanoseconds
<memory> // for unique_ptr, allocator, make_unique
<string> // for operator==, string
<vector> // for vector
"absl/types/span.h" // for Span
"aos/configuration.h" // for Channel, GetChannel, GetNode, MultiNode, Configuration
"aos/events/context.h" // for Context
"aos/events/event_loop.h" // for EventLoop
"aos/events/logging/log_reader.h" // for LogReader
"aos/events/simulated_event_loop.h" // for SimulatedEventLoopFactory
"aos/flatbuffer_merge.h" // for CopyFlatBuffer
"aos/flatbuffers.h" // for FlatbufferDetachedBuffer
"aos/init.h" // for InitGoogle, IsInitialized
"aos/json_to_flatbuffer.h" // for FlatbufferToJson
"aos/time/time.h" // for monotonic_clock, realtime_clock
"glog/logging.h" // for CheckNotNull, CHECK_NOTNULL
The full include-list for aos/analysis/local_foxglove.cc:
<memory> // for allocator, make_shared, _NonArray, shared_ptr
"aos/init.h" // for InitGoogle
"aos/seasocks/seasocks_logger.h" // for SeasocksLogger
"gflags/gflags.h" // for DEFINE_string, DEFINE_uint32
"internal/Embedded.h" // for findEmbeddedContent
"seasocks/Logger.h" // for Logger
"seasocks/Server.h" // for Server
The full include-list for aos/analysis/in_process_plotter.h:
<stddef.h> // for size_t
<memory> // for unique_ptr
<string> // for string
<string_view> // for string_view
<vector> // for vector
"aos/analysis/plot_data_generated.h" // for Plot, Color, Figure, Line, Position
"aos/configuration_generated.h" // for Configuration
"aos/events/event_loop.h" // for EventLoop, Sender
"aos/events/simulated_event_loop.h" // for SimulatedEventLoopFactory
"aos/flatbuffers.h" // for FlatbufferDetachedBuffer
"aos/network/web_proxy.h" // for WebProxy
"flatbuffers/buffer.h" // for Offset
"flatbuffers/string.h" // for String
The full include-list for aos/analysis/in_process_plotter.cc:
"aos/analysis/in_process_plotter.h"
<algorithm> // for max, find_if
<ostream> // for char_traits, operator<<, basic_ostream
"aos/configuration.h" // for ReadConfig
"flatbuffers/flatbuffer_builder.h" // for FlatBufferBuilder
"flatbuffers/vector.h" // for Vector
"glog/logging.h" // for Check_EQImpl, GetReferenceableValue, CHECK, CHECK_EQ, COMPACT_GOOGLE_LOG_FATAL, LogMessageFatal
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I6b75ee3501dc85dd821ffd6fc0fb3fff64561db1
diff --git a/aos/analysis/in_process_plotter.cc b/aos/analysis/in_process_plotter.cc
index 88591b3..dcb60b7 100644
--- a/aos/analysis/in_process_plotter.cc
+++ b/aos/analysis/in_process_plotter.cc
@@ -1,5 +1,12 @@
#include "aos/analysis/in_process_plotter.h"
+#include <algorithm>
+#include <ostream>
+
+#include "flatbuffers/flatbuffer_builder.h"
+#include "flatbuffers/vector.h"
+#include "glog/logging.h"
+
#include "aos/configuration.h"
namespace aos::analysis {
diff --git a/aos/analysis/in_process_plotter.h b/aos/analysis/in_process_plotter.h
index 0d00deb..8c00096 100644
--- a/aos/analysis/in_process_plotter.h
+++ b/aos/analysis/in_process_plotter.h
@@ -1,10 +1,21 @@
#ifndef AOS_ANALYSIS_IN_PROCESS_PLOTTER_H_
#define AOS_ANALYSIS_IN_PROCESS_PLOTTER_H_
+#include <stddef.h>
+
+#include <memory>
+#include <string>
+#include <string_view>
#include <vector>
+#include "flatbuffers/buffer.h"
+#include "flatbuffers/string.h"
+
#include "aos/analysis/plot_data_generated.h"
+#include "aos/configuration_generated.h"
+#include "aos/events/event_loop.h"
#include "aos/events/simulated_event_loop.h"
+#include "aos/flatbuffers.h"
#include "aos/network/web_proxy.h"
namespace aos::analysis {
diff --git a/aos/analysis/in_process_plotter_demo.cc b/aos/analysis/in_process_plotter_demo.cc
index 6141d6a..5b92ab7 100644
--- a/aos/analysis/in_process_plotter_demo.cc
+++ b/aos/analysis/in_process_plotter_demo.cc
@@ -1,3 +1,7 @@
+#include <algorithm>
+#include <cmath>
+#include <vector>
+
#include "aos/analysis/in_process_plotter.h"
#include "aos/init.h"
diff --git a/aos/analysis/local_foxglove.cc b/aos/analysis/local_foxglove.cc
index ade56a5..b07a628 100644
--- a/aos/analysis/local_foxglove.cc
+++ b/aos/analysis/local_foxglove.cc
@@ -1,8 +1,11 @@
-#include "glog/logging.h"
+#include <memory>
+
+#include "gflags/gflags.h"
#include "aos/init.h"
#include "aos/seasocks/seasocks_logger.h"
#include "internal/Embedded.h"
+#include "seasocks/Logger.h"
#include "seasocks/Server.h"
DEFINE_string(data_path, "external/foxglove_studio",
diff --git a/aos/analysis/py_log_reader.cc b/aos/analysis/py_log_reader.cc
index 4a97a0f..340140c 100644
--- a/aos/analysis/py_log_reader.cc
+++ b/aos/analysis/py_log_reader.cc
@@ -16,16 +16,29 @@
#define PY_SSIZE_T_CLEAN
// Note that Python.h needs to be included before anything else.
#include <Python.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <algorithm>
#include <cerrno>
+#include <chrono>
#include <memory>
+#include <string>
+#include <vector>
+
+#include "absl/types/span.h"
+#include "glog/logging.h"
#include "aos/configuration.h"
+#include "aos/events/context.h"
+#include "aos/events/event_loop.h"
#include "aos/events/logging/log_reader.h"
#include "aos/events/simulated_event_loop.h"
#include "aos/flatbuffer_merge.h"
+#include "aos/flatbuffers.h"
#include "aos/init.h"
#include "aos/json_to_flatbuffer.h"
+#include "aos/time/time.h"
namespace aos::analysis {
namespace {