xref: /openbmc/phosphor-hwmon/types.hpp (revision ad6043f6ff524bbf6df4d313c0ce447da3007619)
19c43106cSMatthew Barth #pragma once
29c43106cSMatthew Barth 
39c43106cSMatthew Barth #include "interface.hpp"
49c43106cSMatthew Barth 
54cbdfef2SWilliam A. Kennington III #include <any>
6827886a3SPatrick Venture #include <chrono>
7827886a3SPatrick Venture #include <map>
8827886a3SPatrick Venture #include <string>
9827886a3SPatrick Venture #include <tuple>
10827886a3SPatrick Venture #include <utility>
11043d3230SPatrick Venture 
126206723dSPatrick Venture using InterfaceMap = std::map<InterfaceType, std::any>;
13*ad6043f6SPatrick Williams using ObjectInfo = std::tuple<sdbusplus::bus_t*, std::string, InterfaceMap>;
149c43106cSMatthew Barth using RetryIO = std::tuple<size_t, std::chrono::milliseconds>;
159c43106cSMatthew Barth using ObjectStateData = std::pair<std::string, ObjectInfo>;
16