| #pragma once |
| |
| #include "common/utils.hpp" |
| #include "libpldmresponder/oem_intel_ras.hpp" |
| #include "libpldmresponder/platform.hpp" |
| #include "pldmd/invoker.hpp" |
| |
| #include <memory> |
| |
| namespace pldm::oem_intel |
| { |
| |
| /** |
| * @class OemIntel |
| * |
| * @brief Class for initializing all OEM Intel handlers and registering |
| * OEM PLDM command types with the Invoker. |
| */ |
| class OemIntel |
| { |
| public: |
| OemIntel() = delete; |
| OemIntel(const OemIntel&) = delete; |
| OemIntel& operator=(const OemIntel&) = delete; |
| OemIntel(OemIntel&&) = delete; |
| OemIntel& operator=(OemIntel&&) = delete; |
| |
| /** @brief Constructs OemIntel object |
| * @param[in] dbusHandler - D-Bus handler |
| * @param[in] invoker - Invoker handler |
| * @param[in] platformHandler - Platform handler |
| */ |
| explicit OemIntel(const pldm::utils::DBusHandler* dbusHandler, |
| pldm::responder::Invoker& invoker, |
| pldm::responder::platform::Handler* platformHandler); |
| }; |
| |
| } // namespace pldm::oem_intel |