XIOS  1.0
Xml I/O Server
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Amis Macros
buffer_client.hpp
Aller à la documentation de ce fichier.
1 #ifndef __BUFFER_CLIENT_HPP__
2 #define __BUFFER_CLIENT_HPP__
3 
4 #include "xios_spl.hpp"
5 #include "buffer_out.hpp"
6 #include "mpi.hpp"
7 #include "cxios.hpp"
8 
9 namespace xios
10 {
12  {
13  public:
14  static size_t maxRequestSize;
15 
18 
19  bool isBufferFree(StdSize size);
21  bool checkBuffer(void);
22  bool hasPendingRequest(void);
23  StdSize remain(void);
24 
25  private:
26  char* buffer[2];
27 
28  int current;
29 
36 
37 
38  const int serverRank;
39  bool pending;
40 
41  MPI_Request request;
42 
44  const MPI_Comm interComm;
45  };
46 }
47 #endif
StdSize remain(void)
CClientBuffer(MPI_Comm intercomm, int serverRank, StdSize bufferSize, StdSize estimatedMaxEventSize, StdSize maxBufferedEvents)
bool hasPendingRequest(void)
#define xios(arg)
CBufferOut * getBuffer(StdSize size)
CBufferOut * retBuffer
std::size_t StdSize
Definition: xios_spl.hpp:49
bool isBufferFree(StdSize size)
const MPI_Comm interComm
const StdSize maxBufferedEvents
static size_t maxRequestSize
const StdSize estimatedMaxEventSize
const StdSize bufferSize