Ignore:
Timestamp:
06/04/21 11:54:38 (3 years ago)
Author:
yushan
Message:

Big commit on graph functionality. Add buildWorkflowGraph function for filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/client_to_model_store_filter.cpp

    r1930 r2143  
    44#include "timer.hpp" 
    55#include "tracer.hpp" 
     6#include "workflow_graph.hpp" 
    67 
    78namespace xios 
     
    910  CClientToModelStoreFilter::CClientToModelStoreFilter(CGarbageCollector& gc, CField* field) 
    1011    : CInputPin(gc, 1) 
    11     , gc_(gc) 
     12    , gc_(gc), graphEnabled(false) 
    1213  { 
    1314    context_ = CContext::getCurrent() ; 
     
    107108    } 
    108109 
     110    if(this->graphEnabled) 
     111    { 
     112      this->graphPackage->filterId = CWorkflowGraph::getNodeSize(); 
     113      CWorkflowGraph::addNode("Client to Model Store filter", 5, true, 1, packet); 
     114    } 
     115 
     116 
    109117    packets_.insert(std::make_pair(packet->timestamp, packet)); 
    110118    // The packet is always destroyed by the garbage collector 
Note: See TracChangeset for help on using the changeset viewer.