NEST  2.6.0,not_revisioned_source_dir@0
Public Attributes | List of all members
nest::spin_detector::Buffers_ Struct Reference

Buffer for incoming spikes. More...

Public Attributes

std::vector< std::vector
< Event * > > 
spikes_
 

Detailed Description

Buffer for incoming spikes.

This data structure buffers all incoming spikes until they are passed to the RecordingDevice for storage or output during update(). update() always reads from spikes_[network()->read_toggle()] and deletes all events that have been read.

Events arriving from locally sending nodes, i.e., devices without proxies, are stored in spikes_[network()->write_toggle()], to ensure order-independent results.

Events arriving from globally sending nodes are delivered from the global event queue by Scheduler::deliver_events() at the beginning of the time slice. They are therefore written to spikes_[network()->read_toggle()] so that they can be recorded by the subsequent call to update(). This does not violate order-independence, since all spikes are delivered from the global queue before any node is updated.

Member Data Documentation

std::vector<std::vector<Event*> > nest::spin_detector::Buffers_::spikes_

The documentation for this struct was generated from the following file: