Move common types into a common header
Upcoming commits will have code that references some of these
types in more files so it makes sense to have them in a common
place.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I92adbefdd4bcfdb5d8d7e30b7fdf0fa03c739d2a
diff --git a/src/processing.hpp b/src/processing.hpp
index 475133d..e37f279 100644
--- a/src/processing.hpp
+++ b/src/processing.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "associations.hpp"
+#include "types.hpp"
#include <boost/container/flat_map.hpp>
#include <boost/container/flat_set.hpp>
@@ -43,17 +44,6 @@
return (iface == assocDefsInterface) ? "Associations" : "associations";
}
-/** @brief interface_map_type is the underlying datastructure the mapper uses.
- *
- * The 3 levels of map are
- * object paths
- * connection names
- * interface names
- */
-using interface_map_type = boost::container::flat_map<
- std::string, boost::container::flat_map<
- std::string, boost::container::flat_set<std::string>>>;
-
/** @brief InterfacesAdded represents the dbus data from the signal
*
* There are 2 pairs