Vuo  2.0.0
Public Member Functions | Public Attributes | List of all members
VuoModuleCompilationQueue::Item Class Reference

Description

A description of a source file to be compiled.

Definition at line 33 of file VuoModuleCompilationQueue.hh.

Public Member Functions

 Item ()
 Creates an empty item. More...
 
bool hasHigherPriority (Item *other)
 Returns true if this item should be compiled before other. More...
 

Public Attributes

string moduleKey
 The module key. More...
 
string sourcePath
 The path of the source file. More...
 
string sourceCode
 The source code to compile, which may or may not be the same as the file contents. More...
 
VuoFileUtilities::FilesourceFile
 The source file, which may be in a directory or an archive. More...
 
string cachedModulesPath
 The directory in which the compiled file will be saved. More...
 
string compiledModulePath
 The path where the compiled file will be saved. More...
 
dispatch_group_t loadingGroup
 Enables callers to wait until the source is compiled and the resulting module is loaded. More...
 
pair< int, int > priority
 Priority in the queue (based on dependencies). Lower numbers are higher priority. First item in pair takes precedence over second. More...
 

Constructor & Destructor Documentation

◆ Item()

VuoModuleCompilationQueue::Item::Item ( )

Creates an empty item.

Set its data members before enqueueing it.

Definition at line 17 of file VuoModuleCompilationQueue.cc.

Member Function Documentation

◆ hasHigherPriority()

bool VuoModuleCompilationQueue::Item::hasHigherPriority ( Item other)

Returns true if this item should be compiled before other.

Definition at line 26 of file VuoModuleCompilationQueue.cc.

Member Data Documentation

◆ cachedModulesPath

string VuoModuleCompilationQueue::Item::cachedModulesPath

The directory in which the compiled file will be saved.

Definition at line 41 of file VuoModuleCompilationQueue.hh.

◆ compiledModulePath

string VuoModuleCompilationQueue::Item::compiledModulePath

The path where the compiled file will be saved.

Definition at line 42 of file VuoModuleCompilationQueue.hh.

◆ loadingGroup

dispatch_group_t VuoModuleCompilationQueue::Item::loadingGroup

Enables callers to wait until the source is compiled and the resulting module is loaded.

Definition at line 43 of file VuoModuleCompilationQueue.hh.

◆ moduleKey

string VuoModuleCompilationQueue::Item::moduleKey

The module key.

Definition at line 37 of file VuoModuleCompilationQueue.hh.

◆ priority

pair<int, int> VuoModuleCompilationQueue::Item::priority

Priority in the queue (based on dependencies). Lower numbers are higher priority. First item in pair takes precedence over second.

Definition at line 44 of file VuoModuleCompilationQueue.hh.

◆ sourceCode

string VuoModuleCompilationQueue::Item::sourceCode

The source code to compile, which may or may not be the same as the file contents.

Definition at line 39 of file VuoModuleCompilationQueue.hh.

◆ sourceFile

VuoFileUtilities::File* VuoModuleCompilationQueue::Item::sourceFile

The source file, which may be in a directory or an archive.

Definition at line 40 of file VuoModuleCompilationQueue.hh.

◆ sourcePath

string VuoModuleCompilationQueue::Item::sourcePath

The path of the source file.

Definition at line 38 of file VuoModuleCompilationQueue.hh.


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