Rev 1642 | Rev 1646 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1642 | Rev 1644 | ||
|---|---|---|---|
| Line 201... | Line 201... | ||
| 201 | void Manager::SendMessage(std::string full_id, std::string command, common::StringMap variables) |
201 | void Manager::SendMessage(std::string full_id, std::string command, common::StringMap variables) |
| 202 | { |
202 | { |
| 203 | this->io_service_.post(boost::bind(&Manager::SendMessageHandler, this, full_id, command, variables)); |
203 | this->io_service_.post(boost::bind(&Manager::SendMessageHandler, this, full_id, command, variables)); |
| 204 | } |
204 | } |
| 205 | 205 | ||
| 206 |
|
206 | common::StringList Manager::GetAvailableModules() |
| 207 | { |
207 | { |
| - | 208 | common::StringList available_modules; |
|
| - | 209 | ||
| 208 |
|
210 | for (ModuleList::iterator it = this->modules_.begin(); it != this->modules_.end(); it++) |
| - | 211 | { |
|
| - | 212 | available_modules.push_back(it->first); |
|
| - | 213 | } |
|
| - | 214 | ||
| - | 215 | return available_modules; |
|
| 209 | } |
216 | } |
| 210 | 217 | ||
| 211 | bool Manager::ProgramNode(Node::Id node_id, bool is_bios, std::string filename) |
218 | bool Manager::ProgramNode(Node::Id node_id, bool is_bios, std::string filename) |
| 212 | { |
219 | { |
| 213 | NodeList::iterator it = this->nodes_.find(node_id); |
220 | NodeList::iterator it = this->nodes_.find(node_id); |