solarpilot/mod_base.cpp
//If any error has already been recorded, don't reset the error flag.
If any error has already been recorded, don't reset the error flag.
If any error has already been recorded don ' t reset the error flag .
void simulation_error::addSimulationError(std::string error, bool is_fatal, bool force_display){
	if(! _is_connected ) return;	
	_is_fatal = _is_fatal ? true : is_fatal; 
	_force_display = _force_display ? true : force_display;
	_message_log.append(error);
	(*_callback)(this, _callback_data);
}
void simulation_error :: addSimulationError ( std :: string error , bool is_fatal , bool force_display ) { if ( ! _is_connected ) return ; _is_fatal = _is_fatal ? true : is_fatal ; _force_display = _force_display ? true : force_display ; _message_log . append ( error ) ; ( * _callback ) ( this , _callback_data ) ; }
If any error has already been recorded, don't reset the error flag.
If any error has already been recorded don ' t reset the error flag .
//only deal with this if the object has been connected to a callback //(*_parent.*_ferror)();