Scippy

UG

Ubiquity Generator framework

paraComm.h File Reference

Base class of communicator for UG Framework. More...

#include <sstream>
#include "paraDef.h"
#include "paraTagDef.h"
#include "paraParamSet.h"

Go to the source code of this file.

Classes

class  ParaComm
 Base class of communicator object. More...
 

Namespaces

namespace  UG
 

Macros

#define PARA_COMM_CALL(paracommcall)
 

Variables

static const int TYPE_FIRST = 0
 standard transfer data types More...
 
static const int ParaCHAR = TYPE_FIRST + 0
 
static const int ParaSHORT = TYPE_FIRST + 1
 
static const int ParaINT = TYPE_FIRST + 2
 
static const int ParaLONG = TYPE_FIRST + 3
 
static const int ParaLONG_LONG = TYPE_FIRST + 4
 
static const int ParaSIGNED_CHAR = TYPE_FIRST + 5
 
static const int ParaUNSIGNED_CHAR = TYPE_FIRST + 6
 
static const int ParaUNSIGNED_SHORT = TYPE_FIRST + 7
 
static const int ParaUNSIGNED = TYPE_FIRST + 8
 
static const int ParaUNSIGNED_LONG = TYPE_FIRST + 9
 
static const int ParaUNSIGNED_LONG_LONG = TYPE_FIRST + 10
 
static const int ParaFLOAT = TYPE_FIRST + 11
 
static const int ParaDOUBLE = TYPE_FIRST + 12
 
static const int ParaLONG_DOUBLE = TYPE_FIRST + 13
 
static const int ParaBOOL = TYPE_FIRST + 14
 
static const int ParaBYTE = TYPE_FIRST + 15
 
static const int TYPE_LAST = TYPE_FIRST + 15
 
static const int TYPE_LIST_SIZE = TYPE_LAST - TYPE_FIRST + 1
 
static const int NumMaxWorkers = 20000
 

Detailed Description

Base class of communicator for UG Framework.

Author
Yuji Shinano

Definition in file paraComm.h.

Macro Definition Documentation

◆ PARA_COMM_CALL

#define PARA_COMM_CALL (   paracommcall)
Value:
{ \
int _status = paracommcall; \
if( _status ) \
{ \
std::ostringstream s_; \
s_ << "[PARA_COMM_CALL ERROR: " << __FILE__ << "] func = " \
<< __func__ << ", line = " << __LINE__ << ": " \
<< "error_code = " << _status << std::endl; \
throw std::logic_error( s_.str() ); \
}\
}

Definition at line 47 of file paraComm.h.