Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
Abstract base class for all Device, Stimulator, etc objects. More...
#include <Device.h>
Public Member Functions | |
Device () | |
Standard constructor. More... | |
void | set_name (std::string s) |
Set device name. More... | |
std::string | get_name () |
Get device name. More... | |
int | get_id () |
Get numeric device id. More... | |
virtual void | flush () |
Flush to file. More... | |
virtual | ~Device () |
Standard destructor. More... | |
virtual void | evolve () |
virtual void | execute () |
Public Attributes | |
bool | active |
Standard active switch. More... | |
Protected Member Functions | |
void | init () |
Standard initializer to be called by the constructor. More... | |
virtual void | virtual_serialize (boost::archive::binary_oarchive &ar, const unsigned int version) |
virtual void | virtual_serialize (boost::archive::binary_iarchive &ar, const unsigned int version) |
Protected Attributes | |
std::string | device_name |
Identifying name for device. More... | |
Friends | |
class | boost::serialization::access |
Abstract base class for all Device, Stimulator, etc objects.
Devices are executed after SpikingGroups and Connection objects in the Auryn duty cycle. Most commonly a Device will be a Monitor, but it could be a stimulator or something else too.
Device::Device | ( | ) |
Standard constructor.
|
inlinevirtual |
Virtual evolve function to be called in central simulation loop in System
|
inlinevirtual |
Virtual execute function to be called at the end of central simulation loop in System
Reimplemented in auryn::StateMonitor, auryn::WeightMonitor, auryn::BinaryStateMonitor, auryn::PoissonStimulator, auryn::CurrentInjector, auryn::NormalStimulator, auryn::SpikeMonitor, auryn::PatternMonitor, auryn::BurstRateMonitor, auryn::RateMonitor, auryn::WeightPatternMonitor, auryn::PopulationRateMonitor, auryn::RealTimeMonitor, auryn::BinarySpikeMonitor, auryn::VoltageClampMonitor, auryn::DelayedSpikeMonitor, auryn::VoltageMonitor, auryn::WeightStatsMonitor, auryn::WeightSumMonitor, and auryn::WeightMatrixMonitor.
|
virtual |
std::string Device::get_name | ( | ) |
Get device name.
|
protected |
Standard initializer to be called by the constructor.
void Device::set_name | ( | std::string | s | ) |
Set device name.
|
protectedvirtual |
Reimplemented in auryn::Monitor, auryn::BurstRateMonitor, auryn::PatternMonitor, and auryn::PopulationRateMonitor.
|
protectedvirtual |
Reimplemented in auryn::Monitor, auryn::BurstRateMonitor, auryn::PatternMonitor, and auryn::PopulationRateMonitor.
|
friend |
Functions necesssary for serialization and loading saving to netstate files.
bool auryn::Device::active |
Standard active switch.
|
protected |
Identifying name for device.