C# Class VVVV.Packs.Messaging.Nodes.TypeablePinsNode

Inheritance: AbstractFormularableNode, IWin32Window, ICustomQueryInterface, IDX11ResourceDataRetriever
Datei anzeigen Open project: velcrome/vvvv-Message

Protected Properties

Property Type Description
DynPinCount int
FPins IIOContainer>.Dictionary
LayoutPanel FormularLayoutPanel
RemovePinsFirst bool

Public Methods

Method Description
GetInterface ( System.Guid &iid, IntPtr &ppv ) : CustomQueryInterfaceResult
OnImportsSatisfied ( ) : void

Protected Methods

Method Description
CopyFromPins ( Message message, int index, bool checkPinForChange = false ) : bool
CreatePin ( FormularFieldDescriptor field ) : IIOContainer

Creates a binsized pin according to the information in the desciptor. Ignores IsRequired.

HasEndangeredLinks ( MessageFormular newFormular ) : bool

Detects link breaking action, that would occur when disposing a now unneeded pin, or resetting its type.

Compares the existing dynamic pins with the required fields in the given Formular

HasLink ( IIOContainer pinContainer ) : bool
InitDX11Graph ( ) : void
ReOrder ( ) : void
RetryConfig ( ) : bool

SetPinAttributes ( FormularFieldDescriptor config ) : IOAttribute
SyncPins ( ) : bool
TryDefinePins ( object sender, MessageFormular newFormular ) : void

Will try to apply the formular to the current pin layout

If any pin in the new formular is already present, it will preserve the pin. If any current pin is not contained in the new Formular, but is linked in the patch, it will force the node to raise exceptions every frame, until the link is manually deleted.

Private Methods

Method Description
ReadLayoutPanel ( object sender, MessageFormular formular ) : void
UpdateWindow ( MessageFormular newFormular, bool append = false ) : void

Method Details

CopyFromPins() protected method

protected CopyFromPins ( Message message, int index, bool checkPinForChange = false ) : bool
message System.Windows.Forms.Message
index int
checkPinForChange bool
return bool

CreatePin() protected method

Creates a binsized pin according to the information in the desciptor. Ignores IsRequired.
PluginInterface: Internal COM disconnect
protected CreatePin ( FormularFieldDescriptor field ) : IIOContainer
field FormularFieldDescriptor
return IIOContainer

GetInterface() public method

public GetInterface ( System.Guid &iid, IntPtr &ppv ) : CustomQueryInterfaceResult
iid System.Guid
ppv System.IntPtr
return CustomQueryInterfaceResult

HasEndangeredLinks() protected method

Detects link breaking action, that would occur when disposing a now unneeded pin, or resetting its type.
Compares the existing dynamic pins with the required fields in the given Formular
protected HasEndangeredLinks ( MessageFormular newFormular ) : bool
newFormular MessageFormular Includes the changes to be done.
return bool

HasLink() protected method

protected HasLink ( IIOContainer pinContainer ) : bool
pinContainer IIOContainer
return bool

InitDX11Graph() protected method

protected InitDX11Graph ( ) : void
return void

OnImportsSatisfied() public method

public OnImportsSatisfied ( ) : void
return void

ReOrder() protected method

protected ReOrder ( ) : void
return void

RetryConfig() protected method

protected RetryConfig ( ) : bool
return bool

SetPinAttributes() protected abstract method

protected abstract SetPinAttributes ( FormularFieldDescriptor config ) : IOAttribute
config FormularFieldDescriptor
return IOAttribute

SyncPins() protected method

protected SyncPins ( ) : bool
return bool

TryDefinePins() protected method

Will try to apply the formular to the current pin layout
If any pin in the new formular is already present, it will preserve the pin. If any current pin is not contained in the new Formular, but is linked in the patch, it will force the node to raise exceptions every frame, until the link is manually deleted.
protected TryDefinePins ( object sender, MessageFormular newFormular ) : void
sender object
newFormular MessageFormular
return void

Property Details

DynPinCount protected_oe property

protected int DynPinCount
return int

FPins protected_oe property

protected Dictionary FPins
return IIOContainer>.Dictionary

LayoutPanel protected_oe property

protected FormularLayoutPanel,VVVV.Packs.Messaging.Nodes LayoutPanel
return FormularLayoutPanel

RemovePinsFirst protected_oe property

protected bool RemovePinsFirst
return bool