1 #pragma once 2 3 #include "activation.hpp" 4 5 namespace openpower 6 { 7 namespace software 8 { 9 namespace updater 10 { 11 12 /** @class ActivationStatic 13 * @brief Implementation for static PNOR layout 14 */ 15 class ActivationStatic : public Activation 16 { 17 public: 18 using Activation::Activation; 19 ~ActivationStatic() = default; 20 Activations activation(Activations value) override; 21 22 private: 23 void unitStateChange(sdbusplus::message::message& msg) override; 24 void startActivation() override; 25 void finishActivation() override; 26 27 std::string pnorUpdateUnit; 28 }; 29 30 } // namespace updater 31 } // namespace software 32 } // namespace openpower 33