A utility base class for Libraries>FluidCorpusManipulation classes, that deals with common functionality (wrapping a Synth in the instance, etc.)
Not intended to be used directly.
Language-side constructor. Internally, this creates a new synth around an instance of the sub-class being constructed, and maintains a variable pointing to the synth, so that it can be communicated with.
server |
The Server this instance is running on |
... args |
Arguments specific to the sub-class at hand |
A new instance
Fluid Manipulation client objects are server-side entities, wrapped in a Node to manage communication between language and object. For this, a Synth is needed, as the representation of a server node.
the instance's Synth
Read the object's data from a JSON file on disk, replacing the current contents.
Write the object's data to disk as a JSON file.
Report the number of items currently in the object's data.
Report the dimensionality of the object's data. If action is nil, will default to posting result.
Get the contents of the object's data as a Dictionary (note: uses a temporary file under the hood);
Fill the object with the contents of a dictionary, replacing its current contents (note: uses a temporary file under the hood).