This class keeps track of implementations of the VuoInputEditor interface.
Definition at line 19 of file VuoInputEditorManager.hh.
Public Member Functions | |
VuoInputEditorManager (QList< QDir > extraPluginDirectories=QList< QDir >()) | |
Loads all input editor plugins (built-in and third-party). More... | |
VuoInputEditor * | newInputEditor (VuoType *type, json_object *details=NULL) |
Creates a new input editor for type type . More... | |
bool | doesTypeAllowOfflineSerialization (VuoType *type) |
Returns true if type may be serialized into a port constant in a composition file. More... | |
VuoInputEditorManager::VuoInputEditorManager | ( | QList< QDir > | extraPluginDirectories = QList<QDir>() | ) |
Loads all input editor plugins (built-in and third-party).
Definition at line 21 of file VuoInputEditorManager.cc.
bool VuoInputEditorManager::doesTypeAllowOfflineSerialization | ( | VuoType * | type | ) |
Returns true if type
may be serialized into a port constant in a composition file.
(For better performance, some types' serializations cheat by serializing a memory pointer.)
If a type has an input editor, it's assumed to be offline-serializable.
Definition at line 81 of file VuoInputEditorManager.cc.
VuoInputEditor * VuoInputEditorManager::newInputEditor | ( | VuoType * | type, |
json_object * | details = NULL |
||
) |
Creates a new input editor for type type
.
An optional port details
object may be provided in cases where the details object may affect the choice of input editor.
Definition at line 49 of file VuoInputEditorManager.cc.