Changeset 1930 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/field.hpp
- Timestamp:
- 09/10/20 13:51:02 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/field.hpp
r1883 r1930 19 19 #include "pass_through_filter.hpp" 20 20 #include "temporal_filter.hpp" 21 22 23 24 namespace xios { 21 #include "model_to_client_source_filter.hpp" 22 #include "client_from_client_source_filter.hpp" 23 #include "client_from_server_source_filter.hpp" 24 #include "client_to_model_store_filter.hpp" 25 26 27 28 29 namespace xios 30 { 25 31 26 32 /// ////////////////////// Déclarations ////////////////////// /// … … 40 46 class COutputPin; 41 47 class CSourceFilter; 42 class CStoreFilter;43 48 class CFileWriterFilter; 44 49 class CFileServerWriterFilter; 45 class CFile ServerReaderFilter;50 class CFileReaderSourceFilter; 46 51 class CServerToClientFilter; 52 class CModelToClientSourceFilter; 53 class CServerFromClientSourceFilter; 47 54 ///-------------------------------------------------------------- 48 55 … … 66 73 typedef CFieldAttributes SuperClassAttribute; 67 74 75 public : 68 76 enum EReadField 69 77 { … … 188 196 189 197 static void recvUpdateData(CEventServer& event); 190 void recvUpdateData(std::map<int,CBufferIn*>& rankBuffers); 191 void recvUpdateDataFromClient(std::map<int,CBufferIn*>& rankBuffers); 192 void recvUpdateDataFromCoupler(std::map<int,CBufferIn*>& rankBuffers); 198 void receiveUpdateData(CEventServer& event); 199 200 void recvUpdateData(std::map<int,CBufferIn*>& rankBuffers); // old interface to be removed 201 void recvUpdateDataFromClient(std::map<int,CBufferIn*>& rankBuffers); // old interface to be removed 202 void recvUpdateDataFromCoupler(std::map<int,CBufferIn*>& rankBuffers); // old interface to be removed 193 203 194 204 void writeField(const CArray<double,1>& data); … … 196 206 bool sendReadDataRequestIfNeeded(void); 197 207 static void recvReadDataRequest(CEventServer& event); 198 void recvReadDataRequest( CContextServer* server);208 void recvReadDataRequest(void); 199 209 EReadField readField(CArray<double,1>& data); 200 210 static void recvReadDataReady(CEventServer& event); 201 void recvReadDataReady(vector<int> ranks, vector<CBufferIn*> buffers); 202 void recvDataFromCoupler(vector<int> ranks, vector<CBufferIn*> buffers) ; 211 void receiveReadDataReady(CEventServer& event); 212 void recvReadDataReady(vector<int> ranks, vector<CBufferIn*> buffers); // old interface to remove 213 void recvDataFromCoupler(vector<int> ranks, vector<CBufferIn*> buffers) ; // old interface to remove 203 214 void checkForLateDataFromServer(void); 204 215 void checkForLateDataFromCoupler(void) ; … … 393 404 394 405 //! The source filter for data provided by the client 395 std::shared_ptr<CSourceFilter> clientSourceFilter; 396 406 std::shared_ptr<CSourceFilter> clientSourceFilter; // obsolete to remove 407 408 //! The source filter for data provided by the model to enter the client workflow 409 std::shared_ptr<CModelToClientSourceFilter> modelToClientSourceFilter_; 410 411 //! The source filter for data provided by the model to enter the client workflow 412 std::shared_ptr<CClientToModelStoreFilter> clientToModelStoreFilter_; 413 414 //! The source filter for data provided by the client that send data to server workflow 415 std::shared_ptr<CServerFromClientSourceFilter> serverFromClientSourceFilter_; 416 417 //! The source filter for data provided by an other to enter the current client workflow (coupling mode) 418 std::shared_ptr<CClientFromClientSourceFilter> clientFromClientSourceFilter_; 419 420 //! The source filter for data provided by server to enter the current client workflow (reading mode) 421 std::shared_ptr<CClientFromServerSourceFilter> clientFromServerSourceFilter_; 422 423 //! The source filter for data read from file on server side 424 std::shared_ptr<CFileReaderSourceFilter> fileReaderSourceFilter_; 425 397 426 //! The source filter for data provided by the server 398 std::shared_ptr<CSourceFilter> serverSourceFilter; 399 400 //! The terminal filter which stores the instant data 401 std::shared_ptr<CStoreFilter> storeFilter; 427 std::shared_ptr<CSourceFilter> serverSourceFilter; // obsolete to remove 402 428 403 429 //! The terminal filter which writes the data to file … … 407 433 std::shared_ptr<CFileServerWriterFilter> fileServerWriterFilter; 408 434 409 //! The source filter which read data from file 410 std::shared_ptr<CFileServerReaderFilter> fileServerReaderFilter_; 411 412 //! The terminal filter which send data from file server to client 435 //! The terminal filter which send data from server to client 413 436 std::shared_ptr<CServerToClientFilter> serverToClientFilter_; 414 437
Note: See TracChangeset
for help on using the changeset viewer.