MCPcopy Create free account
hub / github.com/9miao/CrossApp / performSelector

Method performSelector

CrossApp/basics/CAObject.cpp:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void performSelector(CAObject* pOwnerObj, SEL_CallFunc callFunc, float afterDelay)
52 {
53 CCAssert(pOwnerObj, "");
54 pOwnerObj->retain();
55 tDelayTimerElement t;
56 t.pOwnerObj = pOwnerObj;
57 t.func1 = callFunc;
58 t.fInterval = afterDelay;
59 m_vDelayTimerVect.AddElement(t);
60 }
61
62 void performSelector(CAObject* pOwnerObj, SEL_CallFuncO callFunc, CAObject* objParam, float afterDelay)
63 {

Callers

nothing calls this directly

Calls 2

retainMethod · 0.80
AddElementMethod · 0.80

Tested by

no test coverage detected