Ignore:
Timestamp:
09/11/19 10:22:09 (5 years ago)
Author:
yushan
Message:

Introducing the new graph functionality. Attribute build_workflow_graph=.TRUE. is used in the field definition section in the xml file to enable the workflow graph of the field and other fields referecing to it. A more detailed document will be available soon on the graph fuctionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/filter/file_writer_filter.hpp

    r1358 r1704  
    33 
    44#include "input_pin.hpp" 
     5#include "file.hpp" 
     6#include "duration.hpp" 
    57 
    68namespace xios 
     
    1416  { 
    1517    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 
    1625      /*! 
    1726       * Constructs the filter (with one input slot) associated to the specified field 
     
    2231       */ 
    2332      CFileWriterFilter(CGarbageCollector& gc, CField* field); 
     33 
     34      inline StdString GetName(void) {return "File writer filter";}; 
     35 
    2436 
    2537      /*! 
     
    4456       */ 
    4557      void virtual onInputReady(std::vector<CDataPacketPtr> data); 
     58      void virtual buildGraph(std::vector<CDataPacketPtr> data); 
    4659 
    4760    private: 
    48       CField* field; //<! The associated field 
    4961      std::map<Time, CDataPacketPtr> packets; //<! The stored packets 
    5062  }; // class CFileWriterFilter 
Note: See TracChangeset for help on using the changeset viewer.