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::File * | sourceFile |
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... | |
VuoModuleCompilationQueue::Item::Item | ( | ) |
Creates an empty item.
Set its data members before enqueueing it.
Definition at line 17 of file VuoModuleCompilationQueue.cc.
bool VuoModuleCompilationQueue::Item::hasHigherPriority | ( | Item * | other | ) |
Returns true if this item should be compiled before other.
Definition at line 26 of file VuoModuleCompilationQueue.cc.
string VuoModuleCompilationQueue::Item::cachedModulesPath |
The directory in which the compiled file will be saved.
Definition at line 41 of file VuoModuleCompilationQueue.hh.
string VuoModuleCompilationQueue::Item::compiledModulePath |
The path where the compiled file will be saved.
Definition at line 42 of file VuoModuleCompilationQueue.hh.
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.
string VuoModuleCompilationQueue::Item::moduleKey |
The module key.
Definition at line 37 of file VuoModuleCompilationQueue.hh.
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.
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.
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.
string VuoModuleCompilationQueue::Item::sourcePath |
The path of the source file.
Definition at line 38 of file VuoModuleCompilationQueue.hh.