automotive-message-broker  0.13.1
 All Classes Files Functions Variables Pages
bluemonkey.idl
Go to the documentation of this file.
1 
44 partial interface Navigator {
45  readonly attribute Bluemonkey bluemonkey;
46 };
47 
57 interface Bluemonkey {
62  PropertyInterface subscribeTo(DOMString propertyName, optional unsigned short zone, optional DOMString source);
63 
67  DOMString[] sourcesForProperty(DOMString propertyName);
68 
72  unsigned short[] zonesForProperty(DOMString propertyName);
73 
77  DOMString[] supportedProperties();
78 
82  void loadConfig(DOMString configFile);
83 
87  void loadModule(DOMString moduleFile);
88 
92  void log(DOMString text);
93 
97  QTimer createTimer();
98 
102  QObject createQObject();
103 
107  void getHistory(DOMString[] properties, Date begin, Date end, HistoryCallback callback);
108 
112  void createCustomProperty(DOMString name, any value, optional unsigned short zone);
113 
114 };
118 interface PropertyInterface {
122  readonly attribute DOMString type;
123 
127  readonly attribute unsigned short zone;
128 
132  readonly attribute any value;
133 
137  readonly attribute DOMString source;
138 
142  readonly attribute DOMTimestamp timestamp;
143 
147  readonly attribute Signal changed;
148 
153  void getHistory(Date begin, Date end, HistoryCallback callback);
154 };
155 
159 interface Signal {
164  void connect(ChangedCallback callback)
165 };
166 
167 callback ChangedCallback = void(any value); ();
168 
169 callback HistoryCallback = void(PropertyInterface[] data); ();
170