NEST main@f146f75
Loading...
Searching...
No Matches
nest::OffGridSpikeData Class Reference

#include <spike_data.h>

Inheritance diagram for nest::OffGridSpikeData:
[legend]
Collaboration diagram for nest::OffGridSpikeData:
[legend]

Public Member Functions

 OffGridSpikeData ()
 OffGridSpikeData (const Target &target, const size_t lag, const double offset)
 OffGridSpikeData (const size_t tid, const synindex syn_id, const size_t lcid, const unsigned int lag, const double offset)
 OffGridSpikeData (const OffGridSpikeData &rhs)
OffGridSpikeData & operator= (const OffGridSpikeData &rhs)
OffGridSpikeData & operator= (const SpikeData &rhs)
void set (const size_t tid, const synindex syn_id, const size_t lcid, const unsigned int lag, const double offset)
template<class TargetT>
void set (const TargetT &target, const unsigned int lag)
double get_offset () const
Public Member Functions inherited from nest::SpikeData
 SpikeData ()
 SpikeData (const SpikeData &rhs)
 SpikeData (const Target &target, const size_t lag, const bool is_flush_event)
 SpikeData (const size_t tid, const synindex syn_id, const size_t lcid, const unsigned int lag)
SpikeData & operator= (const SpikeData &rhs)
void set (const size_t tid, const synindex syn_id, const size_t lcid, const unsigned int lag, const double offset)
 Required in connection with direct-send events.
template<class TargetT>
void set (const TargetT &target, const unsigned int lag)
size_t get_lcid () const
 Returns local connection ID.
void set_lcid (size_t)
 Sets lcid value.
unsigned int get_lag () const
 Returns lag in min-delay interval.
size_t get_tid () const
 Returns thread index.
synindex get_syn_id () const
 Returns synapse-type index.
unsigned int get_marker () const
 Returns marker.
void reset_marker ()
 Resets the status flag to default value.
void set_complete_marker ()
 Sets the status flag to complete marker.
void set_end_marker ()
 Sets the status flag to end marker.
void set_invalid_marker ()
 Sets the status flag to invalid marker.
bool is_complete_marker () const
 Returns whether the marker is the complete marker.
bool is_end_marker () const
 Returns whether the marker is the end marker.
bool is_invalid_marker () const
 Returns whether the marker is the invalid marker.
bool is_flush_event () const
 Returns whether this spike is a flush event.
double get_offset () const
 Returns offset.
void set_flush_event_flag (bool is_flush_event)
 Sets the flush event flag.

Private Attributes

double offset_

Additional Inherited Members

Protected Attributes inherited from nest::SpikeData
size_t lcid_: NUM_BITS_LCID
 local connection index
unsigned int marker_: NUM_BITS_MARKER_SPIKE_DATA
 status flag
unsigned int flush_event_: NUM_BITS_FLUSH_EVENT
 flush event flag
unsigned int lag_: NUM_BITS_LAG
 lag in this min-delay interval
unsigned int tid_: NUM_BITS_TID
 thread index
synindex syn_id_: NUM_BITS_SYN_ID
 synapse-type index
Static Protected Attributes inherited from nest::SpikeData
static constexpr int MAX_LAG = generate_max_value( NUM_BITS_LAG )

Constructor & Destructor Documentation

◆ OffGridSpikeData() [1/4]

nest::OffGridSpikeData::OffGridSpikeData ( )
inline

References offset_, and nest::SpikeData::SpikeData().

Referenced by OffGridSpikeData(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OffGridSpikeData() [2/4]

nest::OffGridSpikeData::OffGridSpikeData ( const Target & target,
const size_t lag,
const double offset )
inline

References offset_, and nest::SpikeData::SpikeData().

Here is the call graph for this function:

◆ OffGridSpikeData() [3/4]

nest::OffGridSpikeData::OffGridSpikeData ( const size_t tid,
const synindex syn_id,
const size_t lcid,
const unsigned int lag,
const double offset )
inline

References offset_, and nest::SpikeData::SpikeData().

Here is the call graph for this function:

◆ OffGridSpikeData() [4/4]

nest::OffGridSpikeData::OffGridSpikeData ( const OffGridSpikeData & rhs)
inline

References OffGridSpikeData(), offset_, and nest::SpikeData::SpikeData().

Here is the call graph for this function:

Member Function Documentation

◆ get_offset()

double nest::OffGridSpikeData::get_offset ( ) const
inline

References offset_.

◆ operator=() [1/2]

OffGridSpikeData & nest::OffGridSpikeData::operator= ( const OffGridSpikeData & rhs)
inline

References nest::SpikeData::lag_, nest::SpikeData::lcid_, nest::SpikeData::marker_, OffGridSpikeData(), offset_, nest::SpikeData::syn_id_, and nest::SpikeData::tid_.

Here is the call graph for this function:

◆ operator=() [2/2]

OffGridSpikeData & nest::OffGridSpikeData::operator= ( const SpikeData & rhs)
inline

◆ set() [1/2]

void nest::OffGridSpikeData::set ( const size_t tid,
const synindex syn_id,
const size_t lcid,
const unsigned int lag,
const double offset )
inline

◆ set() [2/2]

template<class TargetT>
void nest::OffGridSpikeData::set ( const TargetT & target,
const unsigned int lag )
inline

References offset_, and nest::SpikeData::set().

Here is the call graph for this function:

Member Data Documentation

◆ offset_

double nest::OffGridSpikeData::offset_
private

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