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/store_filter.hpp

    r1653 r1686  
    33 
    44#include "input_pin.hpp" 
     5#include "workflow_graph.hpp" 
     6 
    57 
    68namespace xios 
     
    810  class CContext; 
    911  class CGrid; 
     12  class CField; 
    1013 
    1114  /*! 
     
    7376      void virtual invalidate(Time timestamp); 
    7477 
    75       /*! 
    76        * Returns filter's id needed in case of building workflow graph 
    77        */ 
    78       int getFilterId(); 
     78      int filterID; 
     79      int tag; 
     80      Time start_graph; 
     81      Time end_graph; 
     82      CField *field; 
     83      int distance; 
     84 
    7985 
    8086    protected: 
     
    8591       */ 
    8692      void virtual onInputReady(std::vector<CDataPacketPtr> data); 
     93      void virtual buildGraph(std::vector<CDataPacketPtr> data); 
    8794 
    8895    private: 
    89       CGarbageCollector& gc;            //!< The garbage collector associated to the filter 
    90       CContext* context;                //!< The context to which the data belongs 
    91       CGrid* grid;                      //!< The grid attached to the data the filter can accept 
    92       const bool detectMissingValues;   //!< Whether missing values should be detected 
    93       const double missingValue;        //!< The value to use to replace missing values 
     96      CGarbageCollector& gc; //!< The garbage collector associated to the filter 
     97      CContext* context; //!< The context to which the data belongs 
     98      CGrid* grid; //!< The grid attached to the data the filter can accept 
     99      const bool detectMissingValues; //!< Whether missing values should be detected 
     100      const double missingValue; //!< The value to use to replace missing values 
    94101      std::map<Time, CDataPacketPtr> packets; //<! The stored packets 
    95       int filterId;                     //!< Filter's id needed in case of building a workflow 
    96  
    97102  }; // class CStoreFilter 
    98103} // namespace xios 
Note: See TracChangeset for help on using the changeset viewer.