23 #ifndef MUSIC_EVENT_OUT_PROXY_H
24 #define MUSIC_EVENT_OUT_PROXY_H
139 MUSIC::EventOutputPort *
MP_;
160 V_.
index_map_.push_back(static_cast<int>(receptor_type));
bool one_node_per_process() const
Returns true if the node exists only once per process, but does not have proxies on remote threads...
Definition: music_event_out_proxy.h:86
void set_status(const DictionaryDatum &)
Definition: music_event_out_proxy.cpp:173
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Definition: music_event_out_proxy.h:114
Definition: lockptrdatum.h:40
Declarations for base class Node.
void init_state_(Node const &)
Private function to initialize the state of a node to model defaults.
Definition: music_event_out_proxy.cpp:108
void get_status(DictionaryDatum &) const
Definition: music_event_out_proxy.cpp:156
std::string port_name_
the name of MUSIC port to connect to
Definition: music_event_out_proxy.h:115
void set(const DictionaryDatum &, State_ &)
Set values from dicitonary.
Definition: music_event_out_proxy.cpp:63
std::vector< MUSIC::GlobalIndex > index_map_
Definition: music_event_out_proxy.h:140
MUSIC::EventOutputPort * MP_
The MUSIC event port for output of spikes.
Definition: music_event_out_proxy.h:139
music_event_out_proxy()
Definition: music_event_out_proxy.cpp:87
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
Variables_ V_
Definition: music_event_out_proxy.h:148
Parameters_()
Sets default parameter values.
Definition: music_event_out_proxy.cpp:41
Definition: music_event_out_proxy.h:126
Definition: nest_time.h:130
void calibrate()
Re-calculate dependent parameters of the node.
Definition: music_event_out_proxy.cpp:116
std::string get_name() const
Return class name.
Definition: node.cpp:83
Definition: music_event_out_proxy.h:138
State_ S_
Definition: music_event_out_proxy.h:147
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: music_event_out_proxy.h:152
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: music_event_out_proxy.h:108
Parameters_ P_
Definition: music_event_out_proxy.h:146
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: music_event_out_proxy.cpp:113
virtual port handles_test_event(SpikeEvent &, rport receptor_type)
Check if the node can handle a particular event and receptor type.
Definition: node.cpp:203
Exception to be thrown if the user tries to change the name of an already published port...
Definition: exceptions.h:779
void set(const DictionaryDatum &, const Parameters_ &)
Set values from dicitonary.
Definition: music_event_out_proxy.cpp:79
bool local_receiver() const
Returns true if the node only receives events from nodes/devices on the same thread.
Definition: music_event_out_proxy.h:85
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: music_event_out_proxy.h:84
~music_event_out_proxy()
Definition: music_event_out_proxy.cpp:99
Default types used by the NEST kernel.
Event for spike information.
Definition: event.h:320
Definition: music_event_out_proxy.h:75
Base class for all NEST network objects.
Definition: node.h:96
State_()
Sets default state value.
Definition: music_event_out_proxy.cpp:49
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: music_event_out_proxy.cpp:186
MUSIC::PermutationIndex * music_perm_ind_
The permutation index needed to map the ports of MUSIC.
Definition: music_event_out_proxy.h:141
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
int port_width_
the width of the MUSIC port
Definition: music_event_out_proxy.h:128
bool published_
indicates whether this node has been published already with MUSIC
Definition: music_event_out_proxy.h:127