summaryrefslogtreecommitdiffstats
path: root/bmc_state_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bmc_state_manager.hpp')
-rw-r--r--bmc_state_manager.hpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/bmc_state_manager.hpp b/bmc_state_manager.hpp
index be88ba8..1ddef53 100644
--- a/bmc_state_manager.hpp
+++ b/bmc_state_manager.hpp
@@ -21,6 +21,10 @@ class BMC : public sdbusplus::server::object::object<
public:
/** @brief Constructs BMC State Manager
*
+ * @note This constructor passes 'true' to the base class in order to
+ * defer dbus object registration until we can run
+ * subscribeToSystemdSignals() and set our properties
+ *
* @param[in] bus - The Dbus bus object
* @param[in] busName - The Dbus name to own
* @param[in] objPath - The Dbus object path
@@ -38,8 +42,6 @@ class BMC : public sdbusplus::server::object::object<
/** @brief Set value of BMCTransition **/
Transition requestedBMCTransition(Transition value) override;
- /** @breif Set value of CurrentBMCState **/
- BMCState currentBMCState(BMCState value) override;
private:
/**
@@ -47,10 +49,15 @@ class BMC : public sdbusplus::server::object::object<
**/
void subscribeToSystemdSignals();
+ /** @brief Execute the transition request
+ *
+ * @param[in] tranReq - Transition requested
+ */
+ void executeTransition(Transition tranReq);
+
/** @brief Persistent sdbusplus DBus bus connection. **/
sdbusplus::bus::bus& bus;
-
};
} // namespace manager
OpenPOWER on IntegriCloud