12 #ifndef SSTMAC_BACKENDS_NATIVE_EVENTCONTAINER_H_INCLUDED 13 #define SSTMAC_BACKENDS_NATIVE_EVENTCONTAINER_H_INCLUDED 79 #if SSTMAC_DEBUG_THREAD_EVENTS 80 virtual void open_debug_file(){}
81 virtual void close_debug_file(){}
Base type for implementations of an engine that is able to schedule events and advance simulation tim...
void schedule(timestamp start_time, uint32_t seqnum, event_queue_entry *ev)
Set off the given eventhandler at the given time.
An event manager base class using standard containers.
virtual void add_event(event_queue_entry *ev)=0
Called by schedule. Child class must implement.
virtual void init_factory_params(sprockit::sim_parameters *params)
A basic container for time (subject to future transplant).
virtual void do_next_event()
event_container(parallel_runtime *rt)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual bool vote_to_terminate()
bool event_rate_reporting_
virtual ~event_container()
Goodbye.
timestamp last_update_sim_
Time of last event executed.
virtual bool empty() const =0
virtual void run()
Run the eventmanager.
void finish()
Called at end of run().
bool running_
Sentinel to track whether the event handler is running or not.
virtual event_queue_entry * pop_next_event()=0