NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::TargetIdentifierIndex Class Reference

Class providing compact (hpc) target identified by index. More...

#include <target_identifier.h>

Public Member Functions

 TargetIdentifierIndex ()
 
 TargetIdentifierIndex (const TargetIdentifierIndex &t)=default
 
TargetIdentifierIndex & operator= (const TargetIdentifierIndex &t)=default
 
void get_status (Dictionary &d) const
 
Node * get_target_ptr (const size_t tid) const
 
size_t get_rport () const
 
void set_target (Node *target)
 
void set_rport (size_t rprt)
 

Private Attributes

targetindex target_
 Target node.
 

Detailed Description

Class providing compact (hpc) target identified by index.

This class represents a connection target using a thread-local index, while fixing the rport to 0. Connection classes with this class as template argument provide "hpc" synapses with minimal memory requirement.

See Kunkel et al, Front Neuroinform 8:78 (2014), Sec 3.3.

Constructor & Destructor Documentation

◆ TargetIdentifierIndex() [1/2]

nest::TargetIdentifierIndex::TargetIdentifierIndex ( )
inline

◆ TargetIdentifierIndex() [2/2]

nest::TargetIdentifierIndex::TargetIdentifierIndex ( const TargetIdentifierIndex &  t)
default

Member Function Documentation

◆ get_rport()

size_t nest::TargetIdentifierIndex::get_rport ( ) const
inline

◆ get_status()

void nest::TargetIdentifierIndex::get_status ( Dictionary &  d) const
inline

References nest::invalid_targetindex, nest::names::rport(), nest::names::target(), and target_.

Here is the call graph for this function:

◆ get_target_ptr()

Node * nest::TargetIdentifierIndex::get_target_ptr ( const size_t  tid) const
inline

References nest::invalid_targetindex, nest::kernel(), nest::KernelManager::node_manager, target_, and nest::NodeManager::thread_lid_to_node().

Here is the call graph for this function:

◆ operator=()

TargetIdentifierIndex & nest::TargetIdentifierIndex::operator= ( const TargetIdentifierIndex &  t)
default

◆ set_rport()

void nest::TargetIdentifierIndex::set_rport ( size_t  rprt)
inline

◆ set_target()

void nest::TargetIdentifierIndex::set_target ( Node *  target)
inline

References nest::kernel(), and target_.

Here is the call graph for this function:

Member Data Documentation

◆ target_

targetindex nest::TargetIdentifierIndex::target_
private

Target node.

Referenced by get_status(), get_target_ptr(), and set_target().


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