Event Package
Function List
The Event package contains the following KPs.
- op_ev_cancel() Revokes an event that has been previously scheduled.
- op_ev_cancel_if_pending() Revokes an event that has been previously scheduled, after first verifying that the event is pending.
- op_ev_code() Obtains the numeric code associated with the specified event.
- op_ev_count() Obtains the total number of events in the simulation that are currently scheduled or partially executed (sequential simulations only).
- op_ev_count_local() Obtains the number of events to be delivered to the current module.
- op_ev_current() Obtains the event handle that refers to the currently executing event.
- op_ev_current_execid() Obtains the execution ID of the currently executing event.
- op_ev_dst_id() Obtains the object ID of the event's destination module.
- op_ev_equal() Compares two event handles for equality.
- op_ev_ici() Obtains the ICI associated with an event.
- op_ev_id() Obtains the ID of an event.
- op_ev_id_str_get() Obtains the string representation of an event ID.
- op_ev_next() Obtains the event handle that refers to the event following the specified event (sequential simulations only).
- op_ev_next_local() Obtains the event handle referring to the next local event, that is, the next event expected to occur at the currently executing module (sequential simulations only).
- op_ev_pending() Determines if the event is scheduled for future execution.
- op_ev_seek_time() Obtains the event handle referring to the event that is closest to the specified event handle in the specified manner.
- op_ev_src_id() Obtains the object ID of the node, link, or module that was the source of the specified event.
- op_ev_stat() Obtains the input statistic index associated with the specified event.
- op_ev_state() Gets the event state associated with an event at the time of event creation.
- op_ev_state_clear() Removes the event state associated with an event.
- op_ev_state_install() Installs an event state to be associated with all events created in the same thread.
- op_ev_strm() Obtains the stream index associated with the specified event.
- op_ev_time() Obtains the time at which the specified event is scheduled to occur.
- op_ev_type() Obtains the type of the event.
- op_ev_valid() Determines if an event handle is valid (refers to an event that exists).
See Package Overview for a general description of this KP package.