Vuo
0.3
Main Page
Modules
Classes
Files
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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_GRAPH_PATH
"/Count.vuo"
);
runner->start();
// Stop it after 5 seconds
sleep(5);
runner->
stop
();
return
0;
}
Generated on Mon Feb 4 2013 18:41:10 for Vuo by
1.8.3