Revision ade6513a include/MarketPlaceManager.h
include/MarketPlaceManager.h | ||
---|---|---|
25 | 25 |
|
26 | 26 |
class MarketPlacePool; |
27 | 27 |
class MarketPlaceAppPool; |
28 |
class ImagePool; |
|
29 |
class DatastorePool; |
|
30 |
|
|
31 |
class ImageManager; |
|
28 | 32 |
|
29 | 33 |
class MarketPlaceManager : public MadManager, public ActionListener |
30 | 34 |
{ |
... | ... | |
36 | 40 |
* @param m, monitor_period to monitor marketplaces |
37 | 41 |
* @param mad, list of drivers for the manager |
38 | 42 |
*/ |
39 |
MarketPlaceManager( time_t t, time_t m, std::vector<const Attribute*>& mad);
|
|
43 |
MarketPlaceManager(time_t t, time_t m, std::vector<const Attribute*>& mad); |
|
40 | 44 |
|
41 | 45 |
~MarketPlaceManager(){}; |
42 | 46 |
|
43 | 47 |
/** |
48 |
* Initializes internal pointers to other managers. Must be called when |
|
49 |
* all the other managers exist in Nebula::instance |
|
50 |
*/ |
|
51 |
void init_managers(); |
|
52 |
|
|
53 |
/** |
|
44 | 54 |
* This functions starts the associated listener thread, and creates a |
45 | 55 |
* new thread for the MarketPlace Manager. This thread will wait in |
46 | 56 |
* an action loop till it receives ACTION_FINALIZE. |
... | ... | |
75 | 85 |
|
76 | 86 |
/** |
77 | 87 |
* Imports a new app into the marketplace. The marketplace app needs to |
78 |
* include the ORIGIN attribute so the driver can locate the app. An |
|
88 |
* include the ORIGIN_ID attribute so the driver can locate the app. An
|
|
79 | 89 |
* optional template maybe provided to export the app to a cloud. |
80 | 90 |
* @param appid of the app |
81 | 91 |
* @param market_data of the associated marketplace in XML format |
... | ... | |
142 | 152 |
*/ |
143 | 153 |
MarketPlaceAppPool * apppool; |
144 | 154 |
|
155 |
/** |
|
156 |
* Pointer to the image pool |
|
157 |
*/ |
|
158 |
ImagePool * ipool; |
|
159 |
|
|
160 |
/** |
|
161 |
* Pointer to the image pool |
|
162 |
*/ |
|
163 |
DatastorePool * dspool; |
|
164 |
|
|
165 |
/** |
|
166 |
* Pointer to the Image Manger |
|
167 |
*/ |
|
168 |
ImageManager * imagem; |
|
169 |
|
|
145 | 170 |
/** |
146 | 171 |
* Action engine for the Manager |
147 | 172 |
*/ |
Also available in: Unified diff