Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
VSI::ElementInput Class Reference

#include <Plugin-VSI/scene/elementInput.hh>

Inheritance diagram for VSI::ElementInput:

Public Member Functions

 ElementInput (Input *_in, SceneElement *_parent)
 ~ElementInput ()
Type type () const
 Type (=Input)
void setValid (bool _value)
 Sets the valid flag (needed during code generation)
bool valid ()
 Returns state of valid flag (needed during code generation)
void setValue (QString _value)
 Set to a user value.
QString value () const
 Returns value set by user.
void addConnection (Connection *_conn)
 Add connection.
void removeConnection (Connection *_conn)
 Remove connection.
void set (bool _set)
 "Set" flag to mark input as set by user
bool isSet ()
 Return "set" flag.
void setForceAsk (bool _set)
 "ForceAsk" flag to mark an optional input for asking during script execution
bool isForceAskSet () const
 Return "ForceAsk" flag.
unsigned int state ()
 VSI::Input state passthrough.
void saveToXml (QDomDocument &_doc, QDomElement &_root)
 Save to xml.
void loadFromXml (QXmlQuery &_xml)
 Load from xml.
- Public Member Functions inherited from VSI::ElementInOut
 ElementInOut (InOut *_io, SceneElement *_parent)
virtual ~ElementInOut ()
ConnectionPointconnectionPointItem () const
 Connection point widget.
TexttypeTextItem () const
 Type text widget.
TextdescriptionTextItem () const
 Short description widget.
QList< Connection * > connections () const
bool validConnection (ElementInOut *_e)
 Can this input/output be connected to _e.
InOutinOut () const
 InOut context object.
SceneElementelement ()
 Scene element.

Private Attributes

bool valid_
bool isSet_
QString value_
bool forceAsk_

Additional Inherited Members

- Public Types inherited from VSI::ElementInOut
enum  Type { TypeInput, TypeOutput }

Detailed Description

Class for inputs of a scene element. It handles all the different ways of input (connection to an output, user configured during script creation, asking user during script execution, optional)

Definition at line 73 of file elementInput.hh.

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