source: XIOS/trunk/src/event_server.hpp @ 501

Last change on this file since 501 was 501, checked in by ymipsl, 10 years ago

Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src

XIOS is now officialy under CeCILL licence

YM

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 584 bytes
Line 
1#ifndef __EVENT_SERVER_HPP__
2#define __EVENT_SERVER_HPP__
3
4#include "xmlioserver_spl.hpp"
5#include "buffer_in.hpp"
6#include "buffer_server.hpp"
7
8namespace xios
9{
10
11  class CEventServer
12  {
13    public:
14   
15    int classId ;
16    int type ;
17    int nbSender ;
18
19
20    void push(int rank,CServerBuffer* serverBuffer ,char* startBuffer,int size) ;
21
22    struct SSubEvent
23    {
24      int rank ;
25      CServerBuffer* serverBuffer ;
26      CBufferIn*  buffer ;
27      int size ;
28    } ;
29   
30    list<SSubEvent> subEvents ;   
31   
32    bool isFull(void) ;
33    ~CEventServer() ; 
34  } ;
35
36}
37
38#endif
Note: See TracBrowser for help on using the repository browser.