Scippy

UG

Ubiquity Generator framework

ParaIsendRequest Class Reference

#include <paraIsendRequest.h>

Classes

union  ObjectPointer
 

Public Types

enum  DataType {
  ParaCHAR , ParaSHORT , ParaINT , ParaLONG ,
  ParaLONG_LONG , ParaSIGNED_CHAR , ParaUNSIGNED_CHAR , ParaUNSIGNED_SHORT ,
  ParaUNSIGNED , ParaUNSIGNED_LONG , ParaUNSIGNED_LONG_LONG , ParaFLOAT ,
  ParaDOUBLE , ParaLONG_DOUBLE , ParaBOOL , ParaBYTE
}
 

Public Member Functions

 ParaIsendRequest ()
 Constructor. More...
 
 ParaIsendRequest (DataType inDataType, MPI_Request *inReq, void *inObjectPointer)
 Constructor. More...
 
virtual ~ParaIsendRequest ()
 deconstructor delete the object after sending, however, only paraTask is not deleted because the object is saved in Pool after sending. More...
 
virtual void * buffer ()
 getter of pointer of object buffer More...
 
virtual bool test ()
 
virtual void wait ()
 

Public Attributes

enum UG::ParaIsendRequest::DataType dataType
 
MPI_Request * req
 
union UG::ParaIsendRequest::ObjectPointer objectPointer
 

Detailed Description

Definition at line 44 of file paraIsendRequest.h.

Member Enumeration Documentation

◆ DataType

enum DataType
Enumerator
ParaCHAR 
ParaSHORT 
ParaINT 
ParaLONG 
ParaLONG_LONG 
ParaSIGNED_CHAR 
ParaUNSIGNED_CHAR 
ParaUNSIGNED_SHORT 
ParaUNSIGNED 
ParaUNSIGNED_LONG 
ParaUNSIGNED_LONG_LONG 
ParaFLOAT 
ParaDOUBLE 
ParaLONG_DOUBLE 
ParaBOOL 
ParaBYTE 

Definition at line 47 of file paraIsendRequest.h.

Constructor & Destructor Documentation

◆ ParaIsendRequest() [1/2]

Constructor.

Definition at line 89 of file paraIsendRequest.h.

◆ ParaIsendRequest() [2/2]

◆ ~ParaIsendRequest()

virtual ~ParaIsendRequest ( )
virtual

deconstructor delete the object after sending, however, only paraTask is not deleted because the object is saved in Pool after sending.

Definition at line 198 of file paraIsendRequest.h.

References ParaIsendRequest::dataType, ParaIsendRequest::objectPointer, ParaIsendRequest::ParaBOOL, ParaIsendRequest::ParaBYTE, ParaIsendRequest::ParaCHAR, ParaIsendRequest::ParaDOUBLE, ParaIsendRequest::ParaFLOAT, ParaIsendRequest::ParaINT, ParaIsendRequest::ParaLONG, ParaIsendRequest::ParaLONG_DOUBLE, ParaIsendRequest::ParaLONG_LONG, ParaIsendRequest::ParaSHORT, ParaIsendRequest::ParaSIGNED_CHAR, ParaIsendRequest::ParaUNSIGNED, ParaIsendRequest::ParaUNSIGNED_CHAR, ParaIsendRequest::ParaUNSIGNED_LONG, ParaIsendRequest::ParaUNSIGNED_LONG_LONG, ParaIsendRequest::ParaUNSIGNED_SHORT, ParaIsendRequest::ObjectPointer::pBool, ParaIsendRequest::ObjectPointer::pByte, ParaIsendRequest::ObjectPointer::pChar, ParaIsendRequest::ObjectPointer::pDouble, ParaIsendRequest::ObjectPointer::pFloat, ParaIsendRequest::ObjectPointer::pInt, ParaIsendRequest::ObjectPointer::pLong, ParaIsendRequest::ObjectPointer::pLongDouble, ParaIsendRequest::ObjectPointer::pLongLong, ParaIsendRequest::ObjectPointer::pShort, ParaIsendRequest::ObjectPointer::pSignedChar, ParaIsendRequest::ObjectPointer::pUnsigned, ParaIsendRequest::ObjectPointer::pUnsignedChar, ParaIsendRequest::ObjectPointer::pUnsignedLong, ParaIsendRequest::ObjectPointer::pUnsignedLongLong, ParaIsendRequest::ObjectPointer::pUnsignedShort, and ParaIsendRequest::req.

Member Function Documentation

◆ buffer()

◆ test()

virtual bool test ( )
virtual

Definition at line 375 of file paraIsendRequest.h.

References MPI_CALL, and ParaIsendRequest::req.

Referenced by ParaCommMpi::testAllIsends().

◆ wait()

virtual void wait ( )
virtual

Definition at line 387 of file paraIsendRequest.h.

References MPI_CALL, and ParaIsendRequest::req.

Referenced by ParaCommMpi::waitAllIsends().

Member Data Documentation

◆ dataType

◆ objectPointer

◆ req

MPI_Request* req