OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
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::DataConnectCreator ( )

Definition at line 59 of file DataConnectCreator.cpp.

References InstanceCount.

◆ ~DataConnectCreator()

DataConnectCreator::~DataConnectCreator ( )

Definition at line 68 of file DataConnectCreator.cpp.

References DefaultConnection, and InstanceCount.

Member Function Documentation

◆ create() [1/4]

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:

◆ create() [2/4]

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:

◆ create() [3/4]

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:

◆ create() [4/4]

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:

◆ getAllMethodNames()

const char * DataConnectCreator::getAllMethodNames ( )
static

Definition at line 97 of file DataConnectCreator.cpp.

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

◆ getDefaultMethod()

static int DataConnectCreator::getDefaultMethod ( )
inlinestatic

Definition at line 56 of file DataConnectCreator.h.

References DefaultMethod.

◆ getDefaultMethodName()

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:

◆ getDefaultNodes()

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:

◆ getMethodName()

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

Definition at line 86 of file DataConnectCreator.cpp.

References Hypervolume::n.

Referenced by create(), and getDefaultMethodName().

◆ getNumMethods()

int DataConnectCreator::getNumMethods ( )
static

Definition at line 78 of file DataConnectCreator.cpp.

◆ known() [1/2]

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:

◆ known() [2/2]

bool DataConnectCreator::known ( int  cm)
static

Definition at line 121 of file DataConnectCreator.cpp.

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

◆ libindex()

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

Definition at line 193 of file DataConnectCreator.cpp.

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

◆ setDefaultMethod() [1/2]

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:

◆ setDefaultMethod() [2/2]

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:

◆ setDefaultNodes()

void DataConnectCreator::setDefaultNodes ( int  n)
static

Definition at line 207 of file DataConnectCreator.cpp.

References ConnectNodes, and Hypervolume::n.

Referenced by IpplInfo::IpplInfo().

◆ supported() [1/2]

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:

◆ supported() [2/2]

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:

Member Data Documentation

◆ ConnectNodes

int DataConnectCreator::ConnectNodes = 1
staticprivate

Definition at line 127 of file DataConnectCreator.h.

Referenced by getDefaultNodes(), and setDefaultNodes().

◆ DefaultConnection

DataConnect * DataConnectCreator::DefaultConnection = 0
staticprivate

Definition at line 120 of file DataConnectCreator.h.

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

◆ DefaultMethod

int DataConnectCreator::DefaultMethod = CONNECTMETHODS - 1
staticprivate

◆ InstanceCount

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: