|
Oolite
|
#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) | - initWithDelay:interval:context:function:this: [implementation] |
| (void) | - releaseJSValues [implementation] |
| (void) | - clearJSSelf [implementation] |
| (BOOL) | - willNotFireAgain [implementation] |
| (JSValue) | - transferJSSelf [implementation] |
| Instance Methods inherited from OOScriptTimer | |
| (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 |
| JSValue | _function |
| JSValue | _jsThis |
| NSString * | _functionName |
| JSValue | _jsSelf |
| BOOL | _firing |
Additional Inherited Members | |
| Class Methods inherited from OOScriptTimer | |
| (void) | + updateTimers |
| (void) | + noteGameReset |
Definition at line 32 of file OOJSTimer.h.
|
implementation |
Provided by category OOJSTimer(Private).
Definition at line 246 of file OOJSTimer.m.
References OOJSTimer(Private)::clearJSSelf.
Referenced by OOJSTimer(Private)::clearJSSelf, and OOJSTimer(Private)::initWithDelay:interval:context:function:this:.
|
implementation |
Reimplemented from OOScriptTimer.
Definition at line 104 of file OOJSTimer.m.
References dealloc, OOScriptTimer::dealloc, and deleteJSPointers.
Referenced by dealloc.
|
implementation |
Definition at line 85 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 113 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 48 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 69 of file OOJSTimer.m.
References _function, _functionName, _jsSelf, _jsThis, _owningScript, OOJSScript::currentlyRunningScript, OOScriptTimer::initWithNextTime:interval:, nil, OOJSValueIsFunction(), OOStringFromJSValue(), releaseJSValues, OOJavaScriptEngine::sharedEngine, sTimerClassID, and OOJSScript::weakRetain.
|
implementation |
Definition at line 133 of file OOJSTimer.m.
References oo_jsClassName.
Referenced by oo_jsClassName.
|
implementation |
Definition at line 171 of file OOJSTimer.m.
References _jsSelf.
|
implementation |
Provided by category OOJSTimer(Private).
Definition at line 133 of file OOJSTimer.m.
References OOJSAcquireContext(), OOJSRelinquishContext(), OOJSTimer(Private)::releaseJSValues, OOJavaScriptEngine::sharedEngine, and OOScriptTimer::unscheduleTimer.
Referenced by initWithDelay:interval:context:function:this:, OOJSTimer(Private)::initWithDelay:interval:context:function:this:, and OOJSTimer(Private)::releaseJSValues.
|
implementation |
Reimplemented from OOScriptTimer.
Definition at line 138 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.
|
implementation |
Provided by category OOJSTimer(Private).
Definition at line 266 of file OOJSTimer.m.
References OOJSTimer(Private)::transferJSSelf.
Referenced by OOJSTimer(Private)::initWithDelay:interval:context:function:this:, TimerConstruct(), and OOJSTimer(Private)::transferJSSelf.
|
implementation |
Provided by category OOJSTimer(Private).
Definition at line 256 of file OOJSTimer.m.
References OOScriptTimer::interval, and OOJSTimer(Private)::willNotFireAgain.
Referenced by OOJSTimer(Private)::initWithDelay:interval:context:function:this:, TimerFinalize(), and OOJSTimer(Private)::willNotFireAgain.
|
private |
Definition at line 42 of file OOJSTimer.h.
|
private |
Definition at line 34 of file OOJSTimer.h.
Referenced by deleteJSPointers, descriptionComponents, and initWithDelay:interval:context:function:this:.
|
private |
Definition at line 34 of file OOJSTimer.h.
|
private |
Definition at line 38 of file OOJSTimer.h.
Referenced by initWithDelay:interval:context:function:this:.
|
private |
Definition at line 39 of file OOJSTimer.h.
Referenced by initWithDelay:interval:context:function:this:, and oo_jsValueInContext:.
|
private |
Definition at line 40 of file OOJSTimer.h.
|
private |
Definition at line 35 of file OOJSTimer.h.
Referenced by deleteJSPointers, initWithDelay:interval:context:function:this:, and timerFired.
|
private |
Definition at line 35 of file OOJSTimer.h.
|
private |
Definition at line 37 of file OOJSTimer.h.
Referenced by initWithDelay:interval:context:function:this:.