Vuo  2.3.2
Public Member Functions | Static Public Member Functions | List of all members
VuoCompilerGroup Class Reference

Description

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

VuoCompilercompilerForCurrentArchitecture (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 VuoCompilerGroupcompilersForAllDeploymentArchitectures (const string &compositionPath="")
 Creates a compiler for each architecture supported by this Vuo build. More...
 
static VuoCompilerGroupcompilersForAllCompatibleDeploymentArchitectures (const string &compositionString, const string &compositionPath="")
 Creates a compiler for each architecture supported by this Vuo build and the composition. More...
 
static VuoCompilerGroupcompilersForAllCompatibleDeploymentArchitectures (const string &compositionString, VuoCompiler *nominalCompiler)
 Creates a compiler for each architecture supported by this Vuo build and the composition. More...
 

Constructor & Destructor Documentation

◆ ~VuoCompilerGroup()

VuoCompilerGroup::~VuoCompilerGroup ( void  )

Destroys all of the compilers in the group.

Definition at line 172 of file VuoCompilerGroup.cc.

Member Function Documentation

◆ compilerForCurrentArchitecture()

VuoCompiler * VuoCompilerGroup::compilerForCurrentArchitecture ( void  )

Returns a compiler that matches the current machine's architecture.

Definition at line 124 of file VuoCompilerGroup.cc.

◆ compilersForAllCompatibleDeploymentArchitectures() [1/2]

VuoCompilerGroup * VuoCompilerGroup::compilersForAllCompatibleDeploymentArchitectures ( const string &  compositionString,
const string &  compositionPath = "" 
)
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.

◆ compilersForAllCompatibleDeploymentArchitectures() [2/2]

VuoCompilerGroup * VuoCompilerGroup::compilersForAllCompatibleDeploymentArchitectures ( const string &  compositionString,
VuoCompiler nominalCompiler 
)
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.

◆ compilersForAllDeploymentArchitectures()

VuoCompilerGroup * VuoCompilerGroup::compilersForAllDeploymentArchitectures ( const string &  compositionPath = "")
static

Creates a compiler for each architecture supported by this Vuo build.

Definition at line 22 of file VuoCompilerGroup.cc.

◆ doForEach()

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.

◆ getCompatibleTargets()

VuoCompilerCompatibility VuoCompilerGroup::getCompatibleTargets ( void  )

Returns the union of all targets of this group of compilers.

Definition at line 156 of file VuoCompilerGroup.cc.


The documentation for this class was generated from the following files: