OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
DataConnectCreator Class Reference

#include <DataConnectCreator.h>

Collaboration diagram for DataConnectCreator:
Collaboration graph
[legend]

Public Member Functions

 DataConnectCreator ()
 
 ~DataConnectCreator ()
 

Static Public Member Functions

static int getNumMethods ()
 
static const char * getMethodName (int)
 
static const char * getAllMethodNames ()
 
static int getDefaultMethod ()
 
static const char * getDefaultMethodName ()
 
static bool supported (int)
 
static bool supported (const char *nm)
 
static bool known (int)
 
static bool known (const char *nm)
 
static DataConnectcreate (int, const char *, int=0)
 
static DataConnectcreate (const char *nm1, const char *nm2, int n=0)
 
static DataConnectcreate (const char *nm, int n=0)
 
static DataConnectcreate ()
 
static bool setDefaultMethod (int)
 
static bool setDefaultMethod (const char *nm)
 
static void setDefaultNodes (int)
 
static int getDefaultNodes ()
 

Static Private Member Functions

static int libindex (const char *)
 

Static Private Attributes

static int DefaultMethod = CONNECTMETHODS - 1
 
static DataConnectDefaultConnection = 0
 
static int InstanceCount = 0
 
static int ConnectNodes = 1
 

Detailed Description

Definition at line 35 of file DataConnectCreator.h.

Constructor & Destructor Documentation

DataConnectCreator::DataConnectCreator ( )

Definition at line 59 of file DataConnectCreator.cpp.

References InstanceCount.

DataConnectCreator::~DataConnectCreator ( )

Definition at line 68 of file DataConnectCreator.cpp.

References DefaultConnection, and InstanceCount.

Member Function Documentation

DataConnect * DataConnectCreator::create ( int  cm,
const char *  nm,
int  n = 0 
)
static

Definition at line 137 of file DataConnectCreator.cpp.

References endl(), ERRORMSG, getDefaultNodes(), getMethodName(), Hypervolume::n, and DataSource::OUTPUT.

Here is the call graph for this function:

static DataConnect* DataConnectCreator::create ( const char *  nm1,
const char *  nm2,
int  n = 0 
)
inlinestatic

Definition at line 82 of file DataConnectCreator.h.

References create(), libindex(), and Hypervolume::n.

Here is the call graph for this function:

static DataConnect* DataConnectCreator::create ( const char *  nm,
int  n = 0 
)
inlinestatic

Definition at line 87 of file DataConnectCreator.h.

References create(), DefaultMethod, and Hypervolume::n.

Here is the call graph for this function:

DataConnect * DataConnectCreator::create ( )
static

Definition at line 170 of file DataConnectCreator.cpp.

References DefaultConnection, DefaultMethod, and getMethodName().

Referenced by DataSource::connect(), and create().

Here is the call graph for this function:

const char * DataConnectCreator::getAllMethodNames ( )
static

Definition at line 97 of file DataConnectCreator.cpp.

Referenced by IpplInfo::IpplInfo(), and IpplInfo::printHelp().

static int DataConnectCreator::getDefaultMethod ( )
inlinestatic

Definition at line 56 of file DataConnectCreator.h.

References DefaultMethod.

static const char* DataConnectCreator::getDefaultMethodName ( )
inlinestatic

Definition at line 61 of file DataConnectCreator.h.

References DefaultMethod, and getMethodName().

Here is the call graph for this function:

int DataConnectCreator::getDefaultNodes ( )
static

Definition at line 214 of file DataConnectCreator.cpp.

References ConnectNodes, and IpplInfo::getNodes().

Referenced by create(), and DataConnect::DataConnect().

Here is the call graph for this function:

const char * DataConnectCreator::getMethodName ( int  n)
static

Definition at line 86 of file DataConnectCreator.cpp.

References Hypervolume::n.

Referenced by create(), getDefaultMethodName(), and libindex().

int DataConnectCreator::getNumMethods ( )
static

Definition at line 78 of file DataConnectCreator.cpp.

bool DataConnectCreator::known ( int  cm)
static

Definition at line 121 of file DataConnectCreator.cpp.

Referenced by IpplInfo::IpplInfo(), known(), and supported().

bool DataConnectCreator::known ( const char *  nm)
static

Definition at line 129 of file DataConnectCreator.cpp.

References known(), and libindex().

Here is the call graph for this function:

int DataConnectCreator::libindex ( const char *  nm)
staticprivate

Definition at line 193 of file DataConnectCreator.cpp.

References getMethodName().

Referenced by create(), known(), setDefaultMethod(), and supported().

Here is the call graph for this function:

bool DataConnectCreator::setDefaultMethod ( int  cm)
static

Definition at line 181 of file DataConnectCreator.cpp.

References DefaultMethod, and supported().

Referenced by IpplInfo::IpplInfo(), and setDefaultMethod().

Here is the call graph for this function:

static bool DataConnectCreator::setDefaultMethod ( const char *  nm)
inlinestatic

Definition at line 105 of file DataConnectCreator.h.

References libindex(), and setDefaultMethod().

Here is the call graph for this function:

void DataConnectCreator::setDefaultNodes ( int  n)
static

Definition at line 207 of file DataConnectCreator.cpp.

References ConnectNodes, and Hypervolume::n.

Referenced by IpplInfo::IpplInfo().

bool DataConnectCreator::supported ( int  cm)
static

Definition at line 105 of file DataConnectCreator.cpp.

References known().

Referenced by IpplInfo::IpplInfo(), setDefaultMethod(), and supported().

Here is the call graph for this function:

bool DataConnectCreator::supported ( const char *  nm)
static

Definition at line 113 of file DataConnectCreator.cpp.

References libindex(), and supported().

Here is the call graph for this function:

Member Data Documentation

int DataConnectCreator::ConnectNodes = 1
staticprivate

Definition at line 127 of file DataConnectCreator.h.

Referenced by getDefaultNodes(), and setDefaultNodes().

DataConnect * DataConnectCreator::DefaultConnection = 0
staticprivate

Definition at line 120 of file DataConnectCreator.h.

Referenced by create(), and ~DataConnectCreator().

int DataConnectCreator::DefaultMethod = CONNECTMETHODS - 1
staticprivate
int DataConnectCreator::InstanceCount = 0
staticprivate

Definition at line 123 of file DataConnectCreator.h.

Referenced by DataConnectCreator(), and ~DataConnectCreator().


The documentation for this class was generated from the following files: