| #pragma once |
| |
| #include <sdbusplus/bus.hpp> |
| #include "xyz/openbmc_project/State/Host/server.hpp" |
| |
| namespace phosphor |
| { |
| namespace state |
| { |
| namespace manager |
| { |
| |
| /** @class Host |
| * @brief OpenBMC host state management implementation. |
| * @details A concrete implementation for xyz.openbmc_project.State.Host |
| * DBus API. |
| */ |
| class Host : public sdbusplus::server::object::object< |
| sdbusplus::xyz::openbmc_project::State::server::Host> |
| { |
| public: |
| /** @brief Constructs Host State Manager |
| * |
| * @param[in] bus - The Dbus bus object |
| * @param[in] busName - The Dbus name to own |
| * @param[in] objPath - The Dbus object path |
| */ |
| Host(sdbusplus::bus::bus& bus, |
| const char* busName, |
| const char* objPath) : |
| sdbusplus::server::object::object< |
| sdbusplus::xyz::openbmc_project::State::server::Host>( |
| bus, objPath) {}; |
| |
| private: |
| }; |
| |
| } // namespace manager |
| } // namespace state |
| } // namespace phosphor |