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