#include <TargetNodesMap.h>
Public Types | |
typedef set< nodeid_t > ::const_iterator | const_iterator |
Public Member Functions | |
TargetNodesMap () | |
virtual | ~TargetNodesMap () |
void | addTargetNode (local_objectid_t oid, nodeid_t node, engineid_t eng=0) |
Adds new target node. | |
bool | hasNodes (local_objectid_t oid, engineid_t eng=0) |
const_iterator | begin (local_objectid_t oid, engineid_t eng=0) |
Starting iterator for iterating through the target nodes. | |
const_iterator | end (local_objectid_t oid, engineid_t eng=0) |
Ending iterator for iterating through the target nodes. | |
Protected Attributes | |
vector< vector< set< nodeid_t > > > | _map |
Definition at line 17 of file TargetNodesMap.h.
typedef set<nodeid_t>::const_iterator TargetNodesMap::const_iterator |
Definition at line 20 of file TargetNodesMap.h.
TargetNodesMap::TargetNodesMap | ( | ) |
Definition at line 4 of file TargetNodesMap.cpp.
TargetNodesMap::~TargetNodesMap | ( | ) | [virtual] |
Definition at line 7 of file TargetNodesMap.cpp.
void TargetNodesMap::addTargetNode | ( | local_objectid_t | oid, | |
nodeid_t | node, | |||
engineid_t | eng = 0 | |||
) |
Adds new target node.
Definition at line 11 of file TargetNodesMap.cpp.
References _map.
Referenced by DistributedSingleThreadNetwork::_addSpikeMessage_(), and DistributedMultiThreadNetwork::_addSpikeMessage_().
bool TargetNodesMap::hasNodes | ( | local_objectid_t | oid, | |
engineid_t | eng = 0 | |||
) |
Definition at line 20 of file TargetNodesMap.cpp.
References _map.
Referenced by DistributedSpikeScheduler::scheduleSpike().
TargetNodesMap::const_iterator TargetNodesMap::begin | ( | local_objectid_t | oid, | |
engineid_t | eng = 0 | |||
) |
Starting iterator for iterating through the target nodes.
Definition at line 25 of file TargetNodesMap.cpp.
References _map.
Referenced by DistributedSpikeScheduler::scheduleSpike().
TargetNodesMap::const_iterator TargetNodesMap::end | ( | local_objectid_t | oid, | |
engineid_t | eng = 0 | |||
) |
Ending iterator for iterating through the target nodes.
Definition at line 30 of file TargetNodesMap.cpp.
References _map.
Referenced by DistributedSpikeScheduler::scheduleSpike().
vector<vector<set<nodeid_t> > > TargetNodesMap::_map [protected] |
Definition at line 43 of file TargetNodesMap.h.
Referenced by addTargetNode(), begin(), end(), and hasNodes().