xref: /openbmc/dbus-sensors/src/nvidia-gpu/Inventory.hpp (revision 0a88826ff30c07812a089331486e4eb68e8386cb)
1*0a88826fSRohit PAI #pragma once
2*0a88826fSRohit PAI 
3*0a88826fSRohit PAI #include "NvidiaGpuMctpVdm.hpp"
4*0a88826fSRohit PAI 
5*0a88826fSRohit PAI #include <sdbusplus/asio/connection.hpp>
6*0a88826fSRohit PAI #include <sdbusplus/asio/object_server.hpp>
7*0a88826fSRohit PAI 
8*0a88826fSRohit PAI #include <memory>
9*0a88826fSRohit PAI #include <string>
10*0a88826fSRohit PAI 
11*0a88826fSRohit PAI class Inventory
12*0a88826fSRohit PAI {
13*0a88826fSRohit PAI   public:
14*0a88826fSRohit PAI     Inventory(const std::shared_ptr<sdbusplus::asio::connection>& conn,
15*0a88826fSRohit PAI               sdbusplus::asio::object_server& objectServer,
16*0a88826fSRohit PAI               const std::string& inventoryName,
17*0a88826fSRohit PAI               gpu::DeviceIdentification deviceType);
18*0a88826fSRohit PAI 
19*0a88826fSRohit PAI   private:
20*0a88826fSRohit PAI     std::shared_ptr<sdbusplus::asio::dbus_interface> acceleratorInterface;
21*0a88826fSRohit PAI 
22*0a88826fSRohit PAI     std::string name;
23*0a88826fSRohit PAI };
24