Subversion Repositories HomeAutomation

Rev

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

Rev 1657 Rev 1665
Line 298... Line 298...
298
        LOG.Debug("is_bios false");
298
        LOG.Debug("is_bios false");
299
        it->second->ProgramApplication(code);
299
        it->second->ProgramApplication(code);
300
    }
300
    }
301
   
301
   
302
    return true;
302
    return true;
-
 
303
}
-
 
304
 
-
 
305
Node::Information Manager::GetNodeInformation(Node::Id node_id)
-
 
306
{
-
 
307
    NodeList::iterator it = this->nodes_.find(node_id);
-
 
308
   
-
 
309
    if (it == this->nodes_.end())
-
 
310
    {
-
 
311
        throw std::runtime_error("No such node exists, " + node_id);
-
 
312
    }
-
 
313
       
-
 
314
    return it->second->GetInformation();
303
}
315
}
304
 
316
 
305
Node::Pointer Manager::GetNode(Node::Id node_id)
317
Node::Pointer Manager::GetNode(Node::Id node_id)
306
{
318
{
307
    Node::Pointer node;
319
    Node::Pointer node;