您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ wxLogDebugFunc函数代码示例

51自学网 2021-06-03 10:10:38
  C++
这篇教程C++ wxLogDebugFunc函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中wxLogDebugFunc函数的典型用法代码示例。如果您正苦于以下问题:C++ wxLogDebugFunc函数的具体用法?C++ wxLogDebugFunc怎么用?C++ wxLogDebugFunc使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了wxLogDebugFunc函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: wxLogDebugFunc

void ServerEvents::OnHostedBattle( int battleid ){    wxLogDebugFunc( _T("") );    try    {        Battle& battle = m_serv.GetBattle( battleid );				if ( battle.GetBattleType() == BT_Played )				{					battle.CustomBattleOptions().loadOptions( OptionsWrapper::MapOption, battle.GetHostMapName() );					battle.CustomBattleOptions().loadOptions( OptionsWrapper::ModOption, battle.GetHostModName() );				}				else				{					battle.GetBattleFromScript( true );				}        wxString presetname = sett().GetModDefaultPresetName( battle.GetHostModName() );        if ( !presetname.IsEmpty() )        {            battle.LoadOptionsPreset( presetname );        }        battle.LoadMapDefaults( battle.GetHostMapName() );        m_serv.SendHostInfo( IBattle::HI_Send_All_opts );        ui().OnHostedBattle( battle );    }    catch (assert_exception) {}}
开发者ID:SpliFF,项目名称:springlobby,代码行数:32,


示例2: wxLogDebugFunc

int OptionsWrapper::GetAIOptionIndex( const wxString& nick ) const{	std::map<wxString,int>::const_iterator itor = m_ais_indexes.find(nick);	int pos = -1;	if ( itor != m_ais_indexes.end() ) pos = itor->second;	wxLogDebugFunc( _T("bot name: ") + nick + _T(" option index: ") + TowxString( pos ) );	return pos;}
开发者ID:N2maniac,项目名称:springlobby-join-fork,代码行数:8,


示例3: wxLogDebugFunc

void MapSelectDialog::OnMapGridLeftDClick(wxMouseEvent& /*unused*/){	wxLogDebugFunc( _T("") );	if ( m_mapgrid->GetSelectedMap() ) {		EndModal( wxID_OK );	}}
开发者ID:jamerlan,项目名称:springlobby,代码行数:8,


示例4: wxLogDebugFunc

PlaybackTab<PlaybackTraits>::~PlaybackTab(){	m_minimap->SetBattle( NULL );	if ( m_filter != 0 )		m_filter->SaveFilterValues();	wxLogDebugFunc( _T( "" ) );}
开发者ID:SpliFF,项目名称:springlobby,代码行数:8,


示例5: wxLogDebugFunc

UnitSyncMod SpringUnitSync::GetMod( int index ){  wxLogDebugFunc( _T("") );  UnitSyncMod m;  m.name = m_mod_array[index];  m.hash = m_mods_list[m.name];  return m; }
开发者ID:SpliFF,项目名称:springlobby,代码行数:9,


示例6: wxLogDebugFunc

void Spring::OnTerminated( wxCommandEvent& event ){    wxLogDebugFunc( _T("") );    m_running = false;    m_process = 0; // NOTE I'm not sure if this should be deleted or not, according to wx docs it shouldn't.    m_wx_process = 0;	event.SetEventType(GlobalEvent::OnSpringTerminated);	GlobalEvent::Send(event);}
开发者ID:jamerlan,项目名称:springlobby,代码行数:9,


示例7: wxLogDebugFunc

void Spring::OnTerminated( wxCommandEvent& event ){    wxLogDebugFunc( _T("") );    m_running = false;    m_process = 0; // NOTE I'm not sure if this should be deleted or not, according to wx docs it shouldn't.    m_wx_process = 0;    ui().OnSpringTerminated( event.GetExtraLong() );    GetGlobalEventSender(GlobalEvents::OnSpringTerminated).SendEvent( event.GetExtraLong() );}
开发者ID:tvo,项目名称:springlobby,代码行数:9,


示例8: wxLogDebugFunc

void ChatPanel::Part(){	wxLogDebugFunc( _T( "" ) );	if ( m_type == CPT_Channel )	{		if ( m_channel == 0 ) return;		m_channel->Leave();		m_channel->uidata.panel = 0;	}}
开发者ID:mallyvai,项目名称:springlobby,代码行数:10,


示例9: wxLogDebugFunc

void BattleRoomTab::OnMapBrowse( wxCommandEvent& /*unused*/ ){	if ( !m_battle ) return;	wxLogDebugFunc( _T( "" ) );	if ( mapSelectDialog().ShowModal() == wxID_OK && mapSelectDialog().GetSelectedMap() != NULL )	{		wxString mapname = mapSelectDialog().GetSelectedMap()->name;		wxLogDebugFunc( mapname );		if ( !m_battle->IsFounderMe() )		{			m_battle->DoAction( _T( "suggests " ) + mapname );			return;		}		const int idx = m_map_combo->FindString( mapname, true /*case sensitive*/ );		if ( idx != wxNOT_FOUND )            SetMap( idx );	}}
开发者ID:SpliFF,项目名称:springlobby,代码行数:19,


示例10: wxLogDebugFunc

void BattleroomListCtrl::OnColourSelect( wxCommandEvent& /*unused*/ ){  wxLogDebugFunc( _T("") );	wxColour CurrentColour = m_sel_user->BattleStatus().colour;	CurrentColour = GetColourFromUser(this, CurrentColour);	if ( !CurrentColour.IsOk() ) return;	if( m_sel_user ) ((Battle*)m_battle)->ForceColour( *m_sel_user, CurrentColour );}
开发者ID:tizbac,项目名称:springlobby,代码行数:10,


示例11: wxLogDebugFunc

void ServerEvents::OnBattleInfoUpdated( int battleid ){    wxLogDebugFunc( _T("") );    try    {        Battle& battle = m_serv.GetBattle( battleid );		BattleEvents::GetBattleEventSender( BattleEvents::BattleInfoUpdate ).SendEvent( std::make_pair(&battle,wxString()) );    }    catch ( assert_exception ) {}}
开发者ID:mallyvai,项目名称:springlobby,代码行数:10,


示例12: wxLogDebugFunc

void SimpleServerEvents::OnBattleInfoUpdated( int /*battleid*/ ){    wxLogDebugFunc( _T("") );    try    {//        Battle& battle = m_serv.GetBattle( battleid );//        ui().OnBattleInfoUpdated( battle );    }    catch ( assert_exception ) {}}
开发者ID:SpliFF,项目名称:springlobby,代码行数:10,


示例13: wxLogDebugFunc

TorrentWrapper::~TorrentWrapper(){    wxLogDebugFunc( wxEmptyString );	m_info_download_thread.Wait();	m_torr->pause();	ClearFinishedTorrents();	RemoveInvalidTorrents();	/* the use of Settings seems to a problem (destruction order) therefore disabled until further notice	//save torrents to resume	std::vector<wxString> toResume;	TorrenthandleInfoMap infomap = GetHandleInfoMap();	TorrenthandleInfoMap::iterator it = infomap.begin();	for ( ; it != infomap.end(); ++it )	{		PlasmaResourceInfo info = it->first;		toResume.push_back( info.m_name );	}	std::vector<wxString> currentResumes = sett().GetTorrentListToResume();	for ( std::vector<wxString>::const_iterator it = currentResumes.begin();		it != currentResumes.end(); ++it )	{		toResume.push_back( *it );	}	//save new list	sett().SetTorrentListToResume( toResume );	*/    #ifndef __WXMSW__        try        {            m_torr->stop_upnp();        }        catch (std::exception& e)        {            wxLogError( TowxString( e.what() ) );        }        try        {            m_torr->stop_natpmp();        }        catch (std::exception& e)        {            wxLogError( TowxString( e.what() ) );        }        try        {            m_torr->stop_lsd();        }        catch (std::exception& e)        {            wxLogError( TowxString( e.what() ) );        }    #endif    delete m_torr;}
开发者ID:tvo,项目名称:springlobby,代码行数:55,


示例14: wxLogDebugFunc

void SinglePlayerTab::OnMapBrowse( wxCommandEvent& /*unused*/ ){	wxLogDebugFunc( wxEmptyString );	const wxString mapname = mapSelectDialog();	if ( !mapname.empty()) {	        const int idx = m_map_pick->FindString( mapname, true /*case sensitive*/ );		if ( idx != wxNOT_FOUND ) {			SetMap( idx );		}	}}
开发者ID:renemilk,项目名称:springlobby,代码行数:11,



注:本文中的wxLogDebugFunc函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ wxLogError函数代码示例
C++ wxLogDebug函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。