TargetNodesMap Class Reference

#include <TargetNodesMap.h>

Collaboration diagram for TargetNodesMap:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

For each local spike generating object holds all the processing node ids which have simObjects that this object connects to.

Definition at line 17 of file TargetNodesMap.h.


Member Typedef Documentation

Definition at line 20 of file TargetNodesMap.h.


Constructor & Destructor Documentation

TargetNodesMap::TargetNodesMap (  ) 

Definition at line 4 of file TargetNodesMap.cpp.

TargetNodesMap::~TargetNodesMap (  )  [virtual]

Definition at line 7 of file TargetNodesMap.cpp.


Member Function Documentation

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


Member Data Documentation

vector<vector<set<nodeid_t> > > TargetNodesMap::_map [protected]

Definition at line 43 of file TargetNodesMap.h.

Referenced by addTargetNode(), begin(), end(), and hasNodes().


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

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