blob: 4a755db5ef72711d0b964ab58febad2a7258aaaa [file] [log] [blame]
Andrew Geissler36529022016-11-29 15:23:54 -06001#pragma once
2
3#include <sdbusplus/bus.hpp>
4#include "xyz/openbmc_project/State/Host/server.hpp"
5
6namespace phosphor
7{
8namespace state
9{
10namespace manager
11{
12
13/** @class Host
14 * @brief OpenBMC host state management implementation.
15 * @details A concrete implementation for xyz.openbmc_project.State.Host
16 * DBus API.
17 */
18class Host : public sdbusplus::server::object::object<
19 sdbusplus::xyz::openbmc_project::State::server::Host>
20{
21 public:
22 /** @brief Constructs Host State Manager
23 *
24 * @param[in] bus - The Dbus bus object
25 * @param[in] busName - The Dbus name to own
26 * @param[in] objPath - The Dbus object path
27 */
28 Host(sdbusplus::bus::bus& bus,
29 const char* busName,
30 const char* objPath) :
31 sdbusplus::server::object::object<
32 sdbusplus::xyz::openbmc_project::State::server::Host>(
33 bus, objPath) {};
34
35 private:
36};
37
38} // namespace manager
39} // namespace state
40} // namespace phosphor