Changeset 1686 for XIOS/dev/dev_olga/src/filter/output_pin.hpp
- Timestamp:
- 07/31/19 13:51:01 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/filter/output_pin.hpp
r1654 r1686 4 4 #include "garbage_collector.hpp" 5 5 #include "input_pin.hpp" 6 #include "duration.hpp" 6 7 7 8 namespace xios 8 9 { 10 class CField; 11 class CInputPin; 12 class CFilter; 13 class CDuration; 9 14 /*! 10 15 * An output pin handles the connections with downstream filters. … … 13 18 { 14 19 public: 20 int tag; 21 Time start_graph; 22 Time end_graph; 23 CField *field; 24 int distance; 25 26 27 28 std::vector< std::shared_ptr<COutputPin> > parent_filters; 29 15 30 /*! 16 31 * Constructs an ouput pin with manual or automatic trigger … … 19 34 * \param gc the garbage collector associated with this ouput pin 20 35 * \param slotsCount the number of slots 21 * \param buildWorkflowGraph indicates whether data will be visualized22 36 */ 23 COutputPin(CGarbageCollector& gc, bool manualTrigger = false , bool buildWorkflowGraph = false);37 COutputPin(CGarbageCollector& gc, bool manualTrigger = false); 24 38 25 39 StdString virtual GetName(void); … … 69 83 void virtual invalidate(Time timestamp); 70 84 71 /*! 72 * Returns filter's id needed in case of building workflow graph 73 */ 74 int getFilterId(); 85 void virtual setParentFiltersTag(); 86 75 87 76 88 protected: … … 97 109 CGarbageCollector& gc; //!< The garbage collector associated to the output pin 98 110 99 //! Whether the ouput should be triggered manually111 //!< Whether the ouput should be triggered manually 100 112 bool manualTrigger; 101 113 102 //! The list of connected filters and the corresponding slot numbers114 //!< The list of connected filters and the corresponding slot numbers 103 115 std::vector<std::pair<std::shared_ptr<CInputPin>, size_t> > outputs; 104 116 105 117 //! Output buffer, store the packets until the output is triggered 106 118 std::map<Time, CDataPacketPtr> outputPackets; 107 108 //! Indicates whether the workflow will be visualized109 bool buildWorkflowGraph;110 111 //! Filter's id needed in case of building a workflow graph112 int filterId;113 114 115 119 }; // class COutputPin 116 120 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.