Searched refs:Commander (Results 1 – 10 of 10) sorted by relevance
21 void Commander::NotifySuccess(CmdType type, const std::string &msg) const in NotifySuccess()29 void Commander::NotifyFail(CmdType type, const std::string &msg) const in NotifyFail()38 void Commander::UpdateProgress(CmdType type) const in UpdateProgress()61 bool Commander::IsCallbackVaild() const in IsCallbackVaild()
31 class Commander {33 explicit Commander(callbackFun callback) : callback_(callback) {} in Commander() function34 virtual ~Commander() = default;
22 class EraseCommander : public Commander {24 explicit EraseCommander(callbackFun callback) : Commander(callback) {}; in EraseCommander()
23 class FormatCommander : public Commander {25 explicit FormatCommander(callbackFun callback) : Commander(callback) {} in FormatCommander()
22 class UpdateCommander : public Commander {24 explicit UpdateCommander(callbackFun callback) : Commander(callback) {}; in UpdateCommander()
22 class FlashCommander : public Commander {25 explicit FlashCommander(callbackFun callback) : Commander(callback) {} in FlashCommander()
25 const std::unordered_map<std::string, std::function<std::unique_ptr<Commander>(callbackFun callback…38 std::unique_ptr<Commander> CommanderFactory::CreateCommander(const std::string &cmd, callbackFun ca… in CreateCommander()
39 std::unique_ptr<Flashd::Commander> CreateCommander(const std::string &cmd);43 std::unique_ptr<Flashd::Commander> commander_ = nullptr;
30 std::unique_ptr<Commander> CreateCommander(const std::string &cmd, callbackFun callback) const;
107 std::unique_ptr<Flashd::Commander> DaemonUpdater::CreateCommander(const std::string &cmd) in CreateCommander()