27 #ifndef BINARYSPIKEMONITOR_H_ 28 #define BINARYSPIKEMONITOR_H_ 55 SpikeContainer::const_iterator it;
59 virtual void open_output_file(
std::string filename);
Abstract base class for all Monitor objects.
Definition: Monitor.h:47
The standard Monitor object to record spikes from a SpikingGroup and write them to a binary file...
Definition: BinarySpikeMonitor.h:48
Abstract base class of all objects producing spikes.
Definition: SpikingGroup.h:67
void set_offset(NeuronID of)
Definition: BinarySpikeMonitor.cpp:98
void init()
Standard initializer to be called by the constructor.
Definition: Device.cpp:32
Definition: ABSConnection.h:38
virtual ~BinarySpikeMonitor()
Definition: BinarySpikeMonitor.cpp:48
virtual void flush()
Flush to file.
Definition: BinarySpikeMonitor.cpp:125
void set_every(NeuronID every)
Definition: BinarySpikeMonitor.cpp:103
BinarySpikeMonitor(SpikingGroup *source, std::string filename="")
Definition: BinarySpikeMonitor.cpp:43
virtual void execute()
Definition: BinarySpikeMonitor.cpp:108
std::string string
Standard library string type which is imported into Auryn namespace.
Definition: auryn_definitions.h:156
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151