HALDLS
haldls::vx::SpikeCounterReset Class Reference

Container to reset the spike counter of a single neuron. More...

#include <neuron.h>

Public Types

typedef halco::hicann_dls::vx::SpikeCounterResetOnDLS coordinate_type
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 SpikeCounterReset () SYMBOL_VISIBLE
 Default constructor. More...
 
template<typename WordT >
void decode (std::array< WordT, read_config_size_in_words > const &data) SYMBOL_VISIBLE
 
template<typename WordT >
std::array< WordT, write_config_size_in_wordsencode () const SYMBOL_VISIBLE
 
bool operator!= (SpikeCounterReset const &other) const SYMBOL_VISIBLE
 
bool operator== (SpikeCounterReset const &other) const SYMBOL_VISIBLE
 

Static Public Member Functions

template<typename AddressT >
static std::array< AddressT, read_config_size_in_wordsread_addresses (coordinate_type const &neuron) SYMBOL_VISIBLE
 
template<typename AddressT >
static std::array< AddressT, write_config_size_in_wordswrite_addresses (coordinate_type const &neuron) SYMBOL_VISIBLE
 

Static Public Attributes

static constexpr size_t read_config_size_in_words = 0
 
static constexpr size_t write_config_size_in_words = 1
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, SpikeCounterReset const &config) SYMBOL_VISIBLE
 

Detailed Description

Container to reset the spike counter of a single neuron.

Definition at line 688 of file neuron.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::SpikeCounterResetOnDLS haldls::vx::SpikeCounterReset::coordinate_type

Definition at line 691 of file neuron.h.

◆ is_leaf_node

Definition at line 692 of file neuron.h.

Constructor & Destructor Documentation

◆ SpikeCounterReset()

haldls::vx::SpikeCounterReset::SpikeCounterReset ( )

Default constructor.

Member Function Documentation

◆ decode()

template<typename WordT >
void haldls::vx::SpikeCounterReset::decode ( std::array< WordT, read_config_size_in_words > const &  data)

◆ encode()

template<typename WordT >
std::array<WordT, write_config_size_in_words> haldls::vx::SpikeCounterReset::encode ( ) const

◆ operator!=()

bool haldls::vx::SpikeCounterReset::operator!= ( SpikeCounterReset const &  other) const

◆ operator==()

bool haldls::vx::SpikeCounterReset::operator== ( SpikeCounterReset const &  other) const

◆ read_addresses()

template<typename AddressT >
static std::array<AddressT, read_config_size_in_words> haldls::vx::SpikeCounterReset::read_addresses ( coordinate_type const &  neuron)
static

◆ write_addresses()

template<typename AddressT >
static std::array<AddressT, write_config_size_in_words> haldls::vx::SpikeCounterReset::write_addresses ( coordinate_type const &  neuron)
static

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 719 of file neuron.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
SpikeCounterReset const &  config 
)
friend

Member Data Documentation

◆ read_config_size_in_words

constexpr size_t haldls::vx::SpikeCounterReset::read_config_size_in_words = 0
staticconstexpr

Definition at line 701 of file neuron.h.

◆ write_config_size_in_words

constexpr size_t haldls::vx::SpikeCounterReset::write_config_size_in_words = 1
staticconstexpr

Definition at line 700 of file neuron.h.


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