#include <SpikeTargetGroupPool.h>
Public Types | |
typedef list< SpikeTarget > | SpikeTargetContainer |
typedef SpikeTargetContainer::const_iterator | const_iterator |
Public Member Functions | |
SpikeTargetGroupPool () | |
virtual | ~SpikeTargetGroupPool () |
spikegroupid_t | addSpikeTarget (SimObject *receiver, spikeport_t port) |
spikegroupid_t | addSpikeTarget (spikegroupid_t group, SimObject *receiver, spikeport_t port) |
const_iterator | beginSpikeTargetGroup (spikegroupid_t group) |
const_iterator | endSpikeTargetGroup (spikegroupid_t group) |
Protected Attributes | |
vector< SpikeTargetContainer > | pool |
Classes | |
struct | SpikeTarget |
Definition at line 12 of file SpikeTargetGroupPool.h.
typedef list<SpikeTarget> SpikeTargetGroupPool::SpikeTargetContainer |
Definition at line 24 of file SpikeTargetGroupPool.h.
typedef SpikeTargetContainer::const_iterator SpikeTargetGroupPool::const_iterator |
Definition at line 25 of file SpikeTargetGroupPool.h.
SpikeTargetGroupPool::SpikeTargetGroupPool | ( | ) |
Definition at line 3 of file SpikeTargetGroupPool.cpp.
SpikeTargetGroupPool::~SpikeTargetGroupPool | ( | ) | [virtual] |
Definition at line 6 of file SpikeTargetGroupPool.cpp.
spikegroupid_t SpikeTargetGroupPool::addSpikeTarget | ( | SimObject * | receiver, | |
spikeport_t | port | |||
) |
Definition at line 18 of file SpikeTargetGroupPool.cpp.
References pool.
Referenced by DistributedSingleThreadNetwork::_addSpikeMessage_(), DistributedMultiThreadNetwork::_addSpikeMessage_(), SingleThreadNetwork::addLocalSpikeMessage(), and MultiThreadNetwork::addLocalSpikeMessage().
spikegroupid_t SpikeTargetGroupPool::addSpikeTarget | ( | spikegroupid_t | group, | |
SimObject * | receiver, | |||
spikeport_t | port | |||
) |
const_iterator SpikeTargetGroupPool::beginSpikeTargetGroup | ( | spikegroupid_t | group | ) | [inline] |
Definition at line 34 of file SpikeTargetGroupPool.h.
References pool.
Referenced by SingleThreadSpikeScheduler::deliverSpikes(), and MultiThreadSpikeScheduler::deliverSpikes().
const_iterator SpikeTargetGroupPool::endSpikeTargetGroup | ( | spikegroupid_t | group | ) | [inline] |
Definition at line 39 of file SpikeTargetGroupPool.h.
References pool.
Referenced by SingleThreadSpikeScheduler::deliverSpikes(), and MultiThreadSpikeScheduler::deliverSpikes().
vector<SpikeTargetContainer> SpikeTargetGroupPool::pool [protected] |
Definition at line 45 of file SpikeTargetGroupPool.h.
Referenced by addSpikeTarget(), beginSpikeTargetGroup(), and endSpikeTargetGroup().