source: XIOS/dev/dev_olga/src/filter/pass_through_filter.cpp @ 1653

Last change on this file since 1653 was 1653, checked in by oabramkina, 5 years ago

Developments for visualization of XIOS workflow.

Branch is spawned from trunk r1649.

Boost library is used for producing Graphviz DOT files. Current results: a DOT file representing a static workflow. For a complete proof of concept, DOT files for each timestamp should be generated. The necessary information has been collected by XIOS, it only requires rearranging the information for graphing (changes in classes CWorkflowGraph and CGraphviz).

File size: 353 bytes
Line 
1#include "pass_through_filter.hpp"
2
3namespace xios
4{
5  CPassThroughFilter::CPassThroughFilter(CGarbageCollector& gc, bool buildWorkflowGraph /*= false*/)
6    : CFilter(gc, 1, this, buildWorkflowGraph)
7  { /* Nothing to do */ }
8
9  CDataPacketPtr CPassThroughFilter::apply(std::vector<CDataPacketPtr> data)
10  {
11    return data[0];
12  }
13} // namespace xios
Note: See TracBrowser for help on using the repository browser.