Subversion Repositories HomeAutomation

Rev

Rev 1602 | Rev 1614 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1602 Rev 1604
Line 56... Line 56...
56
    static void Delete();
56
    static void Delete();
57
   
57
   
58
    void ConnectSlots(const SignalOnModuleChange::slot_type& slot_on_module_change, const SignalOnModuleMessage::slot_type& slot_on_module_message);
58
    void ConnectSlots(const SignalOnModuleChange::slot_type& slot_on_module_change, const SignalOnModuleMessage::slot_type& slot_on_module_message);
59
   
59
   
60
    void SendMessage(std::string full_id, std::string command, type::StringMap variables);
60
    void SendMessage(std::string full_id, std::string command, type::StringMap variables);
-
 
61
    bool IsModuleAvailable(std::string full_id);
61
   
62
   
62
private:
63
private:
63
    static Pointer instance_;
64
    static Pointer instance_;
64
   
65
   
65
    timer::TimerId timer_id_;
66
    timer::TimerId timer_id_;
Line 72... Line 73...
72
   
73
   
73
    Manager();
74
    Manager();
74
   
75
   
75
    void SlotOnMessageHandler(broker::Message::Pointer message);
76
    void SlotOnMessageHandler(broker::Message::Pointer message);
76
    void SlotOnTimeoutHandler(timer::TimerId timer_id, bool repeat);
77
    void SlotOnTimeoutHandler(timer::TimerId timer_id, bool repeat);
-
 
78
   
-
 
79
    void SendMessageHandler(std::string full_id, std::string command, type::StringMap variables);
77
   
80
   
78
    Node::Pointer GetNode(Node::Id node_id);
81
    Node::Pointer GetNode(Node::Id node_id);
79
    Module::Pointer GetModule(Module::Id module_id, std::string module_name, std::string class_name);
82
    Module::Pointer GetModule(Module::Id module_id, std::string module_name, std::string class_name);
80
    void RemoveModules(Node::Id node_id);
83
    void RemoveModules(Node::Id node_id);
81
    void RequestModules(Node::Id node_id);
84
    void RequestModules(Node::Id node_id);