HALDLS
haldls::vx::SpikePack1ToChip Class Reference

#include <event.h>

Public Types

typedef halco::hicann_dls::vx::SpikePack1ToChipOnDLS coordinate_type
 
typedef std::true_type is_leaf_node
 
typedef std::array< SpikeLabel, 1 > labels_type
 

Public Member Functions

 SpikePack1ToChip () SYMBOL_VISIBLE
 Default constructor. More...
 
 SpikePack1ToChip (labels_type const &labels) SYMBOL_VISIBLE
 
void decode (std::array< fisch::vx::word_access_type::SpikePack1ToChip, read_config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::SpikePack1ToChip, write_config_size_in_wordsencode () const SYMBOL_VISIBLE
 
labels_type get_labels () const SYMBOL_VISIBLE
 
bool operator!= (SpikePack1ToChip const &other) const SYMBOL_VISIBLE
 
bool operator== (SpikePack1ToChip const &other) const SYMBOL_VISIBLE
 
void set_labels (labels_type const &value) SYMBOL_VISIBLE
 

Static Public Member Functions

static std::array< halco::hicann_dls::vx::SpikePack1ToChipOnDLS, read_config_size_in_wordsread_addresses (coordinate_type const &word) SYMBOL_VISIBLE
 
static std::array< halco::hicann_dls::vx::SpikePack1ToChipOnDLS, write_config_size_in_wordswrite_addresses (coordinate_type const &word) SYMBOL_VISIBLE
 

Static Public Attributes

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

Friends

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

Detailed Description

Definition at line 142 of file event.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::SpikePack1ToChipOnDLS haldls::vx::SpikePack1ToChip::coordinate_type

Definition at line 142 of file event.h.

◆ is_leaf_node

Definition at line 142 of file event.h.

◆ labels_type

Definition at line 142 of file event.h.

Constructor & Destructor Documentation

◆ SpikePack1ToChip() [1/2]

haldls::vx::SpikePack1ToChip::SpikePack1ToChip ( )

Default constructor.

◆ SpikePack1ToChip() [2/2]

haldls::vx::SpikePack1ToChip::SpikePack1ToChip ( labels_type const &  labels)
explicit
  • Construct spike pack with labels. *
    Parameters
    labelsArray of SpikeLabel values to use

Member Function Documentation

◆ decode()

void haldls::vx::SpikePack1ToChip::decode ( std::array< fisch::vx::word_access_type::SpikePack1ToChip, read_config_size_in_words > const &  data)

◆ encode()

std:: array<fisch::vx::word_access_type::SpikePack1ToChip, write_config_size_in_words> haldls::vx::SpikePack1ToChip::encode ( ) const

◆ get_labels()

labels_type haldls::vx::SpikePack1ToChip::get_labels ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

static std:: array<halco::hicann_dls::vx::SpikePack1ToChipOnDLS, read_config_size_in_words> haldls::vx::SpikePack1ToChip::read_addresses ( coordinate_type const &  word)
static

◆ set_labels()

void haldls::vx::SpikePack1ToChip::set_labels ( labels_type const &  value)
  • Set spike labels. *
    Parameters
    valueArray of SpikeLabel to set

◆ write_addresses()

static std:: array<halco::hicann_dls::vx::SpikePack1ToChipOnDLS, write_config_size_in_words> haldls::vx::SpikePack1ToChip::write_addresses ( coordinate_type const &  word)
static

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 142 of file event.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

constexpr static size_t haldls::vx::SpikePack1ToChip::read_config_size_in_words = 0
staticconstexpr

Definition at line 142 of file event.h.

◆ write_config_size_in_words

constexpr static size_t haldls::vx::SpikePack1ToChip::write_config_size_in_words = 1
staticconstexpr

Definition at line 142 of file event.h.


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