Subversion Repositories HomeAutomation

Rev

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

Rev 1625 Rev 1642
Line 25... Line 25...
25
 
25
 
26
#include "vm/Plugin.h"
26
#include "vm/Plugin.h"
27
#include "logging/Logger.h"
27
#include "logging/Logger.h"
28
#include "timer/Subscriber.h"
28
#include "timer/Subscriber.h"
29
#include "can/Message.h"
29
#include "can/Message.h"
30
#include "type/common.h"
30
#include "common/common.h"
31
 
31
 
32
namespace atom {
32
namespace atom {
33
namespace vm {
33
namespace vm {
34
namespace plugin {
34
namespace plugin {
35
 
35
 
Line 46... Line 46...
46
private:
46
private:
47
    static logging::Logger LOG;
47
    static logging::Logger LOG;
48
   
48
   
49
    void SlotOnNodeChange(unsigned int node_id, bool available);
49
    void SlotOnNodeChange(unsigned int node_id, bool available);
50
    void SlotOnModuleChange(std::string full_id, bool available);
50
    void SlotOnModuleChange(std::string full_id, bool available);
51
    void SlotOnModuleMessage(std::string full_id, std::string command, type::StringMap variables);
51
    void SlotOnModuleMessage(std::string full_id, std::string command, common::StringMap variables);
52
   
52
   
53
    void SlotOnNodeChangeHandler(unsigned int node_id, bool available);
53
    void SlotOnNodeChangeHandler(unsigned int node_id, bool available);
54
    void SlotOnModuleChangeHandler(std::string full_id, bool available);
54
    void SlotOnModuleChangeHandler(std::string full_id, bool available);
55
    void SlotOnModuleMessageHandler(std::string full_id, std::string command, type::StringMap variables);
55
    void SlotOnModuleMessageHandler(std::string full_id, std::string command, common::StringMap variables);
56
   
56
   
57
    static Value Export_SendModuleMessage(const v8::Arguments& args);
57
    static Value Export_SendModuleMessage(const v8::Arguments& args);
58
    static Value Export_IsModuleAvailable(const v8::Arguments& args);
58
    static Value Export_IsModuleAvailable(const v8::Arguments& args);
59
   
-
 
60
   
-
 
-
 
59
    static Value Export_ProgramNode(const v8::Arguments& args);
61
};
60
};
62
 
61
 
63
}; // namespace plugin
62
}; // namespace plugin
64
}; // namespace vm
63
}; // namespace vm
65
}; // namespace atom
64
}; // namespace atom