This method is the constructor for the OMEvent class.
Public
OMEvent (short plId = 0, OMReactive* pdest = NULL);
plId
Specifies the event ID. The default value is 0.
pdest
Specifies the destination OMReactive instance. The default value is NULL.
Events are generated by applying the gen method. The gen method calls queue to queue events to be processed by the thread event loop. The gen method is expanded by the OMReactive class macro, which also creates the event.