使用CCTimer无法调用回调函数

设置函数CCTimer::timerWithTarget(this,schedule_selector(HelloWorld::update),0.5f);运行后无法调用到HelloWorld::update(float f)函数,这个是怎么回事