automotive-message-broker  0.14.803
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
bluemonkey.idl
Go to the documentation of this file.
1 
40 partial interface Navigator {
41  readonly attribute Bluemonkey bluemonkey;
42 };
43 
53 interface Bluemonkey {
58  PropertyInterface subscribeTo(DOMString propertyName, optional unsigned short zone, optional DOMString source);
59 
63  DOMString[] sourcesForProperty(DOMString propertyName);
64 
68  unsigned short[] zonesForProperty(DOMString propertyName);
69 
73  DOMString[] supportedProperties();
74 
78  void loadConfig(DOMString configFile);
79 
83  void loadModule(DOMString moduleFile);
84 
88  void log(DOMString text);
89 
93  QTimer createTimer();
94 
98  QObject createQObject();
99 
103  void getHistory(DOMString[] properties, Date begin, Date end, HistoryCallback callback);
104 
108  void createCustomProperty(DOMString name, any value, optional unsigned short zone);
109 
110 };
111 
112 interface PropertyInterface {
116  readonly attribute DOMString type;
117 
121  readonly attribute unsigned short zone;
122 
126  readonly attribute any value;
127 
131  readonly attribute DOMString source;
132 
136  readonly attribute DOMTimestamp timestamp;
137 
141  readonly attribute Signal changed;
142 
143  void getHistory(Date begin, Date end, HistoryCallback callback);
144 };
145 
146 interface Signal {
150  void connect(ChangedCallback callback)
151 };
152 
153 callback ChangedCallback = void(any value); ();
154 
155 callback HistoryCallback = void(PropertyInterface[] data); ();
156