ifw-ocf  2.0.0-dev
 All Classes Namespaces Files Functions Variables Groups
commands.hpp
Go to the documentation of this file.
1 
8 #include <OcmServerIf.hpp>
9 #include <rad/smAdapter.hpp>
10 #include <mal/utility/future.hpp>
11 
12 struct CommandsImpl : public ocmServerIf::AsyncCommands {
13  explicit CommandsImpl(rad::SMAdapter& sm);
14  virtual elt::mal::future<std::string> Ping() override;
15  virtual elt::mal::future<std::string> State() override;
16  virtual elt::mal::future<std::string> Exit() override;
17 
18  private:
19  rad::SMAdapter& m_sm;
20 };
virtual elt::mal::future< std::string > Ping() override
Definition: commands.cpp:15
CommandsImpl(rad::SMAdapter &sm)
Definition: commands.cpp:12
Definition: commands.hpp:12
virtual elt::mal::future< std::string > State() override
Definition: commands.cpp:21
virtual elt::mal::future< std::string > Exit() override
Definition: commands.cpp:27