xref: /openbmc/phosphor-hwmon/types.hpp (revision ad6043f6)
1 #pragma once
2 
3 #include "interface.hpp"
4 
5 #include <any>
6 #include <chrono>
7 #include <map>
8 #include <string>
9 #include <tuple>
10 #include <utility>
11 
12 using InterfaceMap = std::map<InterfaceType, std::any>;
13 using ObjectInfo = std::tuple<sdbusplus::bus_t*, std::string, InterfaceMap>;
14 using RetryIO = std::tuple<size_t, std::chrono::milliseconds>;
15 using ObjectStateData = std::pair<std::string, ObjectInfo>;
16