ESyS-Particle
4.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
tml
message
message.h
1
2
// //
3
// Copyright (c) 2003-2011 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
10
// //
12
13
#ifndef __MESSAGE_H
14
#define __MESSAGE_H
15
16
#include <mpi.h>
25
class
TML_Message
26
{
27
protected
:
28
MPI_Status m_status;
29
30
public
:
31
virtual
~
TML_Message
(){};
32
33
virtual
void
clear()=0;
34
virtual
size_t
size();
35
template
<
class
T>
virtual
void
append(T)=0;
36
template
<
class
T>
virtual
pop(T&)=0;
37
const
MPI_Status& status(){
return
m_status;};
38
};
39
#endif // __MESSAGE_H
Generated on Mon Jun 4 2012 22:48:26 for ESyS-Particle by
1.8.1