Changeset 1166
- Timestamp:
- 06/09/17 14:29:45 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/field.cpp
r1158 r1166 933 933 } 934 934 } 935 } 936 937 // If the field data is to be read by the client or/and written to a file938 if (enableOutput && !storeFilter && !fileWriterFilter)939 {940 if (!read_access.isEmpty() && read_access)941 {942 storeFilter = boost::shared_ptr<CStoreFilter>(new CStoreFilter(gc, CContext::getCurrent(), grid));943 instantDataFilter->connectOutput(storeFilter, 0);944 } 945 946 if (file && (file->mode.isEmpty() || file->mode == CFile::mode_attr::write))947 {948 fileWriterFilter = boost::shared_ptr<CFileWriterFilter>(new CFileWriterFilter(gc, this));949 getTemporalDataFilter(gc, file->output_freq)->connectOutput(fileWriterFilter, 0);935 936 // If the field data is to be read by the client or/and written to a file 937 if (enableOutput && !storeFilter && !fileWriterFilter) 938 { 939 if (!read_access.isEmpty() && read_access) 940 { 941 storeFilter = boost::shared_ptr<CStoreFilter>(new CStoreFilter(gc, CContext::getCurrent(), grid)); 942 instantDataFilter->connectOutput(storeFilter, 0); 943 } 944 945 if (file && (file->mode.isEmpty() || file->mode == CFile::mode_attr::write)) 946 { 947 fileWriterFilter = boost::shared_ptr<CFileWriterFilter>(new CFileWriterFilter(gc, this)); 948 getTemporalDataFilter(gc, file->output_freq)->connectOutput(fileWriterFilter, 0); 949 } 950 950 } 951 951 }
Note: See TracChangeset
for help on using the changeset viewer.