23 #ifndef MUSIC_EVENT_HANDLER
24 #define MUSIC_EVENT_HANDLER
68 void operator () (
double t, MUSIC::GlobalIndex channel);
92 std::vector< std::priority_queue< double, std::vector<double>, std::greater<double> > >
eventqueue_;
99 #endif // MUSIC_EVENT_HANDLER
Declarations for base class Node.
int max_buffered_
Definition: music_event_handler.h:84
void update(Time const &, const long_t, const long_t)
This function is called by the scheduler and delivers the queued events to the target music_in_proxie...
Definition: music_event_handler.cpp:125
void operator()(double t, MUSIC::GlobalIndex channel)
Called by MUSIC from within tick() to deliver events to NEST.
Definition: music_event_handler.cpp:119
std::vector< MUSIC::GlobalIndex > indexmap_
Maps local index to global MUSIC index (channel)
Definition: music_event_handler.h:82
void publish_port()
Publish the MUSIC port.
Definition: music_event_handler.cpp:80
Definition: nest_time.h:130
MUSIC::PermutationIndex * music_perm_ind_
Definition: music_event_handler.h:78
virtual ~MusicEventHandler()
Definition: music_event_handler.cpp:53
std::vector< std::priority_queue< double, std::vector< double >, std::greater< double > > > eventqueue_
Buffers incoming spike events until they are due.
Definition: music_event_handler.h:92
double acceptable_latency_
The acceptable latency of the port in ms.
Definition: music_event_handler.h:83
Main administrative interface to the network.
Definition: network.h:135
MusicEventHandler()
Definition: music_event_handler.cpp:34
Event handler for all events of a MUSIC port received on this process.
Definition: music_event_handler.h:43
Default types used by the NEST kernel.
Base class for all NEST network objects.
Definition: node.h:96
bool published_
Definition: music_event_handler.h:79
std::vector< nest::Node * > channelmap_
Maps channel number to music_event_in_proxy.
Definition: music_event_handler.h:81
Network * net_
Pointer to global network driver.
Definition: music_event_handler.h:85
MUSIC::EventInputPort * music_port_
Definition: music_event_handler.h:77
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
void register_channel(int channel, nest::Node *mp)
Register a new node to a specific channel on this port.
Definition: music_event_handler.cpp:65
std::string portname_
Definition: music_event_handler.h:80