Changeset 1918 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/domain.hpp
- Timestamp:
- 07/16/20 17:18:01 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/domain.hpp
r1875 r1918 18 18 #include "server_distribution_description.hpp" 19 19 #include "mesh.hpp" 20 #include "element.hpp" 21 #include "local_connector.hpp" 22 #include "gatherer_connector.hpp" 20 23 21 24 namespace xios { … … 50 53 EVENT_ID_INDEX, EVENT_ID_LON, EVENT_ID_LAT, 51 54 EVENT_ID_AREA, 52 EVENT_ID_DATA_INDEX, EVENT_ID_SERVER_ATTRIBUT 55 EVENT_ID_DATA_INDEX, EVENT_ID_SERVER_ATTRIBUT, 56 EVENT_ID_DOMAIN_DISTRIBUTION 53 57 } ; 54 58 … … 216 220 private: 217 221 222 static void recvDomainDistribution(CEventServer& event) ; 223 void receivedDomainDistribution(CEventServer& event, int phasis) ; 224 225 226 void sendDomainDistribution(CContextClient* client, const string& domainId="") ; //for testing 218 227 void sendAttributes(); // ym obsolete -> to be removed 219 228 void sendIndex(CContextClient* client, const string& domainId=""); … … 301 310 static bool _dummyTransformationMapList; 302 311 312 313 private: 314 CLocalElement* localElement_ = nullptr ; 315 void initializeLocalElement(void) ; 316 317 public: 318 CLocalElement* getLocalElement(void) { if (localElement_==nullptr) initializeLocalElement() ; return localElement_ ; } 319 CLocalView* getLocalView(CElementView::type type) { return getLocalElement()->getView(type) ;} 320 321 private: 322 void addFullView(void) ; 323 void addWorkflowView(void) ; 324 void addModelView(void) ; 325 326 private: 327 CLocalConnector* modelToWorkflowConnector_ ; 328 void computeModelToWorkflowConnector(void) ; 329 CGathererConnector* gathererConnector_ ; 330 331 public: 332 CLocalConnector* getModelToWorkflowConnector(void) { if (modelToWorkflowConnector_==nullptr) computeModelToWorkflowConnector() ; return modelToWorkflowConnector_ ;} 333 303 334 DECLARE_REF_FUNC(Domain,domain) 304 335
Note: See TracChangeset
for help on using the changeset viewer.