Vuo
0.5.0
Main Page
Modules
Classes
Files
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CompileAndRunInNewProcess.cc
Developing Applications that Use Vuo
Example: Compile a composition and run it in a new process.
#include <Vuo/Vuo.h>
int
main(
void
)
{
// Compile, link, and run the composition in a new process
VuoRunner
* runner =
VuoCompiler::newSeparateProcessRunnerFromCompositionFile
(VUO_COMPOSITION_PATH
"/Count.vuo"
);
runner->
start
();
// Stop it after 5 seconds
sleep(5);
runner->
stop
();
return
0;
}
Generated on Thu Oct 24 2013 15:46:26 for Vuo by
1.8.3