Changeset 1704 for XIOS/trunk/src/filter/output_pin.cpp
- Timestamp:
- 09/11/19 10:22:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/filter/output_pin.cpp
r1542 r1704 1 1 #include "output_pin.hpp" 2 2 #include "exception.hpp" 3 #include "workflow_graph.hpp" 3 4 4 5 namespace xios … … 7 8 : gc(gc) 8 9 , manualTrigger(manualTrigger) 9 { /* Nothing to do */ } 10 { } 11 12 StdString COutputPin::GetName(void) 13 { 14 return StdString("Output pin"); 15 } 10 16 11 17 void COutputPin::connectOutput(std::shared_ptr<CInputPin> inputPin, size_t inputSlot) … … 101 107 outputPackets.erase(outputPackets.begin(), outputPackets.lower_bound(timestamp)); 102 108 } 109 110 void COutputPin::setParentFiltersTag() 111 { 112 for(int i=0; i<parent_filters.size(); i++) 113 { 114 115 if(parent_filters[i]->start_graph<0) parent_filters[i]->start_graph = start_graph; 116 else parent_filters[i]->start_graph = min(parent_filters[i]->start_graph, start_graph); 117 118 119 if(parent_filters[i]->end_graph<0) parent_filters[i]->end_graph = end_graph; 120 else parent_filters[i]->end_graph = max(parent_filters[i]->end_graph, end_graph); 121 122 123 parent_filters[i]->tag += tag; 124 parent_filters[i]->setParentFiltersTag(); 125 } 126 } 127 128 129 130 103 131 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.