Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Static Public Member Functions | List of all members
cypress::Accessor Struct Reference

#include <network_base_objects.hpp>

Static Public Member Functions

static NeuronIndex begin (const PopulationBase &)
 
static NeuronIndex end (const PopulationBase &pop)
 
static PopulationIndex pid (const PopulationBase &pop)
 
static NetworkBase network (const PopulationBase &pop)
 
static NeuronIndex begin (const PopulationViewBase &view)
 
static NeuronIndex end (const PopulationViewBase &view)
 
static PopulationIndex pid (const PopulationViewBase &view)
 
static NetworkBase network (const PopulationViewBase &view)
 
static NeuronIndex begin (const NeuronBase &neuron)
 
static NeuronIndex end (const NeuronBase &neuron)
 
static PopulationIndex pid (const NeuronBase &neuron)
 
static NetworkBase network (const NeuronBase &neuron)
 

Detailed Description

The Accessor class provides access to certain members of the network objects to the various mixin classes. This perculiar construction is used, since some objects do have special implementations of these functions – for example, the first neuron index in a population is always zero. With this construct, the compile can directly take these special cases into account when instantiating the mixins.

Member Function Documentation

static NeuronIndex cypress::Accessor::begin ( const PopulationBase )
inlinestatic
static NeuronIndex cypress::Accessor::begin ( const PopulationViewBase view)
inlinestatic
static NeuronIndex cypress::Accessor::begin ( const NeuronBase neuron)
inlinestatic
static NeuronIndex cypress::Accessor::end ( const PopulationBase pop)
inlinestatic
static NeuronIndex cypress::Accessor::end ( const PopulationViewBase view)
inlinestatic
static NeuronIndex cypress::Accessor::end ( const NeuronBase neuron)
inlinestatic
static NetworkBase cypress::Accessor::network ( const PopulationBase pop)
inlinestatic
static NetworkBase cypress::Accessor::network ( const PopulationViewBase view)
inlinestatic
static NetworkBase cypress::Accessor::network ( const NeuronBase neuron)
inlinestatic
static PopulationIndex cypress::Accessor::pid ( const PopulationBase pop)
inlinestatic
static PopulationIndex cypress::Accessor::pid ( const PopulationViewBase view)
inlinestatic
static PopulationIndex cypress::Accessor::pid ( const NeuronBase neuron)
inlinestatic

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