classdef EstimationEventData < event.EventData
   % A generic app event data for estimation progress.
   
   % Copyright 2020 The MathWorks, Inc.
   properties
      Info  % generic event data associated with an event
      Type
   end
   
   properties (Constant, Access = protected)
      SupportedTypes = ["optimStartInfo","optimIterInfo","optimEndInfo"]; 
   end
   
   methods
      function this = EstimationEventData(Type)
         % Constructor.
         assert(any(Type==this.SupportedTypes),'Invalid event type')
         this.Type = Type;
      end
   end
end
