A set of compilers, each having a different target, to be used to compile a composition or other source to multiple targets.
Definition at line 19 of file VuoCompilerGroup.hh.
Public Member Functions | |
VuoCompiler * | compilerForCurrentArchitecture (void) |
Returns a compiler that matches the current machine's architecture. More... | |
void | doForEach (std::function< void(VuoCompiler *)> callback) |
Calls the callback for each compiler in the group. More... | |
VuoCompilerCompatibility | getCompatibleTargets (void) |
Returns the union of all targets of this group of compilers. More... | |
~VuoCompilerGroup (void) | |
Destroys all of the compilers in the group. More... | |
Static Public Member Functions | |
static VuoCompilerGroup * | compilersForAllDeploymentArchitectures (const string &compositionPath="") |
Creates a compiler for each architecture supported by this Vuo build. More... | |
static VuoCompilerGroup * | compilersForAllCompatibleDeploymentArchitectures (const string &compositionString, const string &compositionPath="") |
Creates a compiler for each architecture supported by this Vuo build and the composition. More... | |
static VuoCompilerGroup * | compilersForAllCompatibleDeploymentArchitectures (const string &compositionString, VuoCompiler *nominalCompiler) |
Creates a compiler for each architecture supported by this Vuo build and the composition. More... | |
VuoCompilerGroup::~VuoCompilerGroup | ( | void | ) |
Destroys all of the compilers in the group.
Definition at line 172 of file VuoCompilerGroup.cc.
VuoCompiler * VuoCompilerGroup::compilerForCurrentArchitecture | ( | void | ) |
Returns a compiler that matches the current machine's architecture.
Definition at line 124 of file VuoCompilerGroup.cc.
|
static |
Creates a compiler for each architecture supported by this Vuo build and the composition.
The OS version of each created compiler's target is the minimum compatible with the composition.
If an architecture is not compatible with the composition, then the compiler for that architecture is omitted from the returned group.
Definition at line 35 of file VuoCompilerGroup.cc.
|
static |
Creates a compiler for each architecture supported by this Vuo build and the composition.
The OS version of each created compiler's target is the minimum compatible with the composition.
If an architecture is not compatible with the composition, then the compiler for that architecture is omitted from the returned group.
Definition at line 51 of file VuoCompilerGroup.cc.
|
static |
Creates a compiler for each architecture supported by this Vuo build.
Definition at line 22 of file VuoCompilerGroup.cc.
void VuoCompilerGroup::doForEach | ( | std::function< void(VuoCompiler *)> | callback | ) |
Calls the callback for each compiler in the group.
Definition at line 147 of file VuoCompilerGroup.cc.
VuoCompilerCompatibility VuoCompilerGroup::getCompatibleTargets | ( | void | ) |
Returns the union of all targets of this group of compilers.
Definition at line 156 of file VuoCompilerGroup.cc.