Constructor for creating instances of MEvent subclasses. The SDK creates all events for the event sources it provides. If, however, you want to work with a custom event, you create a subclass of
MEventSource and a subclass of MEvent. Your custom event source can then create instances of your custom event subclass.