![]() |
BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
Data Structures | |
| struct | ActionContext |
| struct | ActionRecord |
Public Types | |
|
typedef std::map< ModuleID, double > | DeviceData |
| typedef std::function< void(ActionContext &context)> | Action |
Public Types inherited from BeeeOn::StoppableRunnable | |
|
typedef Poco::SharedPtr < StoppableRunnable > | Ptr |
Public Member Functions | |
| bool | accept (const Command::Ptr cmd) override |
| void | handle (Command::Ptr cmd, Answer::Ptr answer) override |
| void | run () override |
| void | stop () override |
| void | setConsole (Poco::SharedPtr< Console > console) |
| void | setPairedDevices (const std::list< std::string > &ids) |
| Poco::SharedPtr< Console > | console () const |
| void | setCredentialsStorage (Poco::SharedPtr< FileCredentialsStorage > storage) |
| void | setCryptoConfig (Poco::SharedPtr< CryptoConfig > config) |
Public Member Functions inherited from BeeeOn::CommandSender | |
| void | setCommandDispatcher (CommandDispatcher *dispatcher) |
| void | dispatch (Poco::AutoPtr< Command > cmd, Poco::AutoPtr< Answer > answer) |
| void | dispatch (Poco::AutoPtr< Command > cmd) |
| AnswerQueue & | answerQueue () |
Protected Member Functions | |
| void | registerAction (const std::string &name, const Action action, const std::string &description) |
| void | printHelp (ConsoleSession &session) |
| void | processLine (ConsoleSession &session, const std::string &line) |
Protected Member Functions inherited from BeeeOn::Loggable | |
| void | setupLogger (Poco::Logger *logger=0) const |
| Poco::Logger & | logger () const |
| Loggable (const ClassInfo &info) | |
| Loggable (const std::type_info &info) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from BeeeOn::Loggable | |
| static Poco::Logger & | forMethod (const char *name) |
| static Poco::Logger & | forClass (const ClassInfo &info) |
| static Poco::Logger & | forClass (const std::type_info &info) |
| template<typename T > | |
| static Poco::Logger & | forInstance (const T *i) |
| static void | configureSimple (Poco::Logger &logger, const std::string &level) |
| static void | logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line) |
| typedef std::function<void(ActionContext &context)> BeeeOn::TestingCenter::Action |
Action to be executed when processing console input.
|
overridevirtual |
Stop the runnable. The call should not block.
Implements BeeeOn::StoppableRunnable.
1.8.5