Click or drag to resize

Event Class

EventQueue storage for an event action, sortable on time.
Inheritance Hierarchy
SystemObject
  PriorityQueueNode
    Demo3D.EventQueueEvent

Namespace: Demo3D.EventQueue
Assembly: Demo3D.EventQueue (in Demo3D.EventQueue.dll) Version: 19.00.00
Syntax
C#
public sealed class Event : PriorityQueueNode

The Event type exposes the following members.

Constructors
 NameDescription
Public methodEventInitializes a new instance of the Event class
Top
Properties
 NameDescription
Public propertyAction The action to be invoked when the event occurs.
Public propertyCanceled Has the event been canceled.
Public propertyDescription 
Public propertyTime The absolute simulation time that the event will occur at.
Top
Methods
 NameDescription
Public methodCancel Cancel the event.
Public methodProcess Invoke the action now and mark it as Canceled.
Public methodToString String representation of the event if not canceled.
(Overrides ObjectToString)
Top
See Also