[Dev] gui instance host question
Henrik Frisk
mail at henrikfrisk.com
Wed Jul 9 08:38:34 BST 2008
Stephen Sinclair <sinclair at music.mcgill.ca> wrote:
> Ah. Well, I understood from this diagram:
> http://www.integralive.org/dokuwiki/doku.php/lib:design
>
Just as I sent off my last message I realized you must have looked at
that diagram.
> that both the GUI and the module host have their own instance hosts
> accessed via bridges.
This is one possible way in which the system may be set up. But if you
have a system set up in a controlled environment (a single machine) you
would typically have *one* IH (one instance of libIntegra). Each bridge
would tap into this single instance (if I'm not mistaken libIntegra
currently is a singleton and may not be loaded in multiple instances on
the *same* machine - this should be fixed though). With the current GUI,
built in Max, the GUI has its own OSC host that registers with the
libIntegra instance. IOW even though its running on another machine it
doesn't need the library.
> I assumed from this diagram that these two instance hosts communicated
> with each other over OSC, but that libIntegra took care of this
> communication. (the IH being part of libIntegra)
>
If the system has multiple IHs only *one* may read and save module and
collection defintions (libIntegra may be compiled with the IH
functionality *only*). And in this case they communicate via OSC through
libIntegra.
best,
Henrik
More information about the Dev
mailing list