HALDLS
haldls::vx::NeuronReset Class Reference

Container to trigger reset of a single neuron. More...

#include <neuron.h>

Public Types

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

Public Member Functions

 NeuronReset () 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!= (NeuronReset const &other) const SYMBOL_VISIBLE
 
bool operator== (NeuronReset 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, NeuronReset const &config) SYMBOL_VISIBLE
 

Detailed Description

Container to trigger reset of a single neuron.

Definition at line 490 of file neuron.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::NeuronResetOnDLS haldls::vx::NeuronReset::coordinate_type

Definition at line 493 of file neuron.h.

◆ is_leaf_node

typedef std::true_type haldls::vx::NeuronReset::is_leaf_node

Definition at line 494 of file neuron.h.

Constructor & Destructor Documentation

◆ NeuronReset()

haldls::vx::NeuronReset::NeuronReset ( )

Default constructor.

Member Function Documentation

◆ decode()

template<typename WordT >
void haldls::vx::NeuronReset::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::NeuronReset::encode ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

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

◆ write_addresses()

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

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 520 of file neuron.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

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

Definition at line 503 of file neuron.h.

◆ write_config_size_in_words

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

Definition at line 502 of file neuron.h.


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