#include <mpiserialdc.hh>
Inheritance diagram for RVL::MPISerialDC:
Public Member Functions | |
MPISerialDC (DataContainerFactory const &F) | |
main constructor records reference to factory, allocates CP<T,M> buffer, and assigns a temp filename | |
~MPISerialDC () | |
void | eval (FunctionObject &f, std::vector< DataContainer const * > &x) |
FO Eval defined by delegation to DC data member on rk=0. | |
void | eval (FunctionObjectConstEval &f, vector< DataContainer const * > &x) const |
FOCE Eval defined by delegation to DC data member on rk=0. | |
ostream & | write (ostream &str) const |
Protected Attributes | |
int | rk |
rank in multiprocess - =0 for default serial case | |
DataContainer * | mydc |
internal DC member | |
Friends | |
class | MPISerialDCF |
Definition at line 13 of file mpiserialdc.hh.
RVL::MPISerialDC::MPISerialDC | ( | DataContainerFactory const & | F | ) |
main constructor records reference to factory, allocates CP<T,M> buffer, and assigns a temp filename
Definition at line 35 of file mpiserialdc.hh.
References RVL::Factory< T >::build(), mydc, and rk.
RVL::MPISerialDC::~MPISerialDC | ( | ) |
void RVL::MPISerialDC::eval | ( | FunctionObject & | f, | |
std::vector< DataContainer const * > & | x | |||
) |
FO Eval defined by delegation to DC data member on rk=0.
void RVL::MPISerialDC::eval | ( | FunctionObjectConstEval & | f, | |
vector< DataContainer const * > & | x | |||
) | const [virtual] |
ostream& RVL::MPISerialDC::write | ( | ostream & | str | ) | const [virtual] |
Implements RVL::Writeable.
friend class MPISerialDCF [friend] |
Definition at line 15 of file mpiserialdc.hh.
int RVL::MPISerialDC::rk [protected] |
rank in multiprocess - =0 for default serial case
Definition at line 25 of file mpiserialdc.hh.
Referenced by MPISerialDC().
DataContainer* RVL::MPISerialDC::mydc [protected] |
internal DC member
Definition at line 28 of file mpiserialdc.hh.
Referenced by MPISerialDC(), and ~MPISerialDC().