OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
FileFieldDataSource< T, Dim, M, C > Class Template Reference

#include <FileFieldDataSource.h>

Inheritance diagram for FileFieldDataSource< T, Dim, M, C >:
Collaboration diagram for FileFieldDataSource< T, Dim, M, C >:

Public Member Functions

 FileFieldDataSource (const char *, DataConnect *, int, Field< T, Dim, M, C > &)
virtual ~FileFieldDataSource ()
virtual bool update ()
virtual void interact (const char *=0)
bool connected () const
DataConnectgetConnection ()
DataSourcegetSource ()
const char * name () const
const char * setName (const char *nm=0)

Protected Attributes

DataConnectConnection
DataSourceSource
int TransferMethod

Private Attributes

DiscField< Dim > * DF
Field< T, Dim, M, C > & myField
int FieldID
int counter
std::string MyName

Detailed Description

template<class T, unsigned Dim, class M, class C>
class FileFieldDataSource< T, Dim, M, C >

Definition at line 31 of file FileFieldDataSource.h.

Constructor & Destructor Documentation

◆ FileFieldDataSource()

template<class T, unsigned Dim, class M, class C>
FileFieldDataSource< T, Dim, M, C >::FileFieldDataSource ( const char * nm,
DataConnect * dc,
int tm,
Field< T, Dim, M, C > & F )

◆ ~FileFieldDataSource()

template<class T, unsigned Dim, class M, class C>
FileFieldDataSource< T, Dim, M, C >::~FileFieldDataSource ( )
virtual

Definition at line 84 of file FileFieldDataSource.hpp.

References DF, and DataSourceObject::getConnection().

Here is the call graph for this function:

Member Function Documentation

◆ connected()

bool DataSourceObject::connected ( ) const
inlineinherited

Definition at line 68 of file DataSourceObject.h.

References Connection, and Source.

Referenced by DataSource::connect().

◆ getConnection()

◆ getSource()

DataSource * DataSourceObject::getSource ( )
inlineinherited

Definition at line 74 of file DataSourceObject.h.

References Source.

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

◆ interact()

template<class T, unsigned Dim, class M, class C>
void FileFieldDataSource< T, Dim, M, C >::interact ( const char * = 0)
virtual

Reimplemented from DataSourceObject.

Definition at line 115 of file FileFieldDataSource.hpp.

◆ name()

◆ setName()

const char * NamedObj::setName ( const char * nm = 0)
inlineinherited

Definition at line 38 of file NamedObj.h.

References MyName.

Referenced by ParticleAttribDataSource::ParticleAttribDataSource().

◆ update()

template<class T, unsigned Dim, class M, class C>
bool FileFieldDataSource< T, Dim, M, C >::update ( )
virtual

Member Data Documentation

◆ Connection

◆ counter

template<class T, unsigned Dim, class M, class C>
int FileFieldDataSource< T, Dim, M, C >::counter
private

Definition at line 66 of file FileFieldDataSource.h.

Referenced by FileFieldDataSource(), and update().

◆ DF

template<class T, unsigned Dim, class M, class C>
DiscField<Dim>* FileFieldDataSource< T, Dim, M, C >::DF
private

Definition at line 57 of file FileFieldDataSource.h.

Referenced by FileFieldDataSource(), update(), and ~FileFieldDataSource().

◆ FieldID

template<class T, unsigned Dim, class M, class C>
int FileFieldDataSource< T, Dim, M, C >::FieldID
private

Definition at line 63 of file FileFieldDataSource.h.

Referenced by FileFieldDataSource(), and update().

◆ myField

template<class T, unsigned Dim, class M, class C>
Field<T,Dim,M,C>& FileFieldDataSource< T, Dim, M, C >::myField
private

Definition at line 60 of file FileFieldDataSource.h.

Referenced by FileFieldDataSource(), and update().

◆ MyName

std::string NamedObj::MyName
privateinherited

Definition at line 47 of file NamedObj.h.

Referenced by name(), NamedObj(), and setName().

◆ Source

DataSource* DataSourceObject::Source
protectedinherited

Definition at line 102 of file DataSourceObject.h.

Referenced by connected(), DataSourceObject(), DataSourceObject(), and getSource().

◆ TransferMethod


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