LOLA
ConstantCurrent Struct Reference

#include <neuron.h>

Public Types

enum class  Type { source , sink , source , sink }
 Sink/source offset current on membrane. More...
 
enum class  Type { source , sink , source , sink }
 Sink/source offset current on membrane. More...
 

Public Member Functions

 ConstantCurrent () SYMBOL_VISIBLE
 
 ConstantCurrent () SYMBOL_VISIBLE
 
bool operator!= (ConstantCurrent const &other) const SYMBOL_VISIBLE
 
bool operator!= (ConstantCurrent const &other) const SYMBOL_VISIBLE
 
bool operator== (ConstantCurrent const &other) const SYMBOL_VISIBLE
 
bool operator== (ConstantCurrent const &other) const SYMBOL_VISIBLE
 

Public Attributes

bool enable
 Enable application of offset current on membrane. More...
 
AnalogValueVariant i_offset
 Offset current source/sink from the membrane. More...
 
enum ConstantCurrent::Type type
 

Friends

std::ostream & operator<< (std::ostream &os, ConstantCurrent const &config) SYMBOL_VISIBLE
 
std::ostream & operator<< (std::ostream &os, ConstantCurrent const &config) SYMBOL_VISIBLE
 

Detailed Description

Definition at line 162 of file neuron.h.

Member Enumeration Documentation

◆ Type [1/2]

enum ConstantCurrent::Type
strong

Sink/source offset current on membrane.

Enumerator
source 
sink 
source 
sink 

Definition at line 173 of file neuron.h.

◆ Type [2/2]

enum ConstantCurrent::Type
strong

Sink/source offset current on membrane.

Enumerator
source 
sink 
source 
sink 

Definition at line 182 of file neuron.h.

Constructor & Destructor Documentation

◆ ConstantCurrent() [1/2]

ConstantCurrent::ConstantCurrent ( )

◆ ConstantCurrent() [2/2]

ConstantCurrent::ConstantCurrent ( )

Member Function Documentation

◆ operator!=() [1/2]

bool ConstantCurrent::operator!= ( ConstantCurrent const &  other) const

◆ operator!=() [2/2]

bool ConstantCurrent::operator!= ( ConstantCurrent const &  other) const

◆ operator==() [1/2]

bool ConstantCurrent::operator== ( ConstantCurrent const &  other) const

◆ operator==() [2/2]

bool ConstantCurrent::operator== ( ConstantCurrent const &  other) const

Friends And Related Function Documentation

◆ operator<< [1/2]

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

◆ operator<< [2/2]

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

Member Data Documentation

◆ enable

bool ConstantCurrent::enable

Enable application of offset current on membrane.

Definition at line 167 of file neuron.h.

◆ i_offset

AnalogValueVariant ConstantCurrent::i_offset

Offset current source/sink from the membrane.

Definition at line 170 of file neuron.h.

◆ type

enum ConstantCurrent::Type ConstantCurrent::type

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