Changeset 1853 for XIOS/dev/dev_ym/XIOS_COUPLING/src/filter
- Timestamp:
- 01/20/20 17:55:12 (4 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src/filter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/file_writer_filter.cpp
r1637 r1853 3 3 #include "field.hpp" 4 4 #include "utils.hpp" 5 #include "context_client.hpp" 5 6 6 7 namespace xios 7 8 { 8 CFileWriterFilter::CFileWriterFilter(CGarbageCollector& gc, CField* field )9 CFileWriterFilter::CFileWriterFilter(CGarbageCollector& gc, CField* field, CContextClient* client) 9 10 : CInputPin(gc, 1) 10 , field(field) 11 , field(field), client_(client) 11 12 { 12 13 if (!field) … … 34 35 } 35 36 36 field->sendUpdateData(dataArray );37 field->sendUpdateData(dataArray, client_); 37 38 } 38 39 -
XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/file_writer_filter.hpp
r1358 r1853 7 7 { 8 8 class CField; 9 class CContextClient ; 9 10 10 11 /*! … … 21 22 * \param field the associated field 22 23 */ 23 CFileWriterFilter(CGarbageCollector& gc, CField* field );24 CFileWriterFilter(CGarbageCollector& gc, CField* field, CContextClient* client); 24 25 25 26 /*! … … 47 48 private: 48 49 CField* field; //<! The associated field 50 CContextClient* client_ ; //! the associated context client 49 51 std::map<Time, CDataPacketPtr> packets; //<! The stored packets 50 52 }; // class CFileWriterFilter
Note: See TracChangeset
for help on using the changeset viewer.