Curvy  4.1.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 (IExternalInput)Module 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 (IOnRequestProcessing)Module More...
 
IOnRequestPath OnRequestPathModule [get]
 Gets (IOnRequestPath)Module More...
 
Vector2 Origin [get, set]
 Origin of Link-Wire 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 ()
 
void ReInitializeLinkedTargetModules ()
 
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 ()
 

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)
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 ( )
void ReInitializeLinkedTargetModules ( )
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 (IExternalInput)Module

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 (IOnRequestProcessing)Module

IOnRequestPath OnRequestPathModule
get

Gets (IOnRequestPath)Module

Vector2 Origin
getset

Origin of Link-Wire


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