23#ifndef MUSIC_EVENT_OUT_PROXY_H
24#define MUSIC_EVENT_OUT_PROXY_H
45void register_music_event_out_proxy(
const std::string& name );
95class music_event_out_proxy :
public DeviceNode
99 music_event_out_proxy();
100 music_event_out_proxy(
const music_event_out_proxy& );
101 ~music_event_out_proxy();
109 local_receiver()
const
114 one_node_per_process()
const
125 using Node::handles_test_event;
127 void handle( SpikeEvent& );
129 size_t handles_test_event( SpikeEvent&,
size_t );
135 void init_buffers_();
139 update( Time
const&,
const long,
const long )
149 std::string port_name_;
169 void set(
const Dictionary&,
const Parameters_& );
176 MUSIC::EventOutputPort* MP_;
177 std::vector< MUSIC::GlobalIndex > index_map_;
178 MUSIC::PermutationIndex* music_perm_ind_;
190music_event_out_proxy::handles_test_event( SpikeEvent&,
size_t receptor_type )
197 if ( not S_.published_ )
199 V_.index_map_.push_back(
static_cast< int >( receptor_type ) );
203 throw MUSICPortAlreadyPublished( get_name(), P_.port_name_ );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
const std::string receptor_type("receptor_type")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33