AmpTools
DataReaderMPI< T > Class Template Reference

#include <DataReaderMPI.h>

Inheritance diagram for DataReaderMPI< T >:
Collaboration diagram for DataReaderMPI< T >:

Public Member Functions

 DataReaderMPI ()
 
 DataReaderMPI (const vector< string > &args)
 
virtual ~DataReaderMPI ()
 
KinematicsgetEvent ()
 
void resetSource ()
 
unsigned int numEvents () const
 
virtual DataReadernewDataReader (const vector< string > &args) const
 
virtual DataReaderclone () const
 
virtual vector< string > arguments () const
 
virtual bool isDefault () const
 

Detailed Description

template<class T>
class DataReaderMPI< T >

Definition at line 40 of file DataReaderMPI.h.

Constructor & Destructor Documentation

◆ DataReaderMPI() [1/2]

template<class T >
DataReaderMPI< T >::DataReaderMPI ( )
inline

This is the default constructor.

Definition at line 49 of file DataReaderMPI.h.

◆ DataReaderMPI() [2/2]

template<class T >
DataReaderMPI< T >::DataReaderMPI ( const vector< string > &  args)

This is the constructor for the templated class, which takes as input a vector of arguments (as in the base class).

Definition at line 125 of file DataReaderMPI.h.

◆ ~DataReaderMPI()

template<class T >
DataReaderMPI< T >::~DataReaderMPI ( )
virtual

Definition at line 145 of file DataReaderMPI.h.

Member Function Documentation

◆ arguments()

template<class T >
virtual vector<string> DataReaderMPI< T >::arguments ( ) const
inlinevirtual

Returns the list of arguments that was passed to the constructor.

Definition at line 87 of file DataReaderMPI.h.

◆ clone()

template<class T >
virtual DataReader* DataReaderMPI< T >::clone ( ) const
inlinevirtual

This method can create a clone of a data reader (of the derived type).

Definition at line 80 of file DataReaderMPI.h.

◆ getEvent()

template<class T >
Kinematics * DataReaderMPI< T >::getEvent ( )

Definition at line 163 of file DataReaderMPI.h.

◆ isDefault()

template<class T >
virtual bool DataReaderMPI< T >::isDefault ( ) const
inlinevirtual

Returns true if this instance was created using the default constructor and returns false otherwise.

Definition at line 93 of file DataReaderMPI.h.

◆ newDataReader()

template<class T >
virtual DataReader* DataReaderMPI< T >::newDataReader ( const vector< string > &  args) const
inlinevirtual

This method can create a new data reader (of the derived type).

Definition at line 72 of file DataReaderMPI.h.

◆ numEvents()

template<class T >
unsigned int DataReaderMPI< T >::numEvents ( ) const

Definition at line 298 of file DataReaderMPI.h.

Here is the call graph for this function:

◆ resetSource()

template<class T >
void DataReaderMPI< T >::resetSource ( )

Definition at line 186 of file DataReaderMPI.h.


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