fixed initialized

master
Theunis J. Botha 2021-09-09 17:59:33 +02:00
parent 68fb504899
commit 6b77cc3067
41 changed files with 641 additions and 1136 deletions

View File

@ -1,13 +1,12 @@
r3 create R3 r3-base
r3 create R3 r3_base
r3 create Event normal
r3 create R3Object extends Event
r3 create Utils normal
r3 create Project extends R3Object
r3 create System system-base
r3 create System system_base
r3 create SystemSocket system
r3 create SystemLinking system
r3 create Component extends R3Object ./r3-component/
r3 create Image extends Component ./r3-component/
r3 create Component extends R3Object ./r3-component/
r3 create SystemInput system
r3 create Input extends Component ./r3-component/
r3 create Touch extends Input ./r3-component/
@ -27,3 +26,4 @@ r3 create Stats extends Statistics ./r3-runtime/
r3 create DOM extends Component ./r3-component/
r3 create Canvas extends DOM ./r3-component/
r3 create SystemDOM system
r3 create Document extends Default ./r3-runtime/

822
dist/r3.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "r3",
"version" : "2.0.228",
"version" : "2.0.448",
"description": "",
"private": true,
"dependencies": {

View File

@ -2,7 +2,6 @@
const Component = require('./r3-component.js');
const DOM = require('./r3-d-o-m.js');
const Canvas = require('./r3-canvas.js');
const Image = require('./r3-image.js');
const Input = require('./r3-input.js');
const Touch = require('./r3-touch.js');
//GENERATED_IMPORTS_END
@ -10,7 +9,6 @@ const Touch = require('./r3-touch.js');
//GENERATED_INDEX_BODY_START
Component.DOM = DOM;
Component.DOM.Canvas = Canvas;
Component.Image = Image;
Component.Input = Input;
Component.Input.Touch = Touch;
//GENERATED_INDEX_BODY_END

View File

@ -19,6 +19,9 @@ const DOM = require('.././r3-d-o-m.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -58,7 +61,7 @@ const DOM = require('.././r3-d-o-m.js');
Inherited Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Overrides for R3.Event.initialized()
Inherited Static Methods:
@ -77,7 +80,7 @@ const DOM = require('.././r3-d-o-m.js');
Inherited Methods:
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
Should raises an event(s) which indicates that this object initialized
- createInstance()
Creates an instance of this object based on the current runtime

View File

@ -19,6 +19,9 @@ const R3Object = require('.././r3-r3-object.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -58,7 +61,7 @@ const R3Object = require('.././r3-r3-object.js');
Inherited Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Overrides for R3.Event.initialized()
Inherited Static Methods:
@ -77,7 +80,7 @@ const R3Object = require('.././r3-r3-object.js');
Methods:
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
Should raises an event(s) which indicates that this object initialized
- createInstance()
Creates an instance of this object based on the current runtime
@ -113,7 +116,7 @@ const R3Object = require('.././r3-r3-object.js');
CUSTOM_EXCLUDED_FROM_INSTANCE_OPTIONS_END
CUSTOM_METHODS_START
initialized() - In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
initialized() - Should raises an event(s) which indicates that this object initialized
createInstance() - Creates an instance of this object based on the current runtime
dispose() - Disposes of this object by disposing the instance first.
disposeInstance() - Disposes of the runtime instance.
@ -170,16 +173,20 @@ class Component extends R3Object {
/**
* initialized()
* - In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
* - Should raises an event(s) which indicates that this object initialized
*/
initialized() {
//GENERATED_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
delete this.callDepth;
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
Event.Emit(Event.COMPONENT_INITIALIZED, this);
//CUSTOM_INITIALIZED_METHOD_END
@ -303,10 +310,9 @@ class Component extends R3Object {
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
Component.DOM = 0x0;
Component.CANVAS = 0x1;
Component.IMAGE = 0x2;
Component.INPUT = 0x3;
Component.TOUCH = 0x4;
Component.MAX_COMPONENTS = 0x5;
Component.INPUT = 0x2;
Component.TOUCH = 0x3;
Component.MAX_COMPONENTS = 0x4;
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START

View File

@ -19,6 +19,9 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -58,7 +61,7 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Overrides for R3.Event.initialized()
Inherited Static Methods:
@ -77,7 +80,7 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
Should raises an event(s) which indicates that this object initialized
- createInstance()
Creates an instance of this object based on the current runtime
@ -190,11 +193,15 @@ class DOM extends Component {
initialized() {
//GENERATED_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
delete this.callDepth;
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
Event.Emit(Event.COMPONENT_INITIALIZED, this);
Event.Emit(Event.DOM_COMPONENT_INITIALIZED, this);
//CUSTOM_INITIALIZED_METHOD_END

View File

@ -19,6 +19,9 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -58,7 +61,7 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Overrides for R3.Event.initialized()
Inherited Static Methods:
@ -77,7 +80,7 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
Should raises an event(s) which indicates that this object initialized
- createInstance()
Creates an instance of this object based on the current runtime
@ -110,7 +113,9 @@ const Component = require('.././r3-component.js');
Methods:
<no methods>
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED and Event.COMPONENT_INITIALIZED, it also fires an
Event.INPUT_COMPONENT_INITIALIZED
Static Methods:
@ -131,6 +136,7 @@ const Component = require('.././r3-component.js');
CUSTOM_EXCLUDED_FROM_INSTANCE_OPTIONS_END
CUSTOM_METHODS_START
initialized() - In addition to firing an Event.OBJECT_INITIALIZED and Event.COMPONENT_INITIALIZED, it also fires an Event.INPUT_COMPONENT_INITIALIZED
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -173,12 +179,34 @@ class Input extends Component {
}
//CUSTOM_AFTER_INIT_START
this.emit(Event.INPUT_COMPONENT_INITIALIZED);
//CUSTOM_AFTER_INIT_END
}
//GENERATED_CONSTRUCTOR_EXTENDS_END
//GENERATED_METHODS_START
/**
* initialized()
* - In addition to firing an Event.OBJECT_INITIALIZED and Event.COMPONENT_INITIALIZED, it also fires an
* Event.INPUT_COMPONENT_INITIALIZED
*/
initialized() {
//GENERATED_INITIALIZED_METHOD_START
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
Event.Emit(Event.COMPONENT_INITIALIZED, this);
Event.Emit(Event.INPUT_COMPONENT_INITIALIZED, this);
//CUSTOM_INITIALIZED_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START

View File

@ -19,6 +19,9 @@ const Input = require('.././r3-input.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -58,7 +61,7 @@ const Input = require('.././r3-input.js');
Inherited Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Overrides for R3.Event.initialized()
Inherited Static Methods:
@ -77,7 +80,7 @@ const Input = require('.././r3-input.js');
Inherited Methods:
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
Should raises an event(s) which indicates that this object initialized
- createInstance()
Creates an instance of this object based on the current runtime
@ -110,7 +113,9 @@ const Input = require('.././r3-input.js');
Inherited Methods:
<no inherited methods>
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED and Event.COMPONENT_INITIALIZED, it also fires an
Event.INPUT_COMPONENT_INITIALIZED
Inherited Static Methods:

View File

@ -10,15 +10,16 @@ const Utils = require('./r3-utils');
CUSTOM_OPTIONS_END
CUSTOM_METHODS_START
async(eventId, data, clientCallback, clientErrorCallback) - Simply calls 'Async()' passing it the arguments
emit(eventId, data, clientCallback, clientErrorCallback) - Simply calls 'Emit()' passing it the arguments
subscribe(eventId, callback) - Simply calls 'Subscribe()' passing it the arguments
initialized() - Should raise an event(s) which indicates that this object initialized
async(eventId, data, clientCallback, clientErrorCallback) - Simply calls 'Async()' passing it the arguments
emit(eventId, data, clientCallback, clientErrorCallback) - Simply calls 'Emit()' passing it the arguments
subscribe(eventId, callback) - Simply calls 'Subscribe()' passing it the arguments
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
Async(eventId, data, clientCallback, clientErrorCallback) - Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the error as argument.
Emit(eventId, data, clientCallback, clientErrorCallback) - Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after the event result is obtained, passing it the result. If an exception occurs during execution, the clientErrorCallback is called with the error as argument.
Subscribe(eventId, callback) - Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised @return {Object} - A handle to the subscription which can be removed by calling handle.remove()
Async(eventId, data, clientCallback, clientErrorCallback) - Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the error as argument.
Emit(eventId, data, clientCallback, clientErrorCallback) - Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after the event result is obtained, passing it the result. If an exception occurs during execution, the clientErrorCallback is called with the error as argument.
Subscribe(eventId, callback) - Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised @return {Object} - A handle to the subscription which can be removed by calling handle.remove()
CUSTOM_STATIC_METHODS_END
**/
@ -74,6 +75,26 @@ class Event {
//GENERATED_METHODS_START
/**
* initialized()
* - Should raise an event(s) which indicates that this object initialized
*/
initialized() {
//GENERATED_INITIALIZED_METHOD_START
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
Event.Emit(Event.EVENT_INITIALIZED, this);
//CUSTOM_INITIALIZED_METHOD_END
}
/**
* async()
* - Simply calls 'Async()' passing it the arguments
@ -340,15 +361,16 @@ Event.MOUSE_WHEEL = 0x11;
Event.OBJECT_CREATED = 0x12;
Event.OBJECT_INITIALIZED = 0x13;
Event.PAUSE = 0x14;
Event.RESTART = 0x15;
Event.START = 0x16;
Event.TOUCH_CANCEL = 0x17;
Event.TOUCH_END = 0x18;
Event.TOUCH_MOVE = 0x19;
Event.TOUCH_START = 0x1a;
Event.UPDATE_FROM_INSTANCE_AFTER = 0x1b;
Event.UPDATE_FROM_INSTANCE_BEFORE = 0x1c;
Event.MAX_EVENTS = 0x1d;
Event.PROJECT_INITIALIZED = 0x15;
Event.RESTART = 0x16;
Event.START = 0x17;
Event.TOUCH_CANCEL = 0x18;
Event.TOUCH_END = 0x19;
Event.TOUCH_MOVE = 0x1a;
Event.TOUCH_START = 0x1b;
Event.UPDATE_FROM_INSTANCE_AFTER = 0x1c;
Event.UPDATE_FROM_INSTANCE_BEFORE = 0x1d;
Event.MAX_EVENTS = 0x1e;
Event.GetEventName = function(eventId) {
@ -373,14 +395,15 @@ Event.GetEventName = function(eventId) {
case 0x12 : return 'object_created';
case 0x13 : return 'object_initialized';
case 0x14 : return 'pause';
case 0x15 : return 'restart';
case 0x16 : return 'start';
case 0x17 : return 'touch_cancel';
case 0x18 : return 'touch_end';
case 0x19 : return 'touch_move';
case 0x1a : return 'touch_start';
case 0x1b : return 'update_from_instance_after';
case 0x1c : return 'update_from_instance_before';
case 0x15 : return 'project_initialized';
case 0x16 : return 'restart';
case 0x17 : return 'start';
case 0x18 : return 'touch_cancel';
case 0x19 : return 'touch_end';
case 0x1a : return 'touch_move';
case 0x1b : return 'touch_start';
case 0x1c : return 'update_from_instance_after';
case 0x1d : return 'update_from_instance_before';
default :
throw new Error('Event type not defined : ' + eventId);
}

View File

@ -19,6 +19,9 @@ const R3Object = require('./r3-r3-object.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -58,7 +61,7 @@ const R3Object = require('./r3-r3-object.js');
Inherited Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Overrides for R3.Event.initialized()
Inherited Static Methods:
@ -76,7 +79,8 @@ const R3Object = require('./r3-r3-object.js');
Methods:
<no methods>
- initialized()
Overrides for R3.Event.R3Object.initialized()
Static Methods:
@ -97,6 +101,7 @@ const R3Object = require('./r3-r3-object.js');
CUSTOM_EXCLUDED_FROM_INSTANCE_OPTIONS_END
CUSTOM_METHODS_START
initialized() - Should raise an event(s) which indicates that this object initialized
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -144,6 +149,26 @@ class Project extends R3Object {
//GENERATED_CONSTRUCTOR_EXTENDS_END
//GENERATED_METHODS_START
/**
* initialized()
* - Should raise an event(s) which indicates that this object initialized
*/
initialized() {
//GENERATED_INITIALIZED_METHOD_START
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
Event.Emit(Event.PROJECT_INITIALIZED, this);
//CUSTOM_INITIALIZED_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START

View File

@ -18,6 +18,9 @@ const Event = require('./r3-event.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -57,7 +60,7 @@ const Event = require('./r3-event.js');
Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Overrides for R3.Event.initialized()
Static Methods:
@ -66,9 +69,9 @@ const Event = require('./r3-event.js');
GENERATED_INHERITED_END
CUSTOM_OPTIONS_START
id=Utils.RandomId(10)
name='Object ' + options.id
register=true
id=Utils.RandomId(10)
name='Object ' + options.id
register=true
CUSTOM_OPTIONS_END
CUSTOM_INSTANCE_OPTIONS_MAPPING_START
@ -81,7 +84,7 @@ const Event = require('./r3-event.js');
CUSTOM_EXCLUDED_FROM_INSTANCE_OPTIONS_END
CUSTOM_METHODS_START
initialized() - Emits an event which indicates that this object instance is ready to be created
initialized() - Should raise an event(s) which indicates that this object initialized
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -144,16 +147,20 @@ class R3Object extends Event {
/**
* initialized()
* - Emits an event which indicates that this object instance is ready to be created
* - Should raise an event(s) which indicates that this object initialized
*/
initialized() {
//GENERATED_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
delete this.callDepth;
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
//CUSTOM_INITIALIZED_METHOD_END
}

View File

@ -1,6 +1,6 @@
class R3 {
static version = '2.0.228';
static compileDate = '2021 Sep 08 - 23:13:48 pm';
static version = '2.0.448';
static compileDate = '2021 Sep 09 - 17:56:56 pm';
}
//GENERATED_IMPORTS_START
@ -23,7 +23,6 @@ R3.Component = Component;
R3.Project = Project;
R3.DOM = DOM;
R3.Canvas = Canvas;
R3.Image = Image;
R3.Input = Input;
R3.Touch = Touch;
//GENERATED_DEFINES_END

View File

@ -3,6 +3,7 @@ const Runtime = require('./r3-runtime.js');
const Coder = require('./r3-coder.js');
const CodeMirror = require('./r3-code-mirror.js');
const Default = require('./r3-default.js');
const Document = require('./r3-document.js');
const GUI = require('./r3-g-u-i.js');
const ControlKit = require('./r3-control-kit.js');
const Graphics = require('./r3-graphics.js');
@ -18,6 +19,7 @@ const Stats = require('./r3-stats.js');
Runtime.Coder = Coder;
Runtime.Coder.CodeMirror = CodeMirror;
Runtime.Default = Default;
Runtime.Default.Document = Document;
Runtime.GUI = GUI;
Runtime.GUI.ControlKit = ControlKit;
Runtime.Graphics = Graphics;

View File

@ -19,6 +19,9 @@ const Physics = require('.././r3-physics.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Coder = require('.././r3-coder.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Runtime = require('.././r3-runtime.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const GUI = require('.././r3-g-u-i.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Runtime = require('.././r3-runtime.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -1,12 +1,12 @@
const Event = require('.././r3-event');
const Utils = require('.././r3-utils');
const Component = require('.././r3-component.js');
const Default = require('.././r3-default.js');
/**
GENERATED_INHERITED_START
Class R3.Event.Object.Component.Image
Class R3.Event.Runtime.Default.Document
[Inherited from Event]
Inherited Properties:
@ -19,6 +19,9 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -43,28 +46,7 @@ const Component = require('.././r3-component.js');
- Subscribe(eventId, callback)
Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised
[Inherited from R3Object]
Inherited Properties:
- id (Default value Utils.RandomId(10))
- name (Default value 'Object ' + options.id)
- register (Default value true)
Inherited Static Properties:
<no inherited static properties>
Inherited Methods:
- initialized()
Emits an event which indicates that this object instance is ready to be created
Inherited Static Methods:
<no inherited static methods>
[Inherited from Component]
[Inherited from Runtime]
Inherited Properties:
@ -76,29 +58,31 @@ const Component = require('.././r3-component.js');
Inherited Methods:
- initialized()
In addition to firing an Event.OBJECT_INITIALIZED it also fires an Event.COMPONENT_INITIALIZED
- createInstance()
Creates an instance of this object based on the current runtime
- dispose()
Disposes of this object by disposing the instance first.
- disposeInstance()
Disposes of the runtime instance.
- updateFromInstance()
Updates this object by copying the values of its instance into the current object.
- getRuntime()
Gets the current runtime object
<no inherited methods>
Inherited Static Methods:
<no inherited static methods>
[Belonging to Image]
[Inherited from Default]
Inherited Properties:
<no inherited properties>
Inherited Static Properties:
<no inherited static properties>
Inherited Methods:
<no inherited methods>
Inherited Static Methods:
<no inherited static methods>
[Belonging to Document]
Properties:
@ -138,7 +122,7 @@ const Component = require('.././r3-component.js');
**/
class Image extends Component {
class Document extends Default {
//GENERATED_CONSTRUCTOR_EXTENDS_START
constructor(options) {
@ -193,4 +177,4 @@ class Image extends Component {
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_END
module.exports = Image;
module.exports = Document;

View File

@ -19,6 +19,9 @@ const Runtime = require('.././r3-runtime.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Runtime = require('.././r3-runtime.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Runtime = require('.././r3-runtime.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -18,6 +18,9 @@ const Event = require('.././r3-event.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments
@ -135,16 +138,17 @@ class Runtime extends Event {
Runtime.CODER = 0x0;
Runtime.CODE_MIRROR = 0x1;
Runtime.DEFAULT = 0x2;
Runtime.GUI = 0x3;
Runtime.CONTROL_KIT = 0x4;
Runtime.GRAPHICS = 0x5;
Runtime.THREE = 0x6;
Runtime.PHYSICS = 0x7;
Runtime.BULLET = 0x8;
Runtime.SOCKET = 0x9;
Runtime.STATISTICS = 0xa;
Runtime.STATS = 0xb;
Runtime.MAX_RUNTIMES = 0xc;
Runtime.DOCUMENT = 0x3;
Runtime.GUI = 0x4;
Runtime.CONTROL_KIT = 0x5;
Runtime.GRAPHICS = 0x6;
Runtime.THREE = 0x7;
Runtime.PHYSICS = 0x8;
Runtime.BULLET = 0x9;
Runtime.SOCKET = 0xa;
Runtime.STATISTICS = 0xb;
Runtime.STATS = 0xc;
Runtime.MAX_RUNTIMES = 0xd;
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START

View File

@ -19,6 +19,9 @@ const Runtime = require('.././r3-runtime.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Runtime = require('.././r3-runtime.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Statistics = require('.././r3-statistics.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -19,6 +19,9 @@ const Graphics = require('.././r3-graphics.js');
Inherited Methods:
- initialized()
Should raise an event(s) which indicates that this object initialized
- async(eventId, data, clientCallback, clientErrorCallback)
Simply calls 'Async()' passing it the arguments

View File

@ -11,18 +11,15 @@ const System = require('./r3-system.js');
Inherited Properties:
- started (Default value false)
- subscriptions (Default value {})
<no inherited properties>
Inherited Static Properties:
- Started (Default value false)
- Subscriptions (Default value {})
<no inherited static properties>
Inherited Methods:
- initialized()
No comment
<no inherited methods>
Inherited Static Methods:
@ -32,8 +29,7 @@ const System = require('./r3-system.js');
Properties:
- started (Default value false)
- subscriptions (Default value {})
<no properties>
Static Properties:
@ -42,11 +38,7 @@ const System = require('./r3-system.js');
Methods:
- start()
Starts a transient system by registering subscriptions to Events
- stop()
Stops a transient system to by removing subscriptions to Events
<no methods>
Static Methods:
@ -59,8 +51,6 @@ const System = require('./r3-system.js');
GENERATED_INHERITED_END
CUSTOM_OPTIONS_START
started=false
subscriptions={}
CUSTOM_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
@ -76,8 +66,6 @@ const System = require('./r3-system.js');
CUSTOM_STATIC_EVENT_LISTENERS_END
CUSTOM_METHODS_START
start() - Starts a transient system by registering subscriptions to Events
stop() - Stops a transient system to by removing subscriptions to Events
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -96,23 +84,9 @@ class SystemDOM extends System {
options = {};
}
if (typeof options.callDepth === 'undefined') {
options.callDepth = 0;
} else {
options.callDepth++;
}
super(options);
//GENERATED_OPTIONS_INIT_START
if (typeof options.started === 'undefined') {
options.started = false;
}
if (typeof options.subscriptions === 'undefined') {
options.subscriptions = {};
}
//GENERATED_OPTIONS_INIT_END
//CUSTOM_OPTIONS_INIT_START
@ -123,66 +97,12 @@ class SystemDOM extends System {
//CUSTOM_BEFORE_INIT_START
//CUSTOM_BEFORE_INIT_END
if (options.callDepth === 0) {
this.initialized();
} else {
options.callDepth--;
}
//CUSTOM_AFTER_INIT_START
//CUSTOM_AFTER_INIT_END
}
//GENERATED_CONSTRUCTOR_EXTENDS_END
//GENERATED_METHODS_START
/**
* start()
* - Starts a transient system by registering subscriptions to Events
*/
start() {
//GENERATED_START_METHOD_START
//GENERATED_EVENT_LISTENERS_START_START
//GENERATED_EVENT_LISTENERS_START_END
//CUSTOM_BEFORE_SYSTEM_START_START
//CUSTOM_BEFORE_SYSTEM_START_END
this.started = true;
console.log('Started transient system: SystemDOM');
//GENERATED_START_METHOD_END
//CUSTOM_START_METHOD_START
//CUSTOM_START_METHOD_END
}
/**
* stop()
* - Stops a transient system to by removing subscriptions to Events
*/
stop() {
//GENERATED_STOP_METHOD_START
//GENERATED_EVENT_LISTENERS_STOP_START
//GENERATED_EVENT_LISTENERS_STOP_END
//CUSTOM_BEFORE_SYSTEM_STOP_START
//CUSTOM_BEFORE_SYSTEM_STOP_END
this.started = false;
console.log('Stopped transient system: SystemDOM');
//GENERATED_STOP_METHOD_END
//CUSTOM_STOP_METHOD_START
//CUSTOM_STOP_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START

View File

@ -11,18 +11,15 @@ const System = require('./r3-system.js');
Inherited Properties:
- started (Default value false)
- subscriptions (Default value {})
<no inherited properties>
Inherited Static Properties:
- Started (Default value false)
- Subscriptions (Default value {})
<no inherited static properties>
Inherited Methods:
- initialized()
No comment
<no inherited methods>
Inherited Static Methods:
@ -32,8 +29,7 @@ const System = require('./r3-system.js');
Properties:
- started (Default value false)
- subscriptions (Default value {})
<no properties>
Static Properties:
@ -42,11 +38,7 @@ const System = require('./r3-system.js');
Methods:
- start()
Starts a transient system by registering subscriptions to Events
- stop()
Stops a transient system to by removing subscriptions to Events
<no methods>
Static Methods:
@ -59,8 +51,6 @@ const System = require('./r3-system.js');
GENERATED_INHERITED_END
CUSTOM_OPTIONS_START
started=false
subscriptions={}
CUSTOM_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
@ -85,8 +75,6 @@ const System = require('./r3-system.js');
CUSTOM_STATIC_EVENT_LISTENERS_END
CUSTOM_METHODS_START
start() - Starts a transient system by registering subscriptions to Events
stop() - Stops a transient system to by removing subscriptions to Events
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -105,23 +93,9 @@ class SystemInput extends System {
options = {};
}
if (typeof options.callDepth === 'undefined') {
options.callDepth = 0;
} else {
options.callDepth++;
}
super(options);
//GENERATED_OPTIONS_INIT_START
if (typeof options.started === 'undefined') {
options.started = false;
}
if (typeof options.subscriptions === 'undefined') {
options.subscriptions = {};
}
//GENERATED_OPTIONS_INIT_END
//CUSTOM_OPTIONS_INIT_START
@ -132,67 +106,12 @@ class SystemInput extends System {
//CUSTOM_BEFORE_INIT_START
//CUSTOM_BEFORE_INIT_END
if (options.callDepth === 0) {
this.initialized();
} else {
options.callDepth--;
}
//CUSTOM_AFTER_INIT_START
//CUSTOM_AFTER_INIT_END
}
//GENERATED_CONSTRUCTOR_EXTENDS_END
//GENERATED_METHODS_START
/**
* start()
* - Starts a transient system by registering subscriptions to Events
*/
start() {
//GENERATED_START_METHOD_START
//GENERATED_EVENT_LISTENERS_START_START
//GENERATED_EVENT_LISTENERS_START_END
//CUSTOM_BEFORE_SYSTEM_START_START
console.log('Test for custom start before');
//CUSTOM_BEFORE_SYSTEM_START_END
this.started = true;
console.log('Started transient system: SystemInput');
//GENERATED_START_METHOD_END
//CUSTOM_START_METHOD_START
//CUSTOM_START_METHOD_END
}
/**
* stop()
* - Stops a transient system to by removing subscriptions to Events
*/
stop() {
//GENERATED_STOP_METHOD_START
//GENERATED_EVENT_LISTENERS_STOP_START
//GENERATED_EVENT_LISTENERS_STOP_END
//CUSTOM_BEFORE_SYSTEM_STOP_START
//CUSTOM_BEFORE_SYSTEM_STOP_END
this.started = false;
console.log('Stopped transient system: SystemInput');
//GENERATED_STOP_METHOD_END
//CUSTOM_STOP_METHOD_START
//CUSTOM_STOP_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START

View File

@ -11,18 +11,15 @@ const System = require('./r3-system.js');
Inherited Properties:
- started (Default value false)
- subscriptions (Default value {})
<no inherited properties>
Inherited Static Properties:
- Started (Default value false)
- Subscriptions (Default value {})
<no inherited static properties>
Inherited Methods:
- initialized()
No comment
<no inherited methods>
Inherited Static Methods:
@ -32,8 +29,7 @@ const System = require('./r3-system.js');
Properties:
- started (Default value false)
- subscriptions (Default value {})
<no properties>
Static Properties:
@ -42,11 +38,7 @@ const System = require('./r3-system.js');
Methods:
- start()
Starts a transient system by registering subscriptions to Events
- stop()
Stops a transient system to by removing subscriptions to Events
<no methods>
Static Methods:
@ -59,8 +51,6 @@ const System = require('./r3-system.js');
GENERATED_INHERITED_END
CUSTOM_OPTIONS_START
started=false
subscriptions={}
CUSTOM_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
@ -78,8 +68,6 @@ const System = require('./r3-system.js');
CUSTOM_STATIC_EVENT_LISTENERS_END
CUSTOM_METHODS_START
start() - Starts a transient system by registering subscriptions to Events
stop() - Stops a transient system to by removing subscriptions to Events
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -98,23 +86,9 @@ class SystemLinking extends System {
options = {};
}
if (typeof options.callDepth === 'undefined') {
options.callDepth = 0;
} else {
options.callDepth++;
}
super(options);
//GENERATED_OPTIONS_INIT_START
if (typeof options.started === 'undefined') {
options.started = false;
}
if (typeof options.subscriptions === 'undefined') {
options.subscriptions = {};
}
//GENERATED_OPTIONS_INIT_END
//CUSTOM_OPTIONS_INIT_START
@ -125,66 +99,12 @@ class SystemLinking extends System {
//CUSTOM_BEFORE_INIT_START
//CUSTOM_BEFORE_INIT_END
if (options.callDepth === 0) {
this.initialized();
} else {
options.callDepth--;
}
//CUSTOM_AFTER_INIT_START
//CUSTOM_AFTER_INIT_END
}
//GENERATED_CONSTRUCTOR_EXTENDS_END
//GENERATED_METHODS_START
/**
* start()
* - Starts a transient system by registering subscriptions to Events
*/
start() {
//GENERATED_START_METHOD_START
//GENERATED_EVENT_LISTENERS_START_START
//GENERATED_EVENT_LISTENERS_START_END
//CUSTOM_BEFORE_SYSTEM_START_START
//CUSTOM_BEFORE_SYSTEM_START_END
this.started = true;
console.log('Started transient system: SystemLinking');
//GENERATED_START_METHOD_END
//CUSTOM_START_METHOD_START
//CUSTOM_START_METHOD_END
}
/**
* stop()
* - Stops a transient system to by removing subscriptions to Events
*/
stop() {
//GENERATED_STOP_METHOD_START
//GENERATED_EVENT_LISTENERS_STOP_START
//GENERATED_EVENT_LISTENERS_STOP_END
//CUSTOM_BEFORE_SYSTEM_STOP_START
//CUSTOM_BEFORE_SYSTEM_STOP_END
this.started = false;
console.log('Stopped transient system: SystemLinking');
//GENERATED_STOP_METHOD_END
//CUSTOM_STOP_METHOD_START
//CUSTOM_STOP_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START

View File

@ -11,18 +11,15 @@ const System = require('./r3-system.js');
Inherited Properties:
- started (Default value false)
- subscriptions (Default value {})
<no inherited properties>
Inherited Static Properties:
- Started (Default value false)
- Subscriptions (Default value {})
<no inherited static properties>
Inherited Methods:
- initialized()
No comment
<no inherited methods>
Inherited Static Methods:
@ -32,8 +29,7 @@ const System = require('./r3-system.js');
Properties:
- started (Default value false)
- subscriptions (Default value {})
<no properties>
Static Properties:
@ -42,11 +38,7 @@ const System = require('./r3-system.js');
Methods:
- start()
Starts a transient system by registering subscriptions to Events
- stop()
Stops a transient system to by removing subscriptions to Events
<no methods>
Static Methods:
@ -59,8 +51,6 @@ const System = require('./r3-system.js');
GENERATED_INHERITED_END
CUSTOM_OPTIONS_START
started=false
subscriptions={}
CUSTOM_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
@ -75,8 +65,6 @@ const System = require('./r3-system.js');
CUSTOM_STATIC_EVENT_LISTENERS_END
CUSTOM_METHODS_START
start() - Starts a transient system by registering subscriptions to Events
stop() - Stops a transient system to by removing subscriptions to Events
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -95,23 +83,9 @@ class SystemSocket extends System {
options = {};
}
if (typeof options.callDepth === 'undefined') {
options.callDepth = 0;
} else {
options.callDepth++;
}
super(options);
//GENERATED_OPTIONS_INIT_START
if (typeof options.started === 'undefined') {
options.started = false;
}
if (typeof options.subscriptions === 'undefined') {
options.subscriptions = {};
}
//GENERATED_OPTIONS_INIT_END
//CUSTOM_OPTIONS_INIT_START
@ -122,67 +96,12 @@ class SystemSocket extends System {
//CUSTOM_BEFORE_INIT_START
//CUSTOM_BEFORE_INIT_END
if (options.callDepth === 0) {
this.initialized();
} else {
options.callDepth--;
}
//CUSTOM_AFTER_INIT_START
//CUSTOM_AFTER_INIT_END
}
//GENERATED_CONSTRUCTOR_EXTENDS_END
//GENERATED_METHODS_START
/**
* start()
* - Starts a transient system by registering subscriptions to Events
*/
start() {
//GENERATED_START_METHOD_START
//GENERATED_EVENT_LISTENERS_START_START
//GENERATED_EVENT_LISTENERS_START_END
//CUSTOM_BEFORE_SYSTEM_START_START
//CUSTOM_BEFORE_SYSTEM_START_END
this.started = true;
console.log('Started transient system: SystemSocket');
//GENERATED_START_METHOD_END
//CUSTOM_START_METHOD_START
//CUSTOM_START_METHOD_END
}
/**
* stop()
* - Stops a transient system to by removing subscriptions to Events
*/
stop() {
//GENERATED_STOP_METHOD_START
//GENERATED_EVENT_LISTENERS_STOP_START
//GENERATED_EVENT_LISTENERS_STOP_END
//CUSTOM_BEFORE_SYSTEM_STOP_START
//CUSTOM_BEFORE_SYSTEM_STOP_END
this.started = false;
console.log('Stopped transient system: SystemSocket');
//GENERATED_STOP_METHOD_END
//CUSTOM_STOP_METHOD_START
console.log('system socket stop test');
//CUSTOM_STOP_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START

View File

@ -4,13 +4,9 @@ const Utils = require('.././r3-utils');
/**
CUSTOM_OPTIONS_START
started=false
subscriptions={}
CUSTOM_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
Started=false
Subscriptions={}
CUSTOM_STATIC_OPTIONS_END
CUSTOM_EVENT_LISTENERS_START
@ -20,7 +16,6 @@ const Utils = require('.././r3-utils');
CUSTOM_STATIC_EVENT_LISTENERS_END
CUSTOM_METHODS_START
initialized()
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -33,27 +28,11 @@ class System {
//GENERATED_CONSTRUCTOR_START
constructor(options) {
Event.Emit(Event.OBJECT_CREATED, this);
if (typeof options === 'undefined') {
options = {};
}
if (typeof options.callDepth === 'undefined') {
options.callDepth = 0;
} else {
options.callDepth++;
}
//GENERATED_OPTIONS_INIT_START
if (typeof options.started === 'undefined') {
options.started = false;
}
if (typeof options.subscriptions === 'undefined') {
options.subscriptions = {};
}
//GENERATED_OPTIONS_INIT_END
//CUSTOM_OPTIONS_INIT_START
@ -64,34 +43,12 @@ class System {
//CUSTOM_BEFORE_INIT_START
//CUSTOM_BEFORE_INIT_END
if (options.callDepth === 0) {
this.initialized();
} else {
options.callDepth--;
}
//CUSTOM_AFTER_INIT_START
//CUSTOM_AFTER_INIT_END
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
/**
* initialized()
* - No comment
*/
initialized() {
//GENERATED_INITIALIZED_METHOD_START
Event.Emit(Event.OBJECT_INITIALIZED, this);
delete this.callDepth;
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
//CUSTOM_INITIALIZED_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START
@ -109,8 +66,6 @@ class System {
}
//GENERATED_STATIC_OPTIONS_INIT_START
System.Started = false;
System.Subscriptions = {};
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START

View File

@ -10,6 +10,7 @@ const Event = require('./r3-event');
CUSTOM_OPTIONS_END
CUSTOM_METHODS_START
initialized() - Should raise an event(s) which indicates that this object initialized
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
@ -1292,6 +1293,25 @@ class Utils {
//CUSTOM_IMPLEMENTATION_END
//GENERATED_METHODS_START
/**
* initialized()
* - Should raise an event(s) which indicates that this object initialized
*/
initialized() {
//GENERATED_INITIALIZED_METHOD_START
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}
//GENERATED_INITIALIZED_METHOD_END
//CUSTOM_INITIALIZED_METHOD_START
//CUSTOM_INITIALIZED_METHOD_END
}
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START

View File

@ -1,2 +1,5 @@
Event.Emit(Event.OBJECT_INITIALIZED, this);
delete this.callDepth;
if (this.hasOwnProperty('callDepth')) {
delete this.callDepth;
} else {
console.warn('Multiple calls to initialized() - check your callstack');
}

View File

@ -11,6 +11,7 @@ const Utils = require('INCLUDE_PATH/r3-utils');
CUSTOM_OPTIONS_END
CUSTOM_METHODS_START
initialized() - Should raise an event(s) which indicates that this object initialized
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START

View File

@ -1,15 +0,0 @@
class R3 {
static version = 'VERSION';
static compileDate = 'DATE';
}
//GENERATED_IMPORTS_START
//GENERATED_IMPORTS_END
//GENERATED_DEFINES_START
//GENERATED_DEFINES_END
//CUSTOM_CONVENIENT_DEFINES_START
//CUSTOM_CONVENIENT_DEFINES_END
module.exports = R3;

View File

@ -1,62 +0,0 @@
const Event = require('INCLUDE_PATH/r3-event');
const Utils = require('INCLUDE_PATH/r3-utils');
/**
CUSTOM_OPTIONS_START
started=false
subscriptions={}
CUSTOM_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
Started=false
Subscriptions={}
CUSTOM_STATIC_OPTIONS_END
CUSTOM_EVENT_LISTENERS_START
CUSTOM_EVENT_LISTENERS_END
CUSTOM_STATIC_EVENT_LISTENERS_START
CUSTOM_STATIC_EVENT_LISTENERS_END
CUSTOM_METHODS_START
initialized()
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class CLASS_NAME {
//GENERATED_CONSTRUCTOR_START
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//GENERATED_EVENT_LISTENER_METHODS_START
//GENERATED_EVENT_LISTENER_METHODS_END
//GENERATED_STATIC_EVENT_LISTENER_METHODS_START
//GENERATED_STATIC_EVENT_LISTENER_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_END
module.exports = CLASS_NAME;

View File

@ -1,70 +0,0 @@
const Event = require('INCLUDE_PATH/r3-event');
const Utils = require('INCLUDE_PATH/r3-utils');
const EXTEND_CLASS = require('./EXTEND_CLASS_FILE_NAME');
/**
GENERATED_INHERITED_START
GENERATED_INHERITED_END
CUSTOM_OPTIONS_START
started=false
subscriptions={}
CUSTOM_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
Started=false
Subscriptions={}
CUSTOM_STATIC_OPTIONS_END
CUSTOM_EVENT_LISTENERS_START
CUSTOM_EVENT_LISTENERS_END
CUSTOM_STATIC_EVENT_LISTENERS_START
CUSTOM_STATIC_EVENT_LISTENERS_END
CUSTOM_METHODS_START
start() - Starts a transient system by registering subscriptions to Events
stop() - Stops a transient system to by removing subscriptions to Events
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
Start(options) - Starts the system by registering subscriptions to events
Stop(options) - Stops the system by removing these subscriptions to events
CUSTOM_STATIC_METHODS_END
**/
class CLASS_NAME extends EXTEND_CLASS {
//GENERATED_CONSTRUCTOR_EXTENDS_START
//GENERATED_CONSTRUCTOR_EXTENDS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//GENERATED_EVENT_LISTENER_METHODS_START
//GENERATED_EVENT_LISTENER_METHODS_END
//GENERATED_STATIC_EVENT_LISTENER_METHODS_START
//GENERATED_STATIC_EVENT_LISTENER_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_END
module.exports = CLASS_NAME;

View File

@ -21,7 +21,6 @@ GENERATED_METHOD_NAME_UPPERCASE_METHOD
GENERATED_METHODS
GENERATED_OPTIONS_INIT
GENERATED_OUT_OF_CLASS_IMPLEMENTATION
GENERATED_START_METHOD
GENERATED_STATIC_ASYNC_METHOD
GENERATED_STATIC_EMIT_METHOD
GENERATED_STATIC_EVENT_LISTENER_METHODS
@ -47,7 +46,6 @@ GENERATED_STATIC_OPTIONS_INIT
GENERATED_STATIC_START_METHOD
GENERATED_STATIC_STOP_METHOD
GENERATED_STATIC_SUBSCRIBE_METHOD
GENERATED_STOP_METHOD
GENERATED_SUBSCRIBE_METHOD
GENERATED_UPDATE_FROM_INSTANCE_METHOD
GENERATED_UPDATE_FROM_INSTANCE_OPTIONS
@ -77,7 +75,6 @@ CUSTOM_METHODS
CUSTOM_OPTIONS
CUSTOM_OPTIONS_INIT
CUSTOM_OUT_OF_CLASS_IMPLEMENTATION
CUSTOM_START_METHOD
CUSTOM_STATIC_ASYNC_METHOD
CUSTOM_STATIC_EMIT_METHOD
CUSTOM_STATIC_EVENT_LISTENERS
@ -101,6 +98,5 @@ CUSTOM_STATIC_OPTIONS
CUSTOM_STATIC_START_METHOD
CUSTOM_STATIC_STOP_METHOD
CUSTOM_STATIC_SUBSCRIBE_METHOD
CUSTOM_STOP_METHOD
CUSTOM_SUBSCRIBE_METHOD
CUSTOM_UPDATE_FROM_INSTANCE_METHOD

View File

@ -1 +1 @@
2.0.440
2.0.448