Changeset 1681 for XIOS/dev/dev_trunk_omp/src/filter/store_filter.cpp
- Timestamp:
- 07/19/19 15:28:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/filter/store_filter.cpp
r1680 r1681 89 89 template CDataPacket::StatusCode CStoreFilter::getData<7>(Time timestamp, CArray<double, 7>& data); 90 90 91 void CStoreFilter:: onInputReady(std::vector<CDataPacketPtr> data)91 void CStoreFilter::buildGraph(std::vector<CDataPacketPtr> data) 92 92 { 93 94 93 bool building_graph = this->tag ? data[0]->timestamp >= this->start_graph && data[0]->timestamp <= this->end_graph : false; 95 94 … … 101 100 CWorkflowGraph::allocNodeEdge(); 102 101 103 CWorkflowGraph::addNode(this->filterID, "Store Filter", 4, 1, 1, data[0]); 104 (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].attributes = this->field->recordXiosAttributes(); 105 if(this->field->file) (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].attributes += "</br>file attributes : </br>" +this->field->file->recordXiosAttributes(); 102 CWorkflowGraph::addNode(this->filterID, "Store Filter", 7, 1, 1, data[0]); 103 (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].distance = ++(data[0]->distance); 104 (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].attributes = this->field->record4graphXiosAttributes(); 105 if(this->field->file) (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].attributes += "</br>file attributes : </br>" +this->field->file->record4graphXiosAttributes(); 106 106 107 107 // if(CXios::isClient) std::cout<<"CStoreFilter::apply filter tag = "<<this->tag<<std::endl; … … 114 114 else CWorkflowGraph::build_begin = true; 115 115 } 116 } 116 117 117 118 void CStoreFilter::onInputReady(std::vector<CDataPacketPtr> data) 119 { 120 buildGraph(data); 118 121 119 122 CDataPacketPtr packet;
Note: See TracChangeset
for help on using the changeset viewer.