DataSource Class Reference

#include <DataSource.h>

Inheritance diagram for DataSource:

Inheritance graph
[legend]
List of all members.

Public Types

typedef vector< DataSourceObject * > container_t
enum  DsMode { INPUT, OUTPUT, BOTH, DEFAULT }

Public Member Functions

 DataSource ()
virtual ~DataSource ()
bool connected (DataConnect *=0) const
DataSourceObjectfindDataSourceObject (DataConnect *) const
DataConnectconnect (const char *, DataConnect *=0, int=DataSource::DEFAULT)
bool connect (DataSourceObject *)
bool disconnect (DataConnect *=0)
bool updateConnection (DataConnect *=0)
void interact (DataConnect *=0)
void interact (const char *, DataConnect *=0)

Protected Member Functions

virtual DataSourceObjectcreateDataSourceObject (const char *, DataConnect *, int)=0

Detailed Description

Definition at line 62 of file DataSource.h.


Member Typedef Documentation

typedef vector<DataSourceObject *> DataSource::container_t
 

Definition at line 73 of file DataSource.h.


Member Enumeration Documentation

enum DataSource::DsMode
 

Enumerator:
INPUT 
OUTPUT 
BOTH 
DEFAULT 

Definition at line 70 of file DataSource.h.


Constructor & Destructor Documentation

DataSource::DataSource  ) 
 

Definition at line 36 of file DataSource.cpp.

DataSource::~DataSource  )  [virtual]
 

Definition at line 43 of file DataSource.cpp.

References disconnect().

Here is the call graph for this function:


Member Function Documentation

bool DataSource::connect DataSourceObject  ) 
 

Definition at line 127 of file DataSource.cpp.

References DataConnect::checkin(), DataSourceObject::connected(), DataSourceObject::getConnection(), and DataSourceObject::getSource().

Here is the call graph for this function:

DataConnect * DataSource::connect const char *  ,
DataConnect = 0,
int  = DataSource::DEFAULT
 

Definition at line 83 of file DataSource.cpp.

References connected(), DataConnectCreator::create(), createDataSourceObject(), DEFAULT, endl(), ERRORMSG, and DataConnect::getDefaultTransferMethod().

Referenced by DataConnect::connect().

Here is the call graph for this function:

bool DataSource::connected DataConnect = 0  )  const
 

Definition at line 69 of file DataSource.cpp.

References findDataSourceObject().

Referenced by connect().

Here is the call graph for this function:

virtual DataSourceObject* DataSource::createDataSourceObject const char *  ,
DataConnect ,
int 
[protected, pure virtual]
 

Implemented in ScalarDataSource< T >, StringDataSource< T >, Field< T, Dim, M, C >, ParticleAttrib< T >, ParticleBase< PLayout >, Field< T, Dim, Mesh, Centering >, and ParticleBase< T >.

Referenced by connect().

bool DataSource::disconnect DataConnect = 0  ) 
 

Definition at line 143 of file DataSource.cpp.

References a.

Referenced by ~DataSource().

DataSourceObject * DataSource::findDataSourceObject DataConnect  )  const
 

Definition at line 55 of file DataSource.cpp.

References a.

Referenced by connected().

void DataSource::interact const char *  ,
DataConnect = 0
 

Definition at line 208 of file DataSource.cpp.

References a.

void DataSource::interact DataConnect = 0  ) 
 

Definition at line 195 of file DataSource.cpp.

References a.

bool DataSource::updateConnection DataConnect = 0  ) 
 

Definition at line 176 of file DataSource.cpp.

References a.


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:36:10 2006 for IPPL by  doxygen 1.4.6