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/server_from_client_source_filter.cpp

    r1930 r2143  
    44#include "calendar_util.hpp" 
    55#include "context.hpp" 
    6  
     6#include "workflow_graph.hpp" 
    77 
    88namespace xios 
     
    2727    grid_->getServerFromClientConnector()->transfer(event,packet->data) ; 
    2828 
     29    if(this->graphEnabled) 
     30    { 
     31      this->graphPackage->filterId = CWorkflowGraph::getNodeSize(); 
     32      packet->graphPackage = new CGraphDataPackage; 
     33      packet->graphPackage->fromFilter = this->graphPackage->filterId; 
     34      packet->graphPackage->currentField = this->graphPackage->inFields[0]; 
     35      CWorkflowGraph::addNode("Server from Client Source filter", 1, false, 0, packet); 
     36    } 
    2937    onOutputReady(packet); 
    3038  } 
Note: See TracChangeset for help on using the changeset viewer.