23 #ifndef MUSIC_MESSAGE_IN_PROXY_H
24 #define MUSIC_MESSAGE_IN_PROXY_H
179 MUSIC::MessageInputPort *
MP_;
209 if ( updateValue<long_t>(d,
"n_messages", nm) )
214 throw BadProperty(
"n_messaged can only be set to 0.");
Definition: music_message_in_proxy.h:172
void get(DictionaryDatum &) const
Definition: music_message_in_proxy.cpp:60
void calibrate()
Re-calculate dependent parameters of the node.
Definition: music_message_in_proxy.cpp:116
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: music_message_in_proxy.cpp:75
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
MsgHandler message_handler_
Definition: music_message_in_proxy.h:173
void set_status(const DictionaryDatum &)
Definition: music_message_in_proxy.h:200
void clear(void)
Definition: tokenarray.h:320
void push_back(const Token &t)
Definition: tokenarray.h:236
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: music_message_in_proxy.cpp:113
ArrayDatum messages
The buffer for incoming message.
Definition: music_message_in_proxy.h:88
bool published_
indicates whether this node has been published already with MUSIC
Definition: music_message_in_proxy.h:161
int port_width_
the width of the MUSIC port
Definition: music_message_in_proxy.h:162
std::string port_name_
the name of MUSIC port to connect to
Definition: music_message_in_proxy.h:144
void operator()(double t, void *msg, size_t size)
Definition: music_message_in_proxy.h:91
std::vector< double > message_times
The buffer for incoming message.
Definition: music_message_in_proxy.h:89
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: music_message_in_proxy.h:138
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: music_message_in_proxy.cpp:106
A class that associates names and tokens.
Definition: dict.h:45
Buffers_ B_
Definition: music_message_in_proxy.h:186
Definition: nest_time.h:130
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: music_message_in_proxy.h:126
lockPTRDatum< std::vector< double >,&SLIInterpreter::DoubleVectortype > DoubleVectorDatum
Definition: arraydatum.h:93
Definition: music_message_in_proxy.h:178
void get_status(DictionaryDatum &d) const
Definition: music_message_in_proxy.h:98
Parameters_()
Sets default parameter values.
Definition: music_message_in_proxy.cpp:39
void set(const DictionaryDatum &, State_ &)
Set values from dicitonary.
Definition: music_message_in_proxy.cpp:66
void get_status(DictionaryDatum &) const
Definition: music_message_in_proxy.h:191
Exception to be thrown if a status parameter is incomplete or inconsistent.
Definition: exceptions.h:420
State_()
Sets default state value.
Definition: music_message_in_proxy.cpp:50
void set(const DictionaryDatum &, const Parameters_ &)
Set values from dicitonary.
Definition: music_message_in_proxy.cpp:81
size_t size(void) const
Return number of elements in the array.
Definition: tokenarray.h:142
Parameters_ P_
Definition: music_message_in_proxy.h:184
Variables_ V_
Definition: music_message_in_proxy.h:187
music_message_in_proxy()
Definition: music_message_in_proxy.cpp:89
MUSIC::MessageInputPort * MP_
The MUSIC cont port for input of data.
Definition: music_message_in_proxy.h:179
Default types used by the NEST kernel.
Definition: music_message_in_proxy.h:86
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_message_in_proxy.h:127
Definition: music_message_in_proxy.h:160
Base class for all NEST network objects.
Definition: node.h:96
void clear()
Definition: music_message_in_proxy.h:107
Emit spikes at times received from another application via a MUSIC port.
Definition: music_message_in_proxy.h:119
Definition: music_message_in_proxy.h:143
double acceptable_latency_
the acceptable latency of the port
Definition: music_message_in_proxy.h:145
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
State_ S_
Definition: music_message_in_proxy.h:185