NEURON
neuron::model_sorted_token Struct Reference

#include <model_data.hpp>

Public Member Functions

 model_sorted_token (cache::Model &cache, container::Node::storage::frozen_token_type node_data_token_)
 
cache::Modelcache ()
 
cache::Model const & cache () const
 
void set_cache (cache::Model &&cache)
 
cache::Mechanismmech_cache (std::size_t i)
 
cache::Mechanism const & mech_cache (std::size_t i) const
 
cache::Threadthread_cache (std::size_t i)
 
cache::Thread const & thread_cache (std::size_t i) const
 

Public Attributes

container::Node::storage::frozen_token_type node_data_token
 
std::vector< container::Mechanism::storage::frozen_token_typemech_data_tokens {}
 

Private Attributes

std::reference_wrapper< cache::Modelm_cache
 

Detailed Description

Definition at line 160 of file model_data.hpp.

Constructor & Destructor Documentation

◆ model_sorted_token()

neuron::model_sorted_token::model_sorted_token ( cache::Model cache,
container::Node::storage::frozen_token_type  node_data_token_ 
)
inline

Definition at line 161 of file model_data.hpp.

Member Function Documentation

◆ cache() [1/2]

cache::Model& neuron::model_sorted_token::cache ( )
inline

Definition at line 165 of file model_data.hpp.

◆ cache() [2/2]

cache::Model const& neuron::model_sorted_token::cache ( ) const
inline

Definition at line 168 of file model_data.hpp.

◆ mech_cache() [1/2]

cache::Mechanism& neuron::model_sorted_token::mech_cache ( std::size_t  i)
inline

Definition at line 174 of file model_data.hpp.

◆ mech_cache() [2/2]

cache::Mechanism const& neuron::model_sorted_token::mech_cache ( std::size_t  i) const
inline

Definition at line 177 of file model_data.hpp.

◆ set_cache()

void neuron::model_sorted_token::set_cache ( cache::Model &&  cache)
inline

Definition at line 171 of file model_data.hpp.

◆ thread_cache() [1/2]

cache::Thread& neuron::model_sorted_token::thread_cache ( std::size_t  i)
inline

Definition at line 180 of file model_data.hpp.

◆ thread_cache() [2/2]

cache::Thread const& neuron::model_sorted_token::thread_cache ( std::size_t  i) const
inline

Definition at line 183 of file model_data.hpp.

Member Data Documentation

◆ m_cache

std::reference_wrapper<cache::Model> neuron::model_sorted_token::m_cache
private

Definition at line 190 of file model_data.hpp.

◆ mech_data_tokens

std::vector<container::Mechanism::storage::frozen_token_type> neuron::model_sorted_token::mech_data_tokens {}

Definition at line 187 of file model_data.hpp.

◆ node_data_token

container::Node::storage::frozen_token_type neuron::model_sorted_token::node_data_token

Definition at line 186 of file model_data.hpp.


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