Describes a general event in the simulation.
Methods
Inherited methods
Method new()
Initialise an Event.
Method schedule()
Schedule this event to occur in the future.
Arguments
delay
the number of time steps to wait before triggering the event,
can be a scalar or a vector of values for events that should be triggered
multiple times.
Method clear_schedule()
Stop a future event from triggering.
Method .process_listener()
Usage
Event$.process_listener(listener)
Method .process_listener_cpp()
Usage
Event$.process_listener_cpp(listener)
Method .restore()
Usage
Event$.restore(time, schedule)
Method clone()
The objects of this class are cloneable with this method.
Usage
Event$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.