This is the base class for all widgets. A Widget has any number of inputs and outputs that carry a specific type of data.
More...
|
class | Data |
| This is the base class for any type of data that can be passed through a connection. More...
|
|
class | Input |
| This object handles input on a widget. More...
|
|
class | Output |
| This object handles output on a widget. More...
|
|
This is the base class for all widgets. A Widget has any number of inputs and outputs that carry a specific type of data.
virtual void IBM.Watson.DeveloperCloud.Widgets.Widget.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
abstract string IBM.Watson.DeveloperCloud.Widgets.Widget.GetName |
( |
| ) |
|
|
protectedpure virtual |
Implemented to provide a friendly name for a widget object.
- Returns
- A string containing the name for this widget.
delegate void IBM.Watson.DeveloperCloud.Widgets.Widget.OnInputAdded |
( |
Input |
input | ) |
|
The callback on input connection added.
delegate void IBM.Watson.DeveloperCloud.Widgets.Widget.OnInputRemoved |
( |
Input |
input | ) |
|
The callback on input connection removed.
delegate void IBM.Watson.DeveloperCloud.Widgets.Widget.OnOutputAdded |
( |
Output |
output | ) |
|
The callback on output connection added.
delegate void IBM.Watson.DeveloperCloud.Widgets.Widget.OnOutputRemoved |
( |
Output |
output | ) |
|
The callback on output connection removed.
delegate void IBM.Watson.DeveloperCloud.Widgets.Widget.OnReceiveData |
( |
Data |
data | ) |
|
The callback object used by Widget for receiving data from an input.
- Parameters
-
void IBM.Watson.DeveloperCloud.Widgets.Widget.ResolveConnections |
( |
| ) |
|
|
inline |
Call this function to go ahead and resolve auto-connections to other widgets. Normally, we would try to auto connect when the Awake() is called, this can be called to resolve the auto connections ahead of time.
virtual void IBM.Watson.DeveloperCloud.Widgets.Widget.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
Input [] IBM.Watson.DeveloperCloud.Widgets.Widget.Inputs |
|
get |
This returns an array of all inputs on this widget.
Output [] IBM.Watson.DeveloperCloud.Widgets.Widget.Outputs |
|
get |
This returns an array of all outputs on this widget.
string IBM.Watson.DeveloperCloud.Widgets.Widget.WidgetName |
|
get |
Returns the name of this widget.
The documentation for this class was generated from the following file: