Visual component "InstancingManager"

GrossGrade

Topic:  GrossGrade for Expert > Components >

Visual component "InstancingManager"

Previous page Parent topic Next page

 

The InstancingManager component implements the creation of multiple copies of a given group of components, as well as the management of these copies (instances).

 

Visual part

 

list view variant

list view variant

 

drop-down list variant

drop-down list variant

 

One or more components can be connected to the 'instances' output port of the InstallingManager component. After this step, for all of the subordinate components the settings management is made by InstancingManager component. It can store multiple configuration settings in different "instances" ("presets"/"snapshots") and load settings from any selected instance into a group of subordinate components at any time.

Buttons for managing the list of instances

The visual part of the component has a number of control buttons (only if the "show toolbar buttons"option is enabled).

component_InstancingManager_visualpart_add - add a new instance to the list.

component_InstancingManager_visualpart_remove - remove the selected instance from the list.

component_InstancingManager_visualpart_clear - clear the list (remove all instances).

component_InstancingManager_visualpart_apply - load settings from the current instance to the group of subordinate components (the button is available only if the "instant update components" option is disabled).

component_InstancingManager_visualpart_save - save the settings of the group of subordinate components to the current instance (the button is available only if the "instant update stored data" option is disabled).

Parameters inside the component node

Component node

component_hdrsoftclipper_nonvisual_ENG

 

"show toolbar buttons" option - show / hide the top toolbar with control buttons for instances/presets/snapshots in the visual part of the component.

"visual style" drop-down list - select the visual representation of the list of instances/presets/snapshots in the visual part of the component.

"instant update components" option - if enabled, when the user changes the selection of the current instance/preset/snapshot, the instance is automatically loaded into the subordinate group of components.

"instant update stored data" option - if enabled, when the user changes the selection of the the current instance/preset/snapshot, the current settings of the subgroup of components are automatically saved to the current instance before changing the instance.

"default list item label" parameter - is a string that is displayed by default in the names of the instances that are created in the list in the visual part of the component.

"allow user to change labels" option - if enabled, user can edit instance names/signatures in the list in the visual part of the component.

 

 

Click toggle to expand/collapse hidden blockInput ports

Port name

Port type

Description

selection

enum

Select the current instance.

copy instance

event( enum SrcInstId, enum DstInstId )

(replicable)

Copy source instance (SrcInstId) to destination instance (DstInstId). If one of the instances is not specified, the currently selected instance is used.

apply instance

event( enum InstanceId )

(replicable)

Apply instance identified by InstanceId index (or current instance by default) to plugged components

store instance

event( enum InstanceId )

(replicable)

Store instance identified by InstanceId index (or current instance by default) from plugged components

add instance

event( enum InstanceId )

(replicable)

Add new instance before the instance identified by InstanceId index (or after all instances by default)

reset instance

event

(replicable)

Reset current instance

delete instance

event( enum InstanceId )

(replicable)

Delete instance identified by InstanceId (or currently selected instance by default)

clear instances

event

(replicable)

Delete all instances

Standard ports are not listed here because these ports and their functions are equal for all components (see " Standard ports").

 

Click toggle to expand/collapse hidden blockOutput ports

Port name

Port type

Description

instances

instancing

Plug here a group of components that need to be managed

Standard ports are not listed here because these ports and their functions are equal for all components (see " Standard ports").

 


See also

Components