I'm building multiple jitter objects which connect to one another using the
findregistered function. The name of the object to link to is set by an
attribute value. My problem is that the order of the objects instantiated in
my patch is crucial to whether another object is able to find it (when its
attributes are processed on load).
I'm wondering if anybody knows a solution that doesn't involve manually
controlling some kind of init sequence from within the max patch. Scripting
every object in the right order is a solution, but I want to be able to use
them in static patches as well.
Something about the object structure:
* the data object acts as a server and contains all the data for the data
* analysis modules link to the data using findregistererd and get a pointer
to the data structure.
* visualization modules link to an abritrary analysis module (using
findregistered as well) and get a pointer to the analysis output data.
All of the objects are using the same shared library.
Is there a way to solve the order of linkage using either the Max/Jitter API
or the shared library?