Used to communicate part of the connection infrastructure from post- to presynaptic side. More...
#include <target_data.h>
Public Member Functions | |
| void | reset_marker () |
| void | set_complete_marker () |
| void | set_end_marker () |
| void | set_invalid_marker () |
| bool | is_complete_marker () const |
| bool | is_end_marker () const |
| bool | is_invalid_marker () const |
| void | set_source_lid (const size_t source_lid) |
| void | set_source_tid (const size_t source_tid) |
| size_t | get_source_lid () const |
| size_t | get_source_tid () const |
| void | set_is_primary (const bool is_primary) |
| bool | is_primary () const |
Public Attributes | ||
| union { | ||
| TargetDataFields target_data | ||
| SecondaryTargetDataFields secondary_data | ||
| }; | ||
| variant fields | ||
Private Attributes | |
| unsigned int | source_lid_: NUM_BITS_LID |
| local id of presynaptic neuron | |
| unsigned int | source_tid_: NUM_BITS_TID |
| thread index of presynaptic neuron | |
| unsigned int | marker_: NUM_BITS_MARKER |
| bool | is_primary_: NUM_BITS_IS_PRIMARY |
| TargetData has TargetDataFields else SecondaryTargetDataFields. | |
Static Private Attributes | |
| static constexpr uint8_t | NUM_BITS_LID = 19U |
| static constexpr uint8_t | NUM_BITS_MARKER = 2U |
| static constexpr uint8_t | NUM_BITS_IS_PRIMARY = 1U |
| static constexpr int | MAX_LID = generate_max_value( NUM_BITS_LID ) |
Used to communicate part of the connection infrastructure from post- to presynaptic side.
These are the elements of the MPI buffers.
SeeAlso: SpikeData
|
inline |
References source_lid_.
Referenced by nest::TargetTable::add_target().
|
inline |
References source_tid_.
Referenced by nest::EventDeliveryManager::distribute_target_data_buffers_().
|
inline |
References marker_, and nest::TARGET_DATA_ID_COMPLETE.
|
inline |
References marker_, and nest::TARGET_DATA_ID_END.
Referenced by nest::EventDeliveryManager::distribute_target_data_buffers_().
|
inline |
References marker_, and nest::TARGET_DATA_ID_INVALID.
|
inline |
References is_primary_.
Referenced by nest::TargetTable::add_target(), and set_is_primary().
|
inline |
References marker_, and nest::TARGET_DATA_ID_DEFAULT.
Referenced by nest::ConnectionManager::fill_target_buffer(), and nest::SourceTable::populate_target_data_fields_().
|
inline |
References marker_, and nest::TARGET_DATA_ID_COMPLETE.
|
inline |
References marker_, and nest::TARGET_DATA_ID_END.
|
inline |
References marker_, and nest::TARGET_DATA_ID_INVALID.
|
inline |
References is_primary(), and is_primary_.
Referenced by nest::ConnectionManager::fill_target_buffer(), and nest::SourceTable::populate_target_data_fields_().
|
inline |
References MAX_LID, and source_lid_.
Referenced by nest::ConnectionManager::fill_target_buffer(), and nest::SourceTable::populate_target_data_fields_().
|
inline |
References nest::MAX_TID, and source_tid_.
Referenced by nest::ConnectionManager::fill_target_buffer(), and nest::SourceTable::populate_target_data_fields_().
| union { ... } nest::TargetData |
variant fields
|
private |
TargetData has TargetDataFields else SecondaryTargetDataFields.
Referenced by is_primary(), and set_is_primary().
|
private |
|
staticconstexprprivate |
Referenced by set_source_lid().
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
| SecondaryTargetDataFields nest::TargetData::secondary_data |
|
private |
local id of presynaptic neuron
Referenced by get_source_lid(), and set_source_lid().
|
private |
thread index of presynaptic neuron
Referenced by get_source_tid(), and set_source_tid().
| TargetDataFields nest::TargetData::target_data |