Curvy  8.4.0
CGModuleSlot Class Reference
+ Inheritance diagram for CGModuleSlot:

Detailed Description

Class defining a module slot

Properties

int Count [get]
 Gets the number of connected links, i.e. shortcut to this.Links.Count More...
 
Rect DropZone [get, set]
 Mouse-Hotzone More...
 
IExternalInput ExternalInput [get]
 Gets the module as an IExternalInput More...
 
SlotInfo Info [get, set]
 Gets the SlotInfo Attribute More...
 
bool IsLinked [get]
 Whether the link is wired or not More...
 
bool IsLinkedAndConfigured [get]
 Whether the link is wired and all connected modules are configured More...
 
List< CGModuleSlotLinkedSlots [get]
 All slots of linked modules More...
 
CGModule Module [get, set]
 The Module this Slot belongs to More...
 
string Name [get]
 
IOnRequestProcessing OnRequestModule [get]
 Gets the module as an IOnRequestProcessing More...
 
Vector2 Origin [get, set]
 Origin of Link-Wire More...
 
IPathProvider PathProvider [get]
 Gets the module as an IPathProvider More...
 

Public Member Functions

 CGModuleSlot ()
 
List< CGModuleGetLinkedModules ()
 Gets a list of all Links' modules More...
 
bool HasLinkTo (CGModuleSlot other)
 
virtual void LinkTo (CGModuleSlot other)
 
void ReInitializeLinkedSlots ()
 
override string ToString ()
 
virtual void UnlinkAll ()
 
virtual void UnlinkFrom (CGModuleSlot other)
 

Static Public Member Functions

static implicit operator bool (CGModuleSlot a)
 

Protected Member Functions

virtual void LoadLinkedSlots ()
 

Static Protected Member Functions

static void LinkInputAndOutput (CGModuleSlot inputSlot, CGModuleSlot outputSlot)
 

Protected Attributes

List< CGModuleSlotmLinkedSlots = null
 

Constructor & Destructor Documentation

Member Function Documentation

List<CGModule> GetLinkedModules ( )

Gets a list of all Links' modules

bool HasLinkTo ( CGModuleSlot  other)
static void LinkInputAndOutput ( CGModuleSlot  inputSlot,
CGModuleSlot  outputSlot 
)
staticprotected
virtual void LinkTo ( CGModuleSlot  other)
virtual

Reimplemented in CGModuleOutputSlot, and CGModuleInputSlot.

virtual void LoadLinkedSlots ( )
protectedvirtual

Reimplemented in CGModuleOutputSlot, and CGModuleInputSlot.

static implicit operator bool ( CGModuleSlot  a)
static
void ReInitializeLinkedSlots ( )
override string ToString ( )
virtual void UnlinkAll ( )
virtual

Reimplemented in CGModuleInputSlot.

virtual void UnlinkFrom ( CGModuleSlot  other)
virtual

Reimplemented in CGModuleOutputSlot, and CGModuleInputSlot.

Member Data Documentation

List<CGModuleSlot> mLinkedSlots = null
protected

Property Documentation

int Count
get

Gets the number of connected links, i.e. shortcut to this.Links.Count

Rect DropZone
getset

Mouse-Hotzone

IExternalInput ExternalInput
get

Gets the module as an IExternalInput

SlotInfo Info
getset

Gets the SlotInfo Attribute

bool IsLinked
get

Whether the link is wired or not

bool IsLinkedAndConfigured
get

Whether the link is wired and all connected modules are configured

List<CGModuleSlot> LinkedSlots
get

All slots of linked modules

CGModule Module
getset

The Module this Slot belongs to

string Name
get
IOnRequestProcessing OnRequestModule
get

Gets the module as an IOnRequestProcessing

Vector2 Origin
getset

Origin of Link-Wire

IPathProvider PathProvider
get

Gets the module as an IPathProvider


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