123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- define( [ "module", "vwf/model" ], function( module, model ) {
-
- return model.load( module, {
-
-
-
-
- initialize: function() {
-
- this.objects = {};
- self = this;
- this.osc = null;
-
- },
-
-
- creatingNode: function( nodeID, childID, childExtendsID, childImplementsIDs,
- childSource, childType, childURI, childName, callback /* ( ready ) */ ) {
- },
-
- deletingNode: function( nodeID ) {
- },
-
- addingChild: function( nodeID, childID, childName ) {
- },
-
- removingChild: function( nodeID, childID ) {
- },
-
- parenting: function( nodeID ) {
- },
-
- childrening: function( nodeID ) {
- },
-
- naming: function( nodeID ) {
- },
-
- creatingProperty: function( nodeID, propertyName, propertyValue ) {
-
-
- },
-
- initializingProperty: function( nodeID, propertyName, propertyValue ) {
-
-
- },
-
-
- settingProperty: function( nodeID, propertyName, propertyValue ) {
-
-
- },
-
- gettingProperty: function( nodeID, propertyName, propertyValue ) {
-
-
- },
-
- creatingMethod: function( nodeID, methodName, methodParameters, methodBody ) {
- },
-
-
- callingMethod: function( nodeID, methodName, methodParameters ) {
- if (methodName == 'sendOSC') {
- if (this.osc == null) {
- this.osc = _OSCManager;
- }
-
-
-
-
- this.osc.port.send(methodParameters);
- console.log('send: ' + methodParameters);
- }
- },
-
- creatingEvent: function( nodeID, eventName, eventParameters ) {
- },
-
-
- firingEvent: function( nodeID, eventName, eventParameters ) {
- },
-
- executing: function( nodeID, scriptText, scriptType ) {
- }
- } );
- } );
|