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_to_client_store_filter.cpp

    r2130 r2143  
    55#include "utils.hpp" 
    66#include "context_client.hpp" 
     7#include "workflow_graph.hpp" 
    78 
    89namespace xios 
     
    1011  CServerToClientStoreFilter::CServerToClientStoreFilter(CGarbageCollector& gc, CField* field, CContextClient* client) 
    1112    : CInputPin(gc, 1) 
    12     , field_(field), client_(client) 
     13    , field_(field), client_(client), graphEnabled(false) 
    1314  { 
    1415    if (!field) ERROR("CServerToClientFilter::CServerToClientFilter(CField* field)", "The field cannot be null."); 
     
    2728    CMessage msg ; 
    2829    msg<<field_->getId() ; 
     30 
     31    if(this->graphEnabled) 
     32    { 
     33      CWorkflowGraph::addNode("Server to Client Store filter", 5, true, 1, packets[0]); 
     34    } 
    2935 
    3036    if (isEOF)  
Note: See TracChangeset for help on using the changeset viewer.