50 #ifndef PrivateBaseManager_H_
51 #define PrivateBaseManager_H_
53 #include "system/thread/Thread.h"
54 using namespace ::br::pucrio::telemidia::ginga::core::system::thread;
56 #include "IPrivateBaseManager.h"
57 #include "PrivateBaseContext.h"
66 map<string, PrivateBaseContext*> privateBases;
67 pthread_mutex_t mutexTable;
73 void createPrivateBase(
string id);
74 void releasePrivateBases();
76 NclDocument* addDocument(
77 string id,
string location, IDeviceLayout* deviceLayout);
79 NclDocument* embedDocument(
84 IDeviceLayout* deviceLayout);
86 void* addVisibleDocument(
87 string id,
string location, IDeviceLayout* deviceLayout);
89 string getDocumentLocation(
string id,
string docId);
90 string getEmbeddedDocumentLocation(
91 string baseId,
string parentDocId,
string nodeId);
93 NclDocument* getDocument(
string id,
string docId);
94 NclDocument* getEmbeddedDocument(
95 string baseId,
string parendDocId,
string nodeId);
97 vector<NclDocument*>* getDocuments(
string id);
98 NclDocument* removeDocument(
string id,
string docId);
99 NclDocument* removeEmbeddedDocument(
100 string baseId,
string parentDocId,
string nodeId);
102 LayoutRegion* addRegion(
109 LayoutRegion* removeRegion(
115 RegionBase* addRegionBase(
118 string xmlRegionBase);
120 RegionBase* removeRegionBase(
123 string regionBaseId);
135 RuleBase* addRuleBase(
140 RuleBase* removeRuleBase(
145 Transition* addTransition(
148 string xmlTransition);
150 Transition* removeTransition(
153 string transitionId);
155 TransitionBase* addTransitionBase(
158 string xmlTransitionBase);
160 TransitionBase* removeTransitionBase(
163 string transitionBaseId);
165 Connector* addConnector(
168 string xmlConnector);
170 Connector* removeConnector(
175 ConnectorBase* addConnectorBase(
178 string xmlConnectorBase);
180 ConnectorBase* removeConnectorBase(
183 string connectorBaseId);
185 GenericDescriptor* addDescriptor(
188 string xmlDescriptor);
190 GenericDescriptor* removeDescriptor(
193 string descriptorId);
195 DescriptorBase* addDescriptorBase(
198 string xmlDescriptorBase);
200 DescriptorBase* removeDescriptorBase(
203 string descriptorBaseId);
209 string xmlImportBase);
211 Base* removeImportBase(
217 NclDocument* addImportedDocumentBase(
220 string xmlImportedDocumentBase);
222 NclDocument* removeImportedDocumentBase(
225 string importedDocumentBaseId);
227 NclDocument* addImportNCL(
230 string xmlImportNCL);
232 NclDocument* removeImportNCL(
243 InterfacePoint* addInterface(
247 string xmlInterface);
259 PrivateBase* getPrivateBase(
string id);
Definition: IPrivateBaseManager.h:61
Definition: PrivateBaseManager.h:64
Definition: PrivateBaseContext.h:112