23#ifndef MUSIC_EVENT_HANDLER
24#define MUSIC_EVENT_HANDLER
46class MusicEventHandler :
public MUSIC::EventHandlerGlobalIndex
50 MusicEventHandler( std::string portname,
double acceptable_latency,
int max_buffered );
52 virtual ~MusicEventHandler();
57 void register_channel(
size_t channel, Node* mp );
73 void operator()(
double t, MUSIC::GlobalIndex channel );
79 void update( Time
const&,
const long,
const long );
82 MUSIC::EventInputPort* music_port_;
83 MUSIC::PermutationIndex* music_perm_ind_;
85 std::string portname_;
87 std::vector< Node* > channelmap_;
89 std::vector< MUSIC::GlobalIndex > indexmap_;
90 double acceptable_latency_;
99 std::vector< std::priority_queue< double, std::vector< double >, std::greater< double > > > eventqueue_;
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
Declarations for base class Node.