model_server/DIS_cm/src/ui_cm_oper.cxx
// Report is called during the operation to report status/error information.
Report is called during the operation to report status/error information.
Report is called during the operation to report status / error information .
void ui_cm_oper::Report(const char* cmdName, const int status,
			const projNode* source, const projNode* dest,
			const symbolPtr& module)
{
	if (status) {
		dis_message(NULL, MSG_ERROR, "CM %s of '%s' FAILED with code %d",
			cmdName, module.get_name(), status);
	} else {
		dis_message(NULL, MSG_INFORM, "CM %s of '%s' succeeded.",
			cmdName, module.get_name() );
	}
}
void ui_cm_oper :: Report ( const char * cmdName , const int status , const projNode * source , const projNode * dest , const symbolPtr & module ) { if ( status ) { dis_message ( NULL , MSG_ERROR , " " , cmdName , module . get_name ( ) , status ) ; } else { dis_message ( NULL , MSG_INFORM , " " , cmdName , module . get_name ( ) ) ; } }
Report is called during the operation to report status/error information.
Report is called during the operation to report status / error information .