SimEngine.cpp

Go to the documentation of this file.
00001 #include "SimEngine.h"
00002 #include "SimNetwork.h"
00003 
00004 const SimEngine::ID SimEngine::ID::Invalid( INVALID_NODE_ID, INVALID_LOCAL_ENGINE_ID );
00005 const SimEngine::ID SimEngine::ID::Zero( 0, 0 );
00006 
00008 SimEngine::SimEngine(int id, SpikeScheduler &ss, SimNetwork &net) :
00009         default_steps_per_cycle(net.simParameter().minDelay.in_steps(net.get_dt())), eid(id), spikeScheduler(ss) , network(net)
00010 {
00011     /* NOOP */
00012 }
00013 
00014 ostream& operator<<(ostream &s, const SimEngine::ID &id)
00015 {
00016     return s << id.toString();
00017 }

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