source: XIOS3/trunk/src/filter/client_online_writer_filter.hpp @ 2507

Last change on this file since 2507 was 2507, checked in by ymipsl, 13 months ago

Merging XIOS3_ATTACHED branch into XIOS3 trunk.

YM

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#ifndef __XIOS_CLIENT_ONLINE_WRITER_FILTER__
2#define __XIOS_CLIENT_ONLINE_WRITER_FILTER__
3
4#include <map>
5
6#include "output_pin.hpp"
7#include "event_server.hpp"
8#include "context_client.hpp"
9#include "calendar_util.hpp"
10
11
12namespace xios
13{
14  class CGrid;
15  class CField;
16  class CGridRedistributeFilter ;
17  class CFileWriterStoreFilter ;
18
19  /*!
20   * A source filter is the entry point of the data in the graph of filters.
21   */
22  class CClientOnlineWriterFilter : public CFilter, public IFilterEngine
23  {
24    public:
25      /*!
26       * Constructs a source filter accepting data attached to the specified grid.
27       *
28       * \param gc the garbage collector associated with this filter
29       * \param field associated to the filter
30       */
31      CClientOnlineWriterFilter(CGarbageCollector& gc, CField* field);
32      CDataPacketPtr apply(std::vector<CDataPacketPtr> data) ;
33     private:
34
35      std::shared_ptr<CGridRedistributeFilter> redistributeFilter_ ;
36      std::shared_ptr<CFileWriterStoreFilter> fileWriterStoreFilter_ ; 
37  }; // class CClientFromServerSourceFilter
38} // namespace xios
39
40#endif // __XIOS_ONLINE_WRITER_FILTER__
Note: See TracBrowser for help on using the repository browser.