// ProcessEvents processes all of the events in the queue.
ProcessEvents processes all of the events in the queue.
// ProcessEvents processes all of the events in the queue .
func (event_dispatcher EventDispatcher_struct) ProcessEvents() ( return_report error_report.ErrorReport_struct ){
	var function_return error_report.ErrorReport_struct;
	var event Event_struct;
	function_return = event_dispatcher.ShiftEvent();
	if( function_return.NoError() == true ){
		event = function_return.Data["event"].(Event_struct);
		function_return = event_dispatcher.ProcessEvent( event );
		if( function_return.NoError() == true ){
			return_report = error_report.New( 0, map[string]interface{}{ "event": event }, nil );
		} else{
			return_report = error_report.New( ERROR_CODE_EVENT_PROCESSING_ERROR, map[string]interface{}{}, &function_return );
		}
	} else{
		return_report = error_report.New( ERROR_CODE_SUBORDINATE_FUNCTION_ERROR, map[string]interface{}{}, &function_return );
	}
	return return_report;
}
func ( event_dispatcher EventDispatcher_struct ) ProcessEvents ( ) ( return_report error_report . ErrorReport_struct ) { var function_return error_report . ErrorReport_struct ; var event Event_struct ; function_return = event_dispatcher . ShiftEvent ( ) ; if ( function_return . NoError ( ) == true ) { event = function_return . Data [ " " ] . ( Event_struct ) ; function_return = event_dispatcher . ProcessEvent ( event ) ; if ( function_return . NoError ( ) == true ) { return_report = error_report . New ( 0 , map [ string ] interface { } { " " : event } , nil ) ; } else { return_report = error_report . New ( ERROR_CODE_EVENT_PROCESSING_ERROR , map [ string ] interface { } { } , & function_return ) ; } } else { return_report = error_report . New ( ERROR_CODE_SUBORDINATE_FUNCTION_ERROR , map [ string ] interface { } { } , & function_return ) ; } return return_report ; }
ProcessEvents processes all of the events in the queue.
ProcessEvents processes all of the events in the queue .
//Variables //Parametres //Function //Return