RVL::MPISerialDC Class Reference

#include <mpiserialdc.hh>

Inheritance diagram for RVL::MPISerialDC:

RVL::DataContainer RVL::Writeable List of all members.

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
DataContainermydc
 internal DC member

Friends

class MPISerialDCF

Detailed Description

Definition at line 13 of file mpiserialdc.hh.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 44 of file mpiserialdc.hh.

References mydc.


Member Function Documentation

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]

FOCE Eval defined by delegation to DC data member on rk=0.

Implements RVL::DataContainer.

ostream& RVL::MPISerialDC::write ( ostream &  str  )  const [virtual]

Implements RVL::Writeable.


Friends And Related Function Documentation

friend class MPISerialDCF [friend]

Definition at line 15 of file mpiserialdc.hh.


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for MPIRVL by  doxygen 1.4.7