Ignore:
Timestamp:
07/31/19 13:51:01 (5 years ago)
Author:
yushan
Message:

backup for trunk with graph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/filter/output_pin.hpp

    r1654 r1686  
    44#include "garbage_collector.hpp" 
    55#include "input_pin.hpp" 
     6#include "duration.hpp" 
    67 
    78namespace xios 
    89{ 
     10  class CField; 
     11  class CInputPin; 
     12  class CFilter; 
     13  class CDuration; 
    914  /*! 
    1015   * An output pin handles the connections with downstream filters. 
     
    1318  { 
    1419    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 
    1530      /*! 
    1631       * Constructs an ouput pin with manual or automatic trigger 
     
    1934       * \param gc the garbage collector associated with this ouput pin 
    2035       * \param slotsCount the number of slots 
    21        * \param buildWorkflowGraph indicates whether data will be visualized 
    2236       */ 
    23       COutputPin(CGarbageCollector& gc, bool manualTrigger = false, bool buildWorkflowGraph = false); 
     37      COutputPin(CGarbageCollector& gc, bool manualTrigger = false); 
    2438 
    2539      StdString virtual GetName(void); 
     
    6983      void virtual invalidate(Time timestamp); 
    7084 
    71       /*! 
    72        * Returns filter's id needed in case of building workflow graph 
    73        */ 
    74       int getFilterId(); 
     85      void virtual setParentFiltersTag(); 
     86 
    7587 
    7688    protected: 
     
    97109      CGarbageCollector& gc; //!< The garbage collector associated to the output pin 
    98110 
    99       //! Whether the ouput should be triggered manually 
     111      //!< Whether the ouput should be triggered manually 
    100112      bool manualTrigger; 
    101113 
    102       //! The list of connected filters and the corresponding slot numbers 
     114      //!< The list of connected filters and the corresponding slot numbers 
    103115      std::vector<std::pair<std::shared_ptr<CInputPin>, size_t> > outputs; 
    104116 
    105117      //! Output buffer, store the packets until the output is triggered 
    106118      std::map<Time, CDataPacketPtr> outputPackets; 
    107  
    108       //! Indicates whether the workflow will be visualized 
    109       bool buildWorkflowGraph; 
    110  
    111       //! Filter's id needed in case of building a workflow graph 
    112       int filterId; 
    113  
    114  
    115119  }; // class COutputPin 
    116120} // namespace xios 
Note: See TracChangeset for help on using the changeset viewer.