matplotlib

This Page

simx.EventScheduler module

class simx.EventScheduler.EventScheduler(event_creator)

Class for staggered creation of initial events. External events will be scheduled upto a time in the future, and this process will be repeated till there are no more external events

process_scheduler_event()
schedule_next(time)

Schedules a timer for creating next chunk of events

simx.EventScheduler.is_set_evt_scheduler()

Returns true if the staggered event scheduler has been created

simx.EventScheduler.schedule_event(time, entity, address, event)

Schedules an event to be received by ‘entity’

Keyword Arguments:

time – (When) time at which event will be processed entity – (Who ) id of entity that will process the event address – (Where) address of service on entity that will receive

event

event – (What) event payload