Registry¶

-
class
Registry¶ Bases:
pybind11_builtins.pybind11_objectRegistry class used to declare and register a plug-in node.
Methods
register_node(class_name)Declare a plug-in node. -
__init__¶ x.__init__(…) initializes x; see help(type(x)) for signature
-
register_node(class_name: unicode, base_class_name: unicode, factory: Factory, plug_desc: list(PlugDescriptor), ui_descriptor: unicode) → None¶ Declare a plug-in node.
The plug-in must declare the plug-in nodes using this method.
Parameters: - class_name (unicode) – in The new class name
- base_class_name (unicode) – in The parent class name, “Node” is the base class
- factory (Factory) – in The factory function to allocate a node, provided by the plug-in
- plug_desc (list(PlugDescriptor)) – in The plugs descriptor
- ui_descriptor (unicode) – in A json string to describe the node user interface
register_node(class_name: unicode,base_class_name: unicode,plug_desc: list(PlugDescriptor),ui_descriptor: unicode) ->
Declare a plug-in node.
The plug-in must declare the plug-in nodes using this method.
Parameters: - class_name (unicode) – in The new class name
- base_class_name (unicode) – in The parent class name, “Node” is the base class
- plug_desc (list(PlugDescriptor)) – in The plugs descriptor
- ui_descriptor (unicode) – in A json string to describe the node user interface
-