Changeset 1686 for XIOS/dev/dev_olga/src/filter/file_writer_filter.hpp
- Timestamp:
- 07/31/19 13:51:01 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/filter/file_writer_filter.hpp
r1654 r1686 3 3 4 4 #include "input_pin.hpp" 5 #include "file.hpp" 6 #include "duration.hpp" 5 7 6 8 namespace xios … … 14 16 { 15 17 public: 18 int tag; 19 Time start_graph; 20 Time end_graph; 21 CField* field; //<! The associated field 22 int filterID; 23 int distance; 24 16 25 /*! 17 26 * Constructs the filter (with one input slot) associated to the specified field … … 20 29 * \param gc the associated garbage collector 21 30 * \param field the associated field 22 * \param[in] buildWorkflowGraph indicates whether the workflow will be visualized23 31 */ 24 CFileWriterFilter(CGarbageCollector& gc, CField* field , bool buildWorkflowGraph = false);32 CFileWriterFilter(CGarbageCollector& gc, CField* field); 25 33 26 inline StdString GetName(void) {return StdString("File writer filter");}; 34 inline StdString GetName(void) {return "File writer filter";}; 35 27 36 28 37 /*! … … 40 49 bool virtual isDataExpected(const CDate& date) const; 41 50 42 /*!43 * Returns filter's id needed in case of building workflow graph44 */45 int getFilterId();46 47 51 protected: 48 52 /*! … … 52 56 */ 53 57 void virtual onInputReady(std::vector<CDataPacketPtr> data); 58 void virtual buildGraph(std::vector<CDataPacketPtr> data); 54 59 55 60 private: 56 CField* field; //<! The associated field57 61 std::map<Time, CDataPacketPtr> packets; //<! The stored packets 58 int filterId; //<! Filter's id needed in case of building a workflow59 60 62 }; // class CFileWriterFilter 61 63 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.