Subversion Repositories HomeAutomation

Rev

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

Rev 1609 Rev 1614
Line 48... Line 48...
48
    Plugin::InitializeDone();
48
    Plugin::InitializeDone();
49
   
49
   
50
    this->ImportFunction("Module_OnChange");
50
    this->ImportFunction("Module_OnChange");
51
    this->ImportFunction("Module_OnMessage");
51
    this->ImportFunction("Module_OnMessage");
52
   
52
   
53
    can::Manager::Instance()->ConnectSlots(can::Manager::SignalOnModuleChange::slot_type(&Module::SlotOnModuleChange, this, _1, _2).track(this->tracker_),
53
    can::Manager::Instance()->ConnectSlots(can::Manager::SignalOnNodeChange::slot_type(&Module::SlotOnNodeChange, this, _1, _2).track(this->tracker_),
-
 
54
                                           can::Manager::SignalOnModuleChange::slot_type(&Module::SlotOnModuleChange, this, _1, _2).track(this->tracker_),
54
                                           can::Manager::SignalOnModuleMessage::slot_type(&Module::SlotOnModuleMessage, this, _1, _2, _3).track(this->tracker_));
55
                                           can::Manager::SignalOnModuleMessage::slot_type(&Module::SlotOnModuleMessage, this, _1, _2, _3).track(this->tracker_));
-
 
56
}
-
 
57
 
-
 
58
void Module::SlotOnNodeChange(unsigned int node_id, bool available)
-
 
59
{
-
 
60
 
55
}
61
}
56
 
62
 
57
void Module::SlotOnModuleChange(std::string full_id, bool available)
63
void Module::SlotOnModuleChange(std::string full_id, bool available)
58
{
64
{
59
    ArgumentListPointer arguments = ArgumentListPointer(new ArgumentList);
65
    ArgumentListPointer arguments = ArgumentListPointer(new ArgumentList);