MPIOutputBuffer Class Reference

#include <MPIOutputBuffer.h>

Collaboration diagram for MPIOutputBuffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MPIOutputBuffer (vector< gl_engineid_t > &engIDs)
virtual ~MPIOutputBuffer ()
doublegetAnalogBuffer ()
unsigned & getAnalogMsgCounter (engineid_t eng=0)
void calculateTotalAnalogMsgCounter ()
void startNewMPIExchange ()
bool hasNextBufferSlice ()
MPIMessageSpecprepareNextBufferSlice ()
void * getBuffer ()
void setFinishedFlag (bool finished)
void nextCycle ()
MPIOutputSpikeBufferspikeBuf ()
MPIOutputSpikeBuffermpiOutputSpikingBuffer ()
MPIMessageSpecgetCurrentMPIMsgSpecHolder ()
int getMixedCounts (int idx)
int getMixedDispl (int idx)
void getMPIExchangeBlocksInfo ()

Protected Member Functions

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

Protected Attributes

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

Friends

class MPIOutputBufferVector


Detailed Description

Definition at line 21 of file MPIOutputBuffer.h.


Constructor & Destructor Documentation

MPIOutputBuffer::MPIOutputBuffer ( vector< gl_engineid_t > &  engIDs  ) 

Definition at line 9 of file MPIOutputBuffer.cpp.

References analogMsgCounters.

MPIOutputBuffer::~MPIOutputBuffer (  )  [virtual]


Member Function Documentation

double* MPIOutputBuffer::getAnalogBuffer (  )  [inline]

Definition at line 28 of file MPIOutputBuffer.h.

References analog_buf.

Referenced by DistributedOutgoingAnalogMsgDispatcher::initialize().

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

void MPIOutputBuffer::calculateTotalAnalogMsgCounter (  )  [inline]

Definition at line 38 of file MPIOutputBuffer.h.

References analogMsgCounters, and totalAnalogMsgCounter.

void MPIOutputBuffer::startNewMPIExchange (  ) 

Definition at line 23 of file MPIOutputBuffer.cpp.

References MPIBufferSlicer::reset(), and slicer.

Here is the call graph for this function:

bool MPIOutputBuffer::hasNextBufferSlice (  ) 

MPIMessageSpec & MPIOutputBuffer::prepareNextBufferSlice (  ) 

void * MPIOutputBuffer::getBuffer (  ) 

Definition at line 135 of file MPIOutputBuffer.cpp.

References analog_buf.

void MPIOutputBuffer::setFinishedFlag ( bool  finished  ) 

Definition at line 140 of file MPIOutputBuffer.cpp.

References mpiOutputSpikeBuffer, and MPIOutputSpikeBuffer< T >::setFinishedFlag().

Here is the call graph for this function:

void MPIOutputBuffer::nextCycle (  ) 

Definition at line 145 of file MPIOutputBuffer.cpp.

References mpiOutputSpikeBuffer, and MPIOutputSpikeBuffer< T >::nextCycle().

Here is the call graph for this function:

MPIOutputSpikeBuffer& MPIOutputBuffer::spikeBuf (  )  [inline]

Definition at line 56 of file MPIOutputBuffer.h.

References mpiOutputSpikeBuffer.

MPIOutputSpikeBuffer & MPIOutputBuffer::mpiOutputSpikingBuffer (  ) 

Definition at line 150 of file MPIOutputBuffer.cpp.

References mpiOutputSpikeBuffer.

MPIMessageSpec & MPIOutputBuffer::getCurrentMPIMsgSpecHolder (  ) 

Definition at line 130 of file MPIOutputBuffer.cpp.

References currentMsgInfo.

int MPIOutputBuffer::getMixedCounts ( int  idx  )  [inline]

Definition at line 67 of file MPIOutputBuffer.h.

References mixedCounts.

int MPIOutputBuffer::getMixedDispl ( int  idx  )  [inline]

Definition at line 73 of file MPIOutputBuffer.h.

References mixedDisplacements.

void MPIOutputBuffer::getMPIExchangeBlocksInfo (  ) 

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


Friends And Related Function Documentation

friend class MPIOutputBufferVector [friend]

Definition at line 118 of file MPIOutputBuffer.h.


Member Data Documentation

Definition at line 81 of file MPIOutputBuffer.h.

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

void* MPIOutputBuffer::analog_buf [protected]

Definition at line 83 of file MPIOutputBuffer.h.

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

void* MPIOutputBuffer::spike_buf [protected]

Definition at line 85 of file MPIOutputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

void* MPIOutputBuffer::baseBufferPtr [protected]

Definition at line 87 of file MPIOutputBuffer.h.

Referenced by prepareNextBufferSlice().

MPI::Datatype MPIOutputBuffer::mixedMPIDataType [protected]

Definition at line 89 of file MPIOutputBuffer.h.

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

MPI::Datatype MPIOutputBuffer::spikingMPIDatatype [protected]

Definition at line 91 of file MPIOutputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

MPI::Datatype MPIOutputBuffer::analogMPIDatatype [protected]

Definition at line 93 of file MPIOutputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

MPI::Datatype MPIOutputBuffer::mixed_data_types[2] [protected]

Definition at line 97 of file MPIOutputBuffer.h.

Referenced by initialize(), and prepareNextBufferSlice().

Definition at line 103 of file MPIOutputBuffer.h.

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

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

Definition at line 106 of file MPIOutputBuffer.h.

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

Definition at line 108 of file MPIOutputBuffer.h.

Referenced by initialize().

vector<unsigned> MPIOutputBuffer::analogMsgCounters [protected]

Definition at line 112 of file MPIOutputBuffer.h.

Referenced by calculateTotalAnalogMsgCounter(), and hasNextBufferSlice().


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