model_server/project_pdf/src/scopeMgr.h.cxx
// This function ping DISCOVER with the callback report_cm_command_callback
// that sends event to itself.
This function ping DISCOVER with the callback report_cm_command_callback
that sends event to itself.
This function ping DISCOVER with the callback report_cm_command_callback that sends event to itself .
void scopeMgr::report_cm_command (CM_COMMAND, projNode *src_proj, projNode *dst_proj, const char *)
{
    Initialize(scopeMgr::report_cm_command);
    if (already_reported == 1)
	return;
    already_reported = 1;
    if (Scope_DebugLevel > 0) {
	const char *nm = NULL;
	if (src_proj)
	    nm = src_proj->get_name();
	else if (dst_proj)
	    nm = dst_proj->get_name();
	else
	    nm = "(NULL)";
	msg("$1: for project $2\n") << _my_name << eoarg << nm << eom;
    }
    pset_send_own_callback(report_cm_command_callback,(void*)0);
}
void scopeMgr :: report_cm_command ( CM_COMMAND , projNode * src_proj , projNode * dst_proj , const char * ) { Initialize ( scopeMgr :: report_cm_command ) ; if ( already_reported == 1 ) return ; already_reported = 1 ; if ( Scope_DebugLevel > 0 ) { const char * nm = NULL ; if ( src_proj ) nm = src_proj -> get_name ( ) ; else if ( dst_proj ) nm = dst_proj -> get_name ( ) ; else nm = " " ; msg ( " \n " ) << _my_name << eoarg << nm << eom ; } pset_send_own_callback ( report_cm_command_callback , ( void * ) 0 ) ; }
This function ping DISCOVER with the callback report_cm_command_callback
that sends event to itself.
This function ping DISCOVER with the callback report_cm_command_callback that sends event to itself .