MPIInputBuffer Class Reference

#include <MPIInputBuffer.h>

Collaboration diagram for MPIInputBuffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MPIInputBuffer (int nEngines=1)
virtual ~MPIInputBuffer ()
doublegetAnalogBuffer ()
unsigned & getAnalogMsgCounter (engineid_t eng=0)
void calculateTotalAnalogMsgCounter ()
void startNewMPIExchange ()
bool hasNextBufferSlice ()
MPIMessageSpecprepareNextBufferSlice ()
void setHasNewContent (bool contentIndicator)
int getMixedCounts (int idx) const
int getMixedDispl (int idx) const
MPIInputSpikeBufferspikeBuf ()
MPIMessageSpec::ContentType_tgetContentType ()

Protected Member Functions

void initialize (MPIMessageSpec msgSpec, size_t spikeBufferSize, size_t maxMPIMsgSize, void *baseBufferPtr, void *analogBuffer, void *spikeBuffer)

Protected Attributes

bool initialized
void * spike_buf
void * analog_buf
MPI::Datatype mixedMPIDataType
MPI::Datatype spikingMPIDatatype
MPI::Datatype analogMPIDatatype
MPIMessageSpec currentMsgInfo
void * baseBufferPtr
size_t spike_buffer_size_elements
vector< unsigned > analogMsgCounters
unsigned totalAnalogMsgCounter
int mixedMsgAbsoluteDisplacement
MPIInputSpikeBuffer mpiInputSpikeBuffer
MPIBufferSlicer slicer
int mixedCounts [2]
MPI::Aint mixedDisplacements [2]

Friends

class MPIInputBufferVector


Detailed Description

Definition at line 26 of file MPIInputBuffer.h.


Constructor & Destructor Documentation

MPIInputBuffer::MPIInputBuffer ( int  nEngines = 1  ) 

Definition at line 14 of file MPIInputBuffer.cpp.

References analogMsgCounters, and initialized.

MPIInputBuffer::~MPIInputBuffer (  )  [virtual]


Member Function Documentation

double* MPIInputBuffer::getAnalogBuffer (  )  [inline]

Definition at line 32 of file MPIInputBuffer.h.

References analog_buf.

Referenced by DistributedIncomingAnalogMsgDispatcher::initialize().

unsigned& MPIInputBuffer::getAnalogMsgCounter ( engineid_t  eng = 0  )  [inline]

void MPIInputBuffer::calculateTotalAnalogMsgCounter (  )  [inline]

Definition at line 42 of file MPIInputBuffer.h.

References analogMsgCounters, and totalAnalogMsgCounter.

void MPIInputBuffer::startNewMPIExchange (  ) 

Definition at line 78 of file MPIInputBuffer.cpp.

References MPIBufferSlicer::reset(), and slicer.

Here is the call graph for this function:

bool MPIInputBuffer::hasNextBufferSlice (  ) 

MPIMessageSpec & MPIInputBuffer::prepareNextBufferSlice (  ) 

void MPIInputBuffer::setHasNewContent ( bool  contentIndicator  )  [inline]

Definition at line 54 of file MPIInputBuffer.h.

References mpiInputSpikeBuffer, and MPIInputSpikeBuffer< T >::setHasNewContent().

Here is the call graph for this function:

int MPIInputBuffer::getMixedCounts ( int  idx  )  const [inline]

Definition at line 60 of file MPIInputBuffer.h.

References mixedCounts.

int MPIInputBuffer::getMixedDispl ( int  idx  )  const [inline]

Definition at line 65 of file MPIInputBuffer.h.

References mixedDisplacements.

MPIInputSpikeBuffer& MPIInputBuffer::spikeBuf (  )  [inline]

Definition at line 70 of file MPIInputBuffer.h.

References mpiInputSpikeBuffer.

MPIMessageSpec::ContentType_t& MPIInputBuffer::getContentType (  )  [inline]

Definition at line 75 of file MPIInputBuffer.h.

References MPIMessageSpec::content_type, and currentMsgInfo.

void MPIInputBuffer::initialize ( MPIMessageSpec  msgSpec,
size_t  spikeBufferSize,
size_t  maxMPIMsgSize,
void *  baseBufferPtr,
void *  analogBuffer,
void *  spikeBuffer 
) [protected]


Friends And Related Function Documentation

friend class MPIInputBufferVector [friend]

Definition at line 118 of file MPIInputBuffer.h.


Member Data Documentation

Definition at line 81 of file MPIInputBuffer.h.

Referenced by initialize(), MPIInputBuffer(), and ~MPIInputBuffer().

void* MPIInputBuffer::spike_buf [protected]

Definition at line 83 of file MPIInputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

void* MPIInputBuffer::analog_buf [protected]

Definition at line 85 of file MPIInputBuffer.h.

Referenced by getAnalogBuffer(), initialize(), and prepareNextBufferSlice().

MPI::Datatype MPIInputBuffer::mixedMPIDataType [protected]

Definition at line 87 of file MPIInputBuffer.h.

Referenced by initialize(), prepareNextBufferSlice(), and ~MPIInputBuffer().

MPI::Datatype MPIInputBuffer::spikingMPIDatatype [protected]

Definition at line 89 of file MPIInputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

MPI::Datatype MPIInputBuffer::analogMPIDatatype [protected]

Definition at line 91 of file MPIInputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

Definition at line 93 of file MPIInputBuffer.h.

Referenced by getContentType(), initialize(), and prepareNextBufferSlice().

void* MPIInputBuffer::baseBufferPtr [protected]

Definition at line 95 of file MPIInputBuffer.h.

Referenced by prepareNextBufferSlice().

Definition at line 97 of file MPIInputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

vector<unsigned> MPIInputBuffer::analogMsgCounters [protected]

Definition at line 101 of file MPIInputBuffer.h.

Referenced by calculateTotalAnalogMsgCounter(), and hasNextBufferSlice().

Definition at line 103 of file MPIInputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

Definition at line 108 of file MPIInputBuffer.h.

Referenced by hasNextBufferSlice(), initialize(), setHasNewContent(), and spikeBuf().

Definition at line 113 of file MPIInputBuffer.h.

Referenced by getMixedCounts(), and initialize().

MPI::Aint MPIInputBuffer::mixedDisplacements[2] [protected]

Definition at line 116 of file MPIInputBuffer.h.

Referenced by getMixedDispl(), and initialize().


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

Generated on Wed Jul 9 16:34:51 2008 for PCSIM by  doxygen 1.5.5