Rev 1642 | Rev 1657 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1642 | Rev 1644 | ||
|---|---|---|---|
| Line 34... | Line 34... | ||
| 34 | #include "common/common.h" |
34 | #include "common/common.h" |
| 35 | 35 | ||
| 36 | #include "Node.h" |
36 | #include "Node.h" |
| 37 | #include "Module.h" |
37 | #include "Module.h" |
| 38 | #include "can/Message.h" |
38 | #include "can/Message.h" |
| - | 39 | #include "common/common.h" |
|
| 39 | 40 | ||
| 40 | namespace atom { |
41 | namespace atom { |
| 41 | namespace control { |
42 | namespace control { |
| 42 | 43 | ||
| 43 | class Manager : public broker::Subscriber, public timer::Subscriber |
44 | class Manager : public broker::Subscriber, public timer::Subscriber |
| Line 57... | Line 58... | ||
| 57 | static void Delete(); |
58 | static void Delete(); |
| 58 | 59 | ||
| 59 | void ConnectSlots(const SignalOnNodeChange::slot_type& signal_on_node_change_, const SignalOnModuleChange::slot_type& slot_on_module_change, const SignalOnModuleMessage::slot_type& slot_on_module_message); |
60 | void ConnectSlots(const SignalOnNodeChange::slot_type& signal_on_node_change_, const SignalOnModuleChange::slot_type& slot_on_module_change, const SignalOnModuleMessage::slot_type& slot_on_module_message); |
| 60 | 61 | ||
| 61 | void SendMessage(std::string full_id, std::string command, common::StringMap variables); |
62 | void SendMessage(std::string full_id, std::string command, common::StringMap variables); |
| 62 |
|
63 | common::StringList GetAvailableModules(); |
| 63 | bool ProgramNode(Node::Id node_id, bool is_bios, std::string filename); |
64 | bool ProgramNode(Node::Id node_id, bool is_bios, std::string filename); |
| 64 | 65 | ||
| 65 | private: |
66 | private: |
| 66 | static Pointer instance_; |
67 | static Pointer instance_; |
| 67 | 68 | ||