Developer Documentation
|
#include <Plugin-VSI/scene/elementInOut.hh>
Public Types | |
enum | Type { TypeInput , TypeOutput } |
Type. More... | |
Public Member Functions | |
ElementInOut (InOut *_io, SceneElement *_parent) | |
Constructor. More... | |
virtual | ~ElementInOut () |
Destructor. More... | |
virtual Type | type () const =0 |
Type. More... | |
ConnectionPoint * | connectionPointItem () const |
Connection point widget. More... | |
Text * | typeTextItem () const |
Type text widget. More... | |
Text * | descriptionTextItem () const |
Short description widget. More... | |
QList< Connection * > | connections () const |
Connections. More... | |
virtual void | addConnection (Connection *_conn) |
Add the connection. More... | |
virtual void | removeConnection (Connection *_conn) |
Remove the Connection. More... | |
bool | validConnection (ElementInOut *_e) |
Can this input/output be connected to _e. More... | |
InOut * | inOut () const |
InOut context object. More... | |
SceneElement * | element () |
Scene element. More... | |
Private Member Functions | |
ElementInOut (const ElementInOut &_orig) | |
Private copy constructor to avoid accidental copy. More... | |
Private Attributes | |
InOut * | io_ |
SceneElement * | element_ |
ConnectionPoint * | conn_ |
Text * | typeText_ |
Text * | descText_ |
QList< Connection * > | connections_ |
Base class for inputs and outputs of scene elements. It provides the visible widgets and handles connections
Definition at line 69 of file elementInOut.hh.
Type.
Definition at line 74 of file elementInOut.hh.
VSI::ElementInOut::ElementInOut | ( | InOut * | _io, |
SceneElement * | _parent | ||
) |
Constructor.
Definition at line 68 of file elementInOut.cc.
|
virtual |
Destructor.
Definition at line 108 of file elementInOut.cc.
|
private |
Private copy constructor to avoid accidental copy.
Definition at line 95 of file elementInOut.cc.
|
virtual |
Add the connection.
Reimplemented in VSI::ElementInput, and VSI::ElementOutput.
Definition at line 156 of file elementInOut.cc.
|
inline |
Connection point widget.
Definition at line 89 of file elementInOut.hh.
|
inline |
Connections.
Definition at line 98 of file elementInOut.hh.
|
inline |
Short description widget.
Definition at line 95 of file elementInOut.hh.
|
inline |
Scene element.
Definition at line 113 of file elementInOut.hh.
|
inline |
InOut context object.
Definition at line 110 of file elementInOut.hh.
|
virtual |
Remove the Connection.
Reimplemented in VSI::ElementInput, and VSI::ElementOutput.
Definition at line 164 of file elementInOut.cc.
|
pure virtual |
Type.
Implemented in VSI::ElementInput, and VSI::ElementOutput.
|
inline |
Type text widget.
Definition at line 92 of file elementInOut.hh.
bool VSI::ElementInOut::validConnection | ( | ElementInOut * | _e | ) |
Can this input/output be connected to _e.
Definition at line 121 of file elementInOut.cc.
|
private |
Definition at line 123 of file elementInOut.hh.
|
private |
Definition at line 127 of file elementInOut.hh.
|
private |
Definition at line 125 of file elementInOut.hh.
|
private |
Definition at line 121 of file elementInOut.hh.
|
private |
Definition at line 120 of file elementInOut.hh.
|
private |
Definition at line 124 of file elementInOut.hh.