示例#1
0
int EventTest::Func3( uint32_t p1 )
{
	TRACE_BEGIN( LOG_LVL_INFO );
	SmartPtr<Event3> ev = jh_new Event3( p1 );
	mSelector->sendEventSync( ev );
	if ( ev->mValid == false )
		TestFailed( "Ev had been deleted" );
	return ev->mP1;
}
示例#2
0
void EventTest::Func2( uint32_t p1, uint16_t p2 )
{
	TRACE_BEGIN( LOG_LVL_INFO );
	mSelector->sendEventSync( jh_new Event2( p1, p2 ) );
}