generate inherited updates
parent
3ad313b491
commit
b8c29aeb89
|
@ -1,11 +1,12 @@
|
||||||
class R3 {
|
class R3 {
|
||||||
static version = '2.0.136';
|
static version = '2.0.145';
|
||||||
static compileDate = '2021 Sep 06 - 09:13:00 am';
|
static compileDate = '2021 Sep 06 - 09:38:21 am';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
Started=false
|
Started=false
|
||||||
|
Subscriptions=[]
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
@ -22,6 +23,9 @@ class System {
|
||||||
if (typeof options.started === 'undefined') {
|
if (typeof options.started === 'undefined') {
|
||||||
options.started = false;
|
options.started = false;
|
||||||
}
|
}
|
||||||
|
if (typeof options.subscriptions === 'undefined') {
|
||||||
|
options.subscriptions = [];
|
||||||
|
}
|
||||||
|
|
||||||
Object.assign(this, options);
|
Object.assign(this, options);
|
||||||
|
|
||||||
|
@ -31,7 +35,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* start()
|
* start()
|
||||||
* - Just calls System.Start()
|
* - Starts a transient system by registering subscriptions to events
|
||||||
*/
|
*/
|
||||||
start() {
|
start() {
|
||||||
|
|
||||||
|
@ -42,7 +46,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* stop()
|
* stop()
|
||||||
* - Just calls System.Stop()
|
* - Starts a transient by registering subscriptions to events
|
||||||
*/
|
*/
|
||||||
stop() {
|
stop() {
|
||||||
|
|
||||||
|
@ -53,7 +57,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start()
|
* Start()
|
||||||
* - Starts the system by registering subscriptions to events
|
* - Starts the global system by registering subscriptions to events
|
||||||
*/
|
*/
|
||||||
static Start() {
|
static Start() {
|
||||||
|
|
||||||
|
@ -69,7 +73,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stop()
|
* Stop()
|
||||||
* - Stops the system by removing these subscriptions to events
|
* - Stops the global system by removing these subscriptions to events
|
||||||
*/
|
*/
|
||||||
static Stop() {
|
static Stop() {
|
||||||
|
|
||||||
|
@ -84,6 +88,7 @@ class System {
|
||||||
}
|
}
|
||||||
|
|
||||||
System.Started = false;
|
System.Started = false;
|
||||||
|
System.Subscriptions = [];
|
||||||
|
|
||||||
class Event {
|
class Event {
|
||||||
|
|
||||||
|
@ -1620,9 +1625,41 @@ class Utils {
|
||||||
Class R3.System.Input
|
Class R3.System.Input
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
|
- start()
|
||||||
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
|
- stop()
|
||||||
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
|
Inherited Static Methods:
|
||||||
|
|
||||||
|
- Start()
|
||||||
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
|
- Stop()
|
||||||
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
|
[Belonging to SystemInput]
|
||||||
|
|
||||||
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
||||||
|
@ -1640,28 +1677,6 @@ class Utils {
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemInput]
|
|
||||||
|
|
||||||
Properties:
|
|
||||||
|
|
||||||
<no static properties>
|
|
||||||
|
|
||||||
Methods:
|
|
||||||
|
|
||||||
- start()
|
|
||||||
Overrides for R3.System.start()
|
|
||||||
|
|
||||||
- stop()
|
|
||||||
Overrides for R3.System.stop()
|
|
||||||
|
|
||||||
Static Methods:
|
|
||||||
|
|
||||||
- Start()
|
|
||||||
Overrides for R3.System.Start()
|
|
||||||
|
|
||||||
- Stop()
|
|
||||||
Overrides for R3.System.Stop()
|
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
class SystemInput extends System {
|
class SystemInput extends System {
|
||||||
|
@ -2002,30 +2017,40 @@ class SystemInput extends System {
|
||||||
Class R3.System.Linking
|
Class R3.System.Linking
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- start()
|
- start()
|
||||||
Just calls System.Start()
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
- stop()
|
- stop()
|
||||||
Just calls System.Stop()
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Start()
|
- Start()
|
||||||
Starts the system by registering subscriptions to events
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemLinking]
|
[Belonging to SystemLinking]
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
@ -2180,30 +2205,40 @@ class SystemLinking extends System {
|
||||||
Class R3.System.Socket
|
Class R3.System.Socket
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- start()
|
- start()
|
||||||
Just calls System.Start()
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
- stop()
|
- stop()
|
||||||
Just calls System.Stop()
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Start()
|
- Start()
|
||||||
Starts the system by registering subscriptions to events
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemSocket]
|
[Belonging to SystemSocket]
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
@ -2309,30 +2344,40 @@ class SystemSocket extends System {
|
||||||
Class R3.System.Test
|
Class R3.System.Test
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- start()
|
- start()
|
||||||
Just calls System.Start()
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
- stop()
|
- stop()
|
||||||
Just calls System.Stop()
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Start()
|
- Start()
|
||||||
Starts the system by registering subscriptions to events
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemTest]
|
[Belonging to SystemTest]
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
@ -2434,11 +2479,15 @@ class SystemTest extends System {
|
||||||
Class R3.Event.Object
|
Class R3.Event.Object
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -2449,7 +2498,7 @@ class SystemTest extends System {
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -2470,6 +2519,10 @@ class SystemTest extends System {
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
||||||
<no methods>
|
<no methods>
|
||||||
|
@ -2513,11 +2566,15 @@ class R3Object extends Event {
|
||||||
Class R3.Event.Runtime
|
Class R3.Event.Runtime
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -2528,7 +2585,7 @@ class R3Object extends Event {
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -2547,6 +2604,10 @@ class R3Object extends Event {
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
@ -2591,11 +2652,15 @@ Runtime.GRAPHICS = 0x2;
|
||||||
Class R3.Event.Object.Component
|
Class R3.Event.Object.Component
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -2606,7 +2671,7 @@ Runtime.GRAPHICS = 0x2;
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -2623,15 +2688,19 @@ Runtime.GRAPHICS = 0x2;
|
||||||
|
|
||||||
[Inherited from R3Object]
|
[Inherited from R3Object]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
<no inherited methods>
|
<no inherited methods>
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
|
@ -2641,6 +2710,10 @@ Runtime.GRAPHICS = 0x2;
|
||||||
|
|
||||||
- runtime (Default value R3.Runtime.DEFAULT)
|
- runtime (Default value R3.Runtime.DEFAULT)
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
||||||
- createInstance()
|
- createInstance()
|
||||||
|
@ -2759,11 +2832,15 @@ class Component extends R3Object {
|
||||||
Class R3.Event.Object.Project
|
Class R3.Event.Object.Project
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -2774,7 +2851,7 @@ class Component extends R3Object {
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -2791,15 +2868,19 @@ class Component extends R3Object {
|
||||||
|
|
||||||
[Inherited from R3Object]
|
[Inherited from R3Object]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
<no inherited methods>
|
<no inherited methods>
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
|
@ -2807,6 +2888,10 @@ class Component extends R3Object {
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
@ -2848,11 +2933,15 @@ class Project extends R3Object {
|
||||||
Class R3.Event.Object.Component.Image
|
Class R3.Event.Object.Component.Image
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -2863,7 +2952,7 @@ class Project extends R3Object {
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -2880,25 +2969,33 @@ class Project extends R3Object {
|
||||||
|
|
||||||
[Inherited from R3Object]
|
[Inherited from R3Object]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
<no inherited methods>
|
<no inherited methods>
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
[Inherited from Component]
|
[Inherited from Component]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- runtime (Default value R3.Runtime.DEFAULT)
|
- runtime (Default value R3.Runtime.DEFAULT)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- createInstance()
|
- createInstance()
|
||||||
No comment
|
No comment
|
||||||
|
@ -2912,7 +3009,7 @@ class Project extends R3Object {
|
||||||
- getRuntime()
|
- getRuntime()
|
||||||
No comment
|
No comment
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
|
@ -2920,6 +3017,10 @@ class Project extends R3Object {
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "r3",
|
"name": "r3",
|
||||||
"version" : "2.0.136",
|
"version" : "2.0.145",
|
||||||
"description": "",
|
"description": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
26
r3.php
26
r3.php
|
@ -309,7 +309,7 @@ function doGetInheritedTemplateUpdates($node, $restoreTokens, $inherited = true,
|
||||||
if ($inherited) {
|
if ($inherited) {
|
||||||
$PROPERTY_LIST = '<no inherited properties>';
|
$PROPERTY_LIST = '<no inherited properties>';
|
||||||
} else {
|
} else {
|
||||||
$PROPERTY_LIST = '<no static properties>';
|
$PROPERTY_LIST = '<no properties>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$propertyListItems = getPropertyListItems($store);
|
$propertyListItems = getPropertyListItems($store);
|
||||||
|
@ -317,6 +317,20 @@ function doGetInheritedTemplateUpdates($node, $restoreTokens, $inherited = true,
|
||||||
}
|
}
|
||||||
$PROPERTY_LIST = trim($PROPERTY_LIST);
|
$PROPERTY_LIST = trim($PROPERTY_LIST);
|
||||||
|
|
||||||
|
$token = 'CUSTOM_STATIC_OPTIONS';
|
||||||
|
$store = getTokenStore($token, $tokens);
|
||||||
|
if (sizeof($store) <= 0) {
|
||||||
|
if ($inherited) {
|
||||||
|
$STATIC_PROPERTY_LIST = '<no inherited static properties>';
|
||||||
|
} else {
|
||||||
|
$STATIC_PROPERTY_LIST = '<no static properties>';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$propertyListItems = getPropertyListItems($store);
|
||||||
|
$STATIC_PROPERTY_LIST = implode("\n ", $propertyListItems);
|
||||||
|
}
|
||||||
|
$STATIC_PROPERTY_LIST = trim($STATIC_PROPERTY_LIST);
|
||||||
|
|
||||||
$token = 'CUSTOM_METHODS';
|
$token = 'CUSTOM_METHODS';
|
||||||
$store = getTokenStore($token, $tokens);
|
$store = getTokenStore($token, $tokens);
|
||||||
$parentStore = getTokenStore($token, $parentTokens);
|
$parentStore = getTokenStore($token, $parentTokens);
|
||||||
|
@ -361,9 +375,17 @@ function doGetInheritedTemplateUpdates($node, $restoreTokens, $inherited = true,
|
||||||
$updated = preg_replace('/^.*?FIRST_TEMPLATE.*\n/m', "", $template);
|
$updated = preg_replace('/^.*?FIRST_TEMPLATE.*\n/m', "", $template);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($inherited) {
|
||||||
|
$INHERITED = 'Inherited ';
|
||||||
|
} else {
|
||||||
|
$INHERITED = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
$updated = str_replace('INHERITED', $INHERITED, $updated);
|
||||||
$updated = str_replace('DESCRIPTION', $description, $updated);
|
$updated = str_replace('DESCRIPTION', $description, $updated);
|
||||||
$updated = str_replace('CLASS_NAME', $CLASS_NAME, $updated);
|
$updated = str_replace('CLASS_NAME', $CLASS_NAME, $updated);
|
||||||
$updated = str_replace('PROPERTY_LIST', $PROPERTY_LIST, $updated);
|
$updated = preg_replace('/\bPROPERTY_LIST\b/', $PROPERTY_LIST, $updated);
|
||||||
|
$updated = preg_replace('/\bSTATIC_PROPERTY_LIST\b/', $STATIC_PROPERTY_LIST, $updated);
|
||||||
$updated = str_replace('STATIC_METHOD_LIST', $STATIC_METHOD_LIST, $updated);
|
$updated = str_replace('STATIC_METHOD_LIST', $STATIC_METHOD_LIST, $updated);
|
||||||
$updated = str_replace('METHOD_LIST', $METHOD_LIST, $updated);
|
$updated = str_replace('METHOD_LIST', $METHOD_LIST, $updated);
|
||||||
$updates .= $updated;
|
$updates .= $updated;
|
||||||
|
|
|
@ -9,11 +9,15 @@ const R3Object = require('.././r3-r3-object.js');
|
||||||
Class R3.Event.Object.Component
|
Class R3.Event.Object.Component
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -24,7 +28,7 @@ const R3Object = require('.././r3-r3-object.js');
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -41,15 +45,19 @@ const R3Object = require('.././r3-r3-object.js');
|
||||||
|
|
||||||
[Inherited from R3Object]
|
[Inherited from R3Object]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
<no inherited methods>
|
<no inherited methods>
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
|
@ -59,6 +67,10 @@ const R3Object = require('.././r3-r3-object.js');
|
||||||
|
|
||||||
- runtime (Default value R3.Runtime.DEFAULT)
|
- runtime (Default value R3.Runtime.DEFAULT)
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
||||||
- createInstance()
|
- createInstance()
|
||||||
|
|
|
@ -9,11 +9,15 @@ const Component = require('.././r3-component.js');
|
||||||
Class R3.Event.Object.Component.Image
|
Class R3.Event.Object.Component.Image
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -24,7 +28,7 @@ const Component = require('.././r3-component.js');
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -41,25 +45,33 @@ const Component = require('.././r3-component.js');
|
||||||
|
|
||||||
[Inherited from R3Object]
|
[Inherited from R3Object]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
<no inherited methods>
|
<no inherited methods>
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
[Inherited from Component]
|
[Inherited from Component]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- runtime (Default value R3.Runtime.DEFAULT)
|
- runtime (Default value R3.Runtime.DEFAULT)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- createInstance()
|
- createInstance()
|
||||||
No comment
|
No comment
|
||||||
|
@ -73,7 +85,7 @@ const Component = require('.././r3-component.js');
|
||||||
- getRuntime()
|
- getRuntime()
|
||||||
No comment
|
No comment
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
|
@ -81,6 +93,10 @@ const Component = require('.././r3-component.js');
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
|
@ -9,11 +9,15 @@ const R3Object = require('./r3-r3-object.js');
|
||||||
Class R3.Event.Object.Project
|
Class R3.Event.Object.Project
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -24,7 +28,7 @@ const R3Object = require('./r3-r3-object.js');
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -41,15 +45,19 @@ const R3Object = require('./r3-r3-object.js');
|
||||||
|
|
||||||
[Inherited from R3Object]
|
[Inherited from R3Object]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
<no inherited methods>
|
<no inherited methods>
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
<no inherited static methods>
|
<no inherited static methods>
|
||||||
|
|
||||||
|
@ -57,6 +65,10 @@ const R3Object = require('./r3-r3-object.js');
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
|
@ -8,11 +8,15 @@ const Event = require('./r3-event.js');
|
||||||
Class R3.Event.Object
|
Class R3.Event.Object
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -23,7 +27,7 @@ const Event = require('./r3-event.js');
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -44,6 +48,10 @@ const Event = require('./r3-event.js');
|
||||||
|
|
||||||
- register (Default value true)
|
- register (Default value true)
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
||||||
<no methods>
|
<no methods>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
class R3 {
|
class R3 {
|
||||||
static version = '2.0.136';
|
static version = '2.0.145';
|
||||||
static compileDate = '2021 Sep 06 - 09:13:00 am';
|
static compileDate = '2021 Sep 06 - 09:38:21 am';
|
||||||
}
|
}
|
||||||
|
|
||||||
//GENERATED_IMPORTS_START
|
//GENERATED_IMPORTS_START
|
||||||
|
|
|
@ -8,11 +8,15 @@ const Event = require('./r3-event.js');
|
||||||
Class R3.Event.Runtime
|
Class R3.Event.Runtime
|
||||||
[Inherited from Event]
|
[Inherited from Event]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
<no inherited properties>
|
<no inherited properties>
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
<no inherited static properties>
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- async(eventId, data, clientCallback, clientErrorCallback)
|
- async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Simply calls 'Async()' passing it the arguments
|
Simply calls 'Async()' passing it the arguments
|
||||||
|
@ -23,7 +27,7 @@ const Event = require('./r3-event.js');
|
||||||
- subscribe(eventId, callback)
|
- subscribe(eventId, callback)
|
||||||
Simply calls 'Subscribe()' passing it the arguments
|
Simply calls 'Subscribe()' passing it the arguments
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Async(eventId, data, clientCallback, clientErrorCallback)
|
- Async(eventId, data, clientCallback, clientErrorCallback)
|
||||||
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as
|
||||||
|
@ -42,6 +46,10 @@ const Event = require('./r3-event.js');
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
|
@ -9,9 +9,41 @@ const System = require('./r3-system.js');
|
||||||
Class R3.System.Input
|
Class R3.System.Input
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
|
- start()
|
||||||
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
|
- stop()
|
||||||
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
|
Inherited Static Methods:
|
||||||
|
|
||||||
|
- Start()
|
||||||
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
|
- Stop()
|
||||||
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
|
[Belonging to SystemInput]
|
||||||
|
|
||||||
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
||||||
|
@ -29,28 +61,6 @@ const System = require('./r3-system.js');
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemInput]
|
|
||||||
|
|
||||||
Properties:
|
|
||||||
|
|
||||||
<no static properties>
|
|
||||||
|
|
||||||
Methods:
|
|
||||||
|
|
||||||
- start()
|
|
||||||
Overrides for R3.System.start()
|
|
||||||
|
|
||||||
- stop()
|
|
||||||
Overrides for R3.System.stop()
|
|
||||||
|
|
||||||
Static Methods:
|
|
||||||
|
|
||||||
- Start()
|
|
||||||
Overrides for R3.System.Start()
|
|
||||||
|
|
||||||
- Stop()
|
|
||||||
Overrides for R3.System.Stop()
|
|
||||||
|
|
||||||
GENERATED_INHERITED_END
|
GENERATED_INHERITED_END
|
||||||
|
|
||||||
CUSTOM_OPTIONS_START
|
CUSTOM_OPTIONS_START
|
||||||
|
|
|
@ -9,30 +9,40 @@ const System = require('./r3-system.js');
|
||||||
Class R3.System.Linking
|
Class R3.System.Linking
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- start()
|
- start()
|
||||||
Just calls System.Start()
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
- stop()
|
- stop()
|
||||||
Just calls System.Stop()
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Start()
|
- Start()
|
||||||
Starts the system by registering subscriptions to events
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemLinking]
|
[Belonging to SystemLinking]
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
|
@ -9,30 +9,40 @@ const System = require('./r3-system.js');
|
||||||
Class R3.System.Socket
|
Class R3.System.Socket
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- start()
|
- start()
|
||||||
Just calls System.Start()
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
- stop()
|
- stop()
|
||||||
Just calls System.Stop()
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Start()
|
- Start()
|
||||||
Starts the system by registering subscriptions to events
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemSocket]
|
[Belonging to SystemSocket]
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
|
@ -9,30 +9,40 @@ const System = require('./r3-system.js');
|
||||||
Class R3.System.Test
|
Class R3.System.Test
|
||||||
[Inherited from System]
|
[Inherited from System]
|
||||||
|
|
||||||
Properties:
|
Inherited Properties:
|
||||||
|
|
||||||
- started (Default value false)
|
- started (Default value false)
|
||||||
|
- subscriptions (Default value [])
|
||||||
|
|
||||||
Methods:
|
Inherited Static Properties:
|
||||||
|
|
||||||
|
- Started (Default value false)
|
||||||
|
- Subscriptions (Default value [])
|
||||||
|
|
||||||
|
Inherited Methods:
|
||||||
|
|
||||||
- start()
|
- start()
|
||||||
Just calls System.Start()
|
Starts a transient system by registering subscriptions to events
|
||||||
|
|
||||||
- stop()
|
- stop()
|
||||||
Just calls System.Stop()
|
Starts a transient by registering subscriptions to events
|
||||||
|
|
||||||
Static Methods:
|
Inherited Static Methods:
|
||||||
|
|
||||||
- Start()
|
- Start()
|
||||||
Starts the system by registering subscriptions to events
|
Starts the global system by registering subscriptions to events
|
||||||
|
|
||||||
- Stop()
|
- Stop()
|
||||||
Stops the system by removing these subscriptions to events
|
Stops the global system by removing these subscriptions to events
|
||||||
|
|
||||||
[Belonging to SystemTest]
|
[Belonging to SystemTest]
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
|
<no properties>
|
||||||
|
|
||||||
|
Static Properties:
|
||||||
|
|
||||||
<no static properties>
|
<no static properties>
|
||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
|
@ -5,20 +5,22 @@ const Utils = require('.././r3-utils');
|
||||||
|
|
||||||
CUSTOM_OPTIONS_START
|
CUSTOM_OPTIONS_START
|
||||||
started=false
|
started=false
|
||||||
|
subscriptions=[]
|
||||||
CUSTOM_OPTIONS_END
|
CUSTOM_OPTIONS_END
|
||||||
|
|
||||||
CUSTOM_STATIC_OPTIONS_START
|
CUSTOM_STATIC_OPTIONS_START
|
||||||
Started=false
|
Started=false
|
||||||
|
Subscriptions=[]
|
||||||
CUSTOM_STATIC_OPTIONS_END
|
CUSTOM_STATIC_OPTIONS_END
|
||||||
|
|
||||||
CUSTOM_METHODS_START
|
CUSTOM_METHODS_START
|
||||||
start() - Just calls System.Start()
|
start() - Starts a transient system by registering subscriptions to events
|
||||||
stop() - Just calls System.Stop()
|
stop() - Starts a transient by registering subscriptions to events
|
||||||
CUSTOM_METHODS_END
|
CUSTOM_METHODS_END
|
||||||
|
|
||||||
CUSTOM_STATIC_METHODS_START
|
CUSTOM_STATIC_METHODS_START
|
||||||
Start() - Starts the system by registering subscriptions to events
|
Start() - Starts the global system by registering subscriptions to events
|
||||||
Stop() - Stops the system by removing these subscriptions to events
|
Stop() - Stops the global system by removing these subscriptions to events
|
||||||
CUSTOM_STATIC_METHODS_END
|
CUSTOM_STATIC_METHODS_END
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
@ -38,6 +40,9 @@ class System {
|
||||||
if (typeof options.started === 'undefined') {
|
if (typeof options.started === 'undefined') {
|
||||||
options.started = false;
|
options.started = false;
|
||||||
}
|
}
|
||||||
|
if (typeof options.subscriptions === 'undefined') {
|
||||||
|
options.subscriptions = [];
|
||||||
|
}
|
||||||
//GENERATED_OPTIONS_INIT_END
|
//GENERATED_OPTIONS_INIT_END
|
||||||
|
|
||||||
//CUSTOM_OPTIONS_INIT_START
|
//CUSTOM_OPTIONS_INIT_START
|
||||||
|
@ -59,7 +64,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* start()
|
* start()
|
||||||
* - Just calls System.Start()
|
* - Starts a transient system by registering subscriptions to events
|
||||||
*/
|
*/
|
||||||
start() {
|
start() {
|
||||||
|
|
||||||
|
@ -75,7 +80,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* stop()
|
* stop()
|
||||||
* - Just calls System.Stop()
|
* - Starts a transient by registering subscriptions to events
|
||||||
*/
|
*/
|
||||||
stop() {
|
stop() {
|
||||||
|
|
||||||
|
@ -94,7 +99,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start()
|
* Start()
|
||||||
* - Starts the system by registering subscriptions to events
|
* - Starts the global system by registering subscriptions to events
|
||||||
*/
|
*/
|
||||||
static Start() {
|
static Start() {
|
||||||
|
|
||||||
|
@ -120,7 +125,7 @@ class System {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stop()
|
* Stop()
|
||||||
* - Stops the system by removing these subscriptions to events
|
* - Stops the global system by removing these subscriptions to events
|
||||||
*/
|
*/
|
||||||
static Stop() {
|
static Stop() {
|
||||||
|
|
||||||
|
@ -150,6 +155,7 @@ class System {
|
||||||
|
|
||||||
//GENERATED_STATIC_OPTIONS_INIT_START
|
//GENERATED_STATIC_OPTIONS_INIT_START
|
||||||
System.Started = false;
|
System.Started = false;
|
||||||
|
System.Subscriptions = [];
|
||||||
//GENERATED_STATIC_OPTIONS_INIT_END
|
//GENERATED_STATIC_OPTIONS_INIT_END
|
||||||
|
|
||||||
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
|
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
CLASS_NAME.KEY = VALUE;
|
CLASS_NAME.KEY = VALUE;
|
||||||
|
|
|
@ -2,15 +2,19 @@
|
||||||
FIRST_TEMPLATE
|
FIRST_TEMPLATE
|
||||||
[DESCRIPTION CLASS_NAME]
|
[DESCRIPTION CLASS_NAME]
|
||||||
|
|
||||||
Properties:
|
INHERITEDProperties:
|
||||||
|
|
||||||
PROPERTY_LIST
|
PROPERTY_LIST
|
||||||
|
|
||||||
Methods:
|
INHERITEDStatic Properties:
|
||||||
|
|
||||||
|
STATIC_PROPERTY_LIST
|
||||||
|
|
||||||
|
INHERITEDMethods:
|
||||||
|
|
||||||
METHOD_LIST
|
METHOD_LIST
|
||||||
|
|
||||||
Static Methods:
|
INHERITEDStatic Methods:
|
||||||
|
|
||||||
STATIC_METHOD_LIST
|
STATIC_METHOD_LIST
|
||||||
|
|
||||||
|
|
|
@ -4,21 +4,15 @@ const Utils = require('INCLUDE_PATH/r3-utils');
|
||||||
/**
|
/**
|
||||||
|
|
||||||
CUSTOM_OPTIONS_START
|
CUSTOM_OPTIONS_START
|
||||||
started=false
|
|
||||||
CUSTOM_OPTIONS_END
|
CUSTOM_OPTIONS_END
|
||||||
|
|
||||||
CUSTOM_STATIC_OPTIONS_START
|
CUSTOM_STATIC_OPTIONS_START
|
||||||
Started=false
|
|
||||||
CUSTOM_STATIC_OPTIONS_END
|
CUSTOM_STATIC_OPTIONS_END
|
||||||
|
|
||||||
CUSTOM_METHODS_START
|
CUSTOM_METHODS_START
|
||||||
start() - Just calls System.Start()
|
|
||||||
stop() - Just calls System.Stop()
|
|
||||||
CUSTOM_METHODS_END
|
CUSTOM_METHODS_END
|
||||||
|
|
||||||
CUSTOM_STATIC_METHODS_START
|
CUSTOM_STATIC_METHODS_START
|
||||||
Start() - Starts the system by registering subscriptions to events
|
|
||||||
Stop() - Stops the system by removing these subscriptions to events
|
|
||||||
CUSTOM_STATIC_METHODS_END
|
CUSTOM_STATIC_METHODS_END
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
Loading…
Reference in New Issue