inheriting for systems - r3-base template
parent
0d8242a0ec
commit
574a4d7c70
13
.r3_history
13
.r3_history
|
@ -1,9 +1,10 @@
|
|||
r3 create R3 r3-base
|
||||
r3 create Event normal
|
||||
r3 create R3Object extends Event
|
||||
r3 create Utils normal
|
||||
r3 create Component extends R3Object
|
||||
r3 create R3Object extends Event
|
||||
r3 create Utils normal
|
||||
r3 create Component extends R3Object
|
||||
r3 create Project extends R3Object
|
||||
r3 create System system-base
|
||||
r3 create Test system
|
||||
r3 create Linking system
|
||||
r3 create Socket system
|
||||
r3 create SystemSocket system
|
||||
r3 create SystemLinking system
|
||||
r3 create SystemTest system
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const R3 = require('./r3.js');
|
||||
const R3 = require('./r3-r3.js');
|
||||
|
||||
R3.System.Linking.start();
|
||||
R3.System.Socket.start();
|
||||
|
|
|
@ -1,20 +1,24 @@
|
|||
//GENERATED_IMPORTS_START
|
||||
const {System, SystemLinking, SystemSocket} = require('./r3-system');
|
||||
const R3Object = require('./r3-r3-object');
|
||||
//GENERATED_IMPORTS_END
|
||||
|
||||
class R3 {
|
||||
|
||||
constructor() {
|
||||
}
|
||||
constructor() {
|
||||
}
|
||||
|
||||
static version() {
|
||||
return '__DATE__';
|
||||
}
|
||||
static version() {
|
||||
return '__DATE__';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//GENERATED_DEFINES_START
|
||||
R3.R3Object = R3Object;
|
||||
R3.System = System;
|
||||
R3.System.Linking = SystemLinking;
|
||||
R3.System.Socket = SystemSocket;
|
||||
//GENERATED_DEFINES_END
|
||||
|
||||
module.exports = R3;
|
|
@ -5,6 +5,21 @@ const System = require('./r3-system.js');
|
|||
/**
|
||||
|
||||
GENERATE_INHERITED_START
|
||||
|
||||
Inherited from System
|
||||
|
||||
Properties:
|
||||
|
||||
test
|
||||
|
||||
Methods:
|
||||
|
||||
test
|
||||
|
||||
Static Methods:
|
||||
|
||||
test
|
||||
|
||||
GENERATE_INHERITED_END
|
||||
|
||||
CUSTOM_OPTIONS_START
|
||||
|
|
|
@ -5,6 +5,21 @@ const System = require('./r3-system.js');
|
|||
/**
|
||||
|
||||
GENERATE_INHERITED_START
|
||||
|
||||
Inherited from System
|
||||
|
||||
Properties:
|
||||
|
||||
test
|
||||
|
||||
Methods:
|
||||
|
||||
test
|
||||
|
||||
Static Methods:
|
||||
|
||||
test
|
||||
|
||||
GENERATE_INHERITED_END
|
||||
|
||||
CUSTOM_OPTIONS_START
|
||||
|
|
|
@ -5,6 +5,21 @@ const System = require('./r3-system.js');
|
|||
/**
|
||||
|
||||
GENERATE_INHERITED_START
|
||||
|
||||
Inherited from System
|
||||
|
||||
Properties:
|
||||
|
||||
test
|
||||
|
||||
Methods:
|
||||
|
||||
test
|
||||
|
||||
Static Methods:
|
||||
|
||||
test
|
||||
|
||||
GENERATE_INHERITED_END
|
||||
|
||||
CUSTOM_OPTIONS_START
|
||||
|
|
|
@ -57,7 +57,8 @@ class System {
|
|||
|
||||
/**
|
||||
* start() - Just calls System.Start(options)
|
||||
* options
|
||||
*
|
||||
* @param options
|
||||
*
|
||||
*/
|
||||
start(options) {
|
||||
|
@ -76,7 +77,8 @@ class System {
|
|||
|
||||
/**
|
||||
* stop() - Just calls System.Stop(options)
|
||||
* options
|
||||
*
|
||||
* @param options
|
||||
*
|
||||
*/
|
||||
stop(options) {
|
||||
|
@ -92,7 +94,8 @@ class System {
|
|||
|
||||
/**
|
||||
* Start() - Starts the system by registering subscriptions to events
|
||||
* options
|
||||
*
|
||||
* @param options
|
||||
*
|
||||
*/
|
||||
static Start(options) {
|
||||
|
@ -105,7 +108,8 @@ class System {
|
|||
|
||||
/**
|
||||
* Stop() - Stops the system by removing these subscriptions to events
|
||||
* options
|
||||
*
|
||||
* @param options
|
||||
*
|
||||
*/
|
||||
static Stop(options) {
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
//GENERATED_IMPORTS_START
|
||||
const {System, SystemLinking, SystemSocket} = require('./r3-system');
|
||||
const R3Object = require('./r3-r3-object');
|
||||
//GENERATED_IMPORTS_END
|
||||
|
||||
class R3 {
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
||||
static version() {
|
||||
return '__DATE__';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//GENERATED_DEFINES_START
|
||||
R3.R3Object = R3Object;
|
||||
R3.System = System;
|
||||
R3.System.Linking = SystemLinking;
|
||||
R3.System.Socket = SystemSocket;
|
||||
//GENERATED_DEFINES_END
|
||||
|
||||
module.exports = R3;
|
|
@ -738,7 +738,7 @@ foreach ($files as $file) {
|
|||
exit(1);
|
||||
} else {
|
||||
// deleteSavedFile($saveFile);
|
||||
exit(0);
|
||||
// exit(0);
|
||||
}
|
||||
} else if ($argv[2] == 'build-graph') {
|
||||
buildNodeList($file);
|
||||
|
|
Loading…
Reference in New Issue