Package heronarts.lx.snapshot
Class LXGlobalSnapshot
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.snapshot.LXSnapshot
heronarts.lx.snapshot.LXGlobalSnapshot
- All Implemented Interfaces:
LXComponent.Renamable,LXPath,LXSerializable,LXOscComponent,LXParameterListener
A snapshot holds a memory of the state of the program at a point in time.
The snapshot contains a collection of "views" which are memories of a piece
of state in the program at some time. Typically this is a parameter value,
but some special cases exist, like the active pattern on a channel.
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.snapshot.LXSnapshot
LXSnapshot.ActivePatternView, LXSnapshot.ChannelFaderView, LXSnapshot.ParameterView, LXSnapshot.View, LXSnapshot.ViewScope, LXSnapshot.ViewTypeNested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Name, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.RenamableNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BooleanParameterfinal BoundedParameterfinal BooleanParameterfinal BooleanParameterfinal TriggerParameterFields inherited from class heronarts.lx.snapshot.LXSnapshot
transitionTimeSecs, viewsFields inherited from class heronarts.lx.LXComponent
childArrays, children, internalParameters, KEY_CHILDREN, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_INTERNAL, KEY_PARAMETER_PATH, KEY_PARAMETERS, KEY_PATH, KEY_RESET, label, legacyInternalParameters, legacyParameters, lx, modulationColor, modulationControlsExpanded, modulationsExpanded, parameters, presetFileFields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class heronarts.lx.snapshot.LXSnapshot
addDeviceChildView, addDeviceView, addEffectView, addLayeredView, addParameterView, addPatternView, addView, addView, dispose, getClipChannel, initialize, initializeClipBus, initializeGlobalBus, isClipSnapshot, isGlobalSnapshot, load, removeView, save, updateMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, getCategory, getChild, getComponentDescription, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscLabel, getParameter, getParameters, getParent, handleOscMessage, hasParameter, isValidOscParameter, loadParameters, loadPreset, onParameterChanged, removeParameter, removeParameter, removeParameter, removeParameter, savePreset, setDescription, setParent, toOscQuery, toOscQuery, toOscQuery, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.osc.LXOscComponent
handleOscMessageMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
recall
-
autoCycleEligible
-
cycleTimeSecs
-
hasCustomCycleTime
-
hasCustomTransitionTime
-
-
Constructor Details
-
LXGlobalSnapshot
-
-
Method Details
-
getIndex
public int getIndex()Public accessor for the index of this snapshot in the list- Returns:
- This snapshot's position in the global list
-
getPath
Description copied from class:LXComponentAccessor for the path of this object. Returns the path this component was registered with. Some subclasses may override this if path structure is dynamic.- Specified by:
getPathin interfaceLXPath- Overrides:
getPathin classLXComponent- Returns:
- path of this component relative to its parent
-
getOscPath
Description copied from class:LXComponentAccessor for this component's OSC path relative to its parent. This by default is no different fromLXComponent.getPath(), but certain subclasses may modify this to support different types of OSC paths that aren't required to match the LX hierarchy.- Overrides:
getOscPathin classLXComponent- Returns:
- Path that this object can be accessed via OSC
-
getOscAddress
Description copied from class:LXComponentGets the OSC address for this object- Specified by:
getOscAddressin interfaceLXOscComponent- Overrides:
getOscAddressin classLXComponent- Returns:
- Full OSC address for this component
-
initializeViews
public void initializeViews()- Specified by:
initializeViewsin classLXSnapshot
-