Version: 8.3.0
SenderFactory Class Reference

This class implements the factory pattern of GoF by making a sender by giving an array and a communicator.It completely hides the type of sender from the user. More...

#include <SenderFactory.hxx>

Static Public Member Functions

static SALOME::SenderDouble_ptr buildSender (SALOMEMultiComm &multiCommunicator, const double *tab, long lgr, bool ownTab=false) throw (MultiCommException)
 
static SALOME::SenderInt_ptr buildSender (SALOMEMultiComm &multiCommunicator, const int *tab, long lgr, bool ownTab=false) throw (MultiCommException)
 
static SALOME::SenderDouble_ptr buildSender (SALOME::TypeOfCommunication NewType, SALOME_SenderDouble_i *src)
 
static SALOME::SenderInt_ptr buildSender (SALOME::TypeOfCommunication NewType, SALOME_SenderInt_i *src)
 

Detailed Description

This class implements the factory pattern of GoF by making a sender by giving an array and a communicator.It completely hides the type of sender from the user.

Member Function Documentation

SALOME::SenderDouble_ptr SenderFactory::buildSender ( SALOMEMultiComm multiCommunicator,
const double *  tab,
long  lgr,
bool  ownTab = false 
) throw (MultiCommException)
static
SALOME::SenderInt_ptr SenderFactory::buildSender ( SALOMEMultiComm multiCommunicator,
const int *  tab,
long  lgr,
bool  ownTab = false 
) throw (MultiCommException)
static
SALOME::SenderDouble_ptr SenderFactory::buildSender ( SALOME::TypeOfCommunication  NewType,
SALOME_SenderDouble_i src 
)
static
SALOME::SenderInt_ptr SenderFactory::buildSender ( SALOME::TypeOfCommunication  NewType,
SALOME_SenderInt_i src 
)
static