![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <OOJSTimer.h>
Instance Methods | |
(id) | - initWithDelay:interval:context:function:this: [implementation] |
(void) | - deleteJSPointers [implementation] |
(void) | - dealloc [implementation] |
(NSString *) | - descriptionComponents [implementation] |
(NSString *) | - oo_jsClassName [implementation] |
(void) | - timerFired [implementation] |
(jsval) | - oo_jsValueInContext: [implementation] |
![]() | |
(id) | - initWithNextTime:interval: |
(id) | - initOneShotTimerWithDelay: |
(OOTimeAbsolute) | - nextTime |
(BOOL) | - setNextTime: |
(OOTimeDelta) | - interval |
(void) | - setInterval: |
(BOOL) | - scheduleTimer |
(void) | - unscheduleTimer |
(BOOL) | - isScheduled |
(BOOL) | - isValidForScheduling |
(NSComparisonResult) | - compareByNextFireTime: |
Private Attributes | |
jsval | _function |
JSObject * | _jsThis |
OOJSScript * | _owningScript |
JSObject * | _jsSelf |
Additional Inherited Members | |
![]() | |
(void) | + updateTimers |
(void) | + noteGameReset |
Definition at line 33 of file OOJSTimer.h.
|
implementation |
Reimplemented from OOScriptTimer.
Definition at line 113 of file OOJSTimer.m.
References dealloc, OOScriptTimer::dealloc, and deleteJSPointers.
Referenced by dealloc.
|
implementation |
Definition at line 92 of file OOJSTimer.m.
References _function, _jsThis, deleteJSPointers, OOJSAcquireContext(), OOJSRelinquishContext(), OOJavaScriptEngine::sharedEngine, and OOScriptTimer::unscheduleTimer.
Referenced by dealloc, and deleteJSPointers.
|
implementation |
Reimplemented from OOScriptTimer.
Definition at line 123 of file OOJSTimer.m.
References _function, descriptionComponents, OOScriptTimer::descriptionComponents, nil, OOJSAcquireContext(), OOJSRelinquishContext(), and OOStringFromJSString().
Referenced by descriptionComponents.
|
implementation |
Provided by category OOJSTimer(Private).
Definition at line 52 of file OOJSTimer.m.
References OOJSScript::currentlyRunningScript, OOScriptTimer::initWithNextTime:interval:, nil, OOJSAddGCObjectRoot, OOJSAddGCValueRoot, OOJSValueIsFunction(), OOJavaScriptEngine::sharedEngine, sTimerClass, sTimerPrototype, and OOJSScript::weakRetain.
|
implementation |
Definition at line 146 of file OOJSTimer.m.
References oo_jsClassName.
Referenced by oo_jsClassName.
|
implementation |
Definition at line 187 of file OOJSTimer.m.
References _jsSelf.
|
implementation |
Reimplemented from OOScriptTimer.
Definition at line 152 of file OOJSTimer.m.
References _jsThis, OOJavaScriptEngine::callJSFunction:forObject:argc:argv:result:, nil, OOJSAcquireContext(), OOJSNativeObjectFromJSObject(), OOJSRelinquishContext(), OOJSScript::popScript:, OOJSScript::pushScript:, OOJavaScriptEngine::sharedEngine, timerFired, and OOScriptTimer::unscheduleTimer.
Referenced by timerFired.
|
private |
Definition at line 36 of file OOJSTimer.h.
Referenced by deleteJSPointers, and descriptionComponents.
|
private |
Definition at line 41 of file OOJSTimer.h.
Referenced by oo_jsValueInContext:.
|
private |
Definition at line 37 of file OOJSTimer.h.
Referenced by deleteJSPointers, and timerFired.
|
private |
Definition at line 39 of file OOJSTimer.h.