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

Description

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...
 
void waitForInitiailization ()
 Waits until all the plugins have finished initializing. More...
 
VuoInputEditornewInputEditor (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...
 

Constructor & Destructor Documentation

◆ VuoInputEditorManager()

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.

Member Function Documentation

◆ doesTypeAllowOfflineSerialization()

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 98 of file VuoInputEditorManager.cc.

◆ newInputEditor()

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 66 of file VuoInputEditorManager.cc.

◆ waitForInitiailization()

void VuoInputEditorManager::waitForInitiailization ( )

Waits until all the plugins have finished initializing.

Definition at line 51 of file VuoInputEditorManager.cc.


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