com.e1.mxdublin
Class LLDublinMaxObject

java.lang.Object
  extended by MaxObject
      extended by com.e1.mxdublin.DublinMaxObject
          extended by com.e1.mxdublin.LLDublinMaxObject

public class LLDublinMaxObject
extends DublinMaxObject

LLDublinMaxObject is an extension of the mxdublin object. It is used to limit the usage of the mxdublin console.

You can specify the number of trails to instantiate when you create this object. You can later on, start/stop/toggle them by using the trail number. You can also start/stop/toggle trails by using an array of 0/1. For example, if you need to start trail#1 and trail#3, send this message [start 1 0 1] to the object.

This object also output an array of 0/1 to display trail status.


Field Summary
 
Fields inherited from class com.e1.mxdublin.DublinMaxObject
project
 
Constructor Summary
LLDublinMaxObject(Atom[] args)
           
 
Method Summary
 void edit(Atom[] args)
          Show the editor for this trail.
 void execute()
           
 void load(Atom[] args)
          Cancels all running trails and loads a new mxdublin project.
 void notifyDeleted()
          Called when the dublin MaxObject is deleted.
 void reset()
           
 void start(Atom[] args)
          Start trail from name.
 void stop(Atom[] args)
          Stop trail from name.
 void toggle(Atom[] args)
          Toggle (stop it if it is started, start it if it is stopped) trail from name.
 
Methods inherited from class com.e1.mxdublin.DublinMaxObject
bang, call, console, ex, file, getPatchPath, inlet, set, start_ref, stop, store, tempo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLDublinMaxObject

public LLDublinMaxObject(Atom[] args)
Method Detail

edit

public void edit(Atom[] args)
Description copied from class: DublinMaxObject
Show the editor for this trail.

Overrides:
edit in class DublinMaxObject
Parameters:
args - the trail name

start

public void start(Atom[] args)
Description copied from class: DublinMaxObject
Start trail from name.

Overrides:
start in class DublinMaxObject
Parameters:
args - ( trail name )

stop

public void stop(Atom[] args)
Description copied from class: DublinMaxObject
Stop trail from name.

Overrides:
stop in class DublinMaxObject
Parameters:
args - ( trail name )

toggle

public void toggle(Atom[] args)
Description copied from class: DublinMaxObject
Toggle (stop it if it is started, start it if it is stopped) trail from name.

Overrides:
toggle in class DublinMaxObject
Parameters:
args - ( trail name )

execute

public void execute()

load

public void load(Atom[] args)
Description copied from class: DublinMaxObject
Cancels all running trails and loads a new mxdublin project.

Overrides:
load in class DublinMaxObject
Parameters:
args - ( filename )

reset

public void reset()
Overrides:
reset in class DublinMaxObject

notifyDeleted

public void notifyDeleted()
Description copied from class: DublinMaxObject
Called when the dublin MaxObject is deleted.

Overrides:
notifyDeleted in class DublinMaxObject