Curvy  4.1.0
CGModuleOutputSlot Class Reference
+ Inheritance diagram for CGModuleOutputSlot:
+ Collaboration diagram for CGModuleOutputSlot:

Detailed Description

Class defining a module's output slot

Public Attributes

CGData[] Data = new CGData[0]
 
CGDataRequestParameter[] LastRequestParameters
 

Properties

bool HasData [get]
 
OutputSlotInfo OutputInfo [get]
 
- Properties inherited from CGModuleSlot
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

 CGModuleOutputSlot ()
 
void ClearData ()
 
T[] GetAllData< T > ()
 
GetData< T > ()
 
override void LinkTo (CGModuleSlot inputSlot)
 
void SetData (params CGData[] data)
 
void SetData< T > (List< T > data)
 
override void UnlinkFrom (CGModuleSlot inputSlot)
 
- Public Member Functions inherited from CGModuleSlot
 CGModuleSlot ()
 
List< CGModuleGetLinkedModules ()
 Gets a list of all Links' modules More...
 
bool HasLinkTo (CGModuleSlot other)
 
void ReInitializeLinkedSlots ()
 
void ReInitializeLinkedTargetModules ()
 
override string ToString ()
 
virtual void UnlinkAll ()
 

Protected Member Functions

override void LoadLinkedSlots ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CGModuleSlot
static implicit operator bool (CGModuleSlot a)
 
- Protected Attributes inherited from CGModuleSlot
List< CGModuleSlotmLinkedSlots = null
 

Constructor & Destructor Documentation

Member Function Documentation

void ClearData ( )
T [] GetAllData< T > ( )
Type Constraints
T :CGData 
T GetData< T > ( )
Type Constraints
T :CGData 
override void LinkTo ( CGModuleSlot  inputSlot)
virtual

Reimplemented from CGModuleSlot.

override void LoadLinkedSlots ( )
protectedvirtual

Reimplemented from CGModuleSlot.

void SetData ( params CGData[]  data)
void SetData< T > ( List< T >  data)
Type Constraints
T :CGData 
override void UnlinkFrom ( CGModuleSlot  inputSlot)
virtual

Reimplemented from CGModuleSlot.

Member Data Documentation

CGData [] Data = new CGData[0]
CGDataRequestParameter [] LastRequestParameters

Property Documentation

bool HasData
get
OutputSlotInfo OutputInfo
get

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