Developer Documentation
|
#include <Plugin-VSI/parser/element.hh>
Public Member Functions | |
Element (Context *_context, const QString &_name) | |
Constructor. More... | |
~Element () | |
Destructor. More... | |
Context * | context () const |
Context of element. More... | |
QString | name () const |
Element name. More... | |
const QString & | category () const |
Element category. More... | |
const QString & | shortDescription () const |
Short description. More... | |
const QString & | longDescription () const |
Long description. More... | |
const QVector< Input * > & | inputs () const |
Inputs. More... | |
const QVector< Output * > & | outputs () const |
Outputs. More... | |
const QVector< Function * > & | functions () const |
Functions. More... | |
Input * | dataIn () |
Scenegraph input. More... | |
Output * | dataOut () |
Scenegraph output. More... | |
unsigned int | flags () const |
Flags. More... | |
QString | precode () const |
Precode segment. More... | |
QString | code () const |
Code segment. More... | |
unsigned int | getNewId () |
Returns an unused id number. More... | |
void | setMinId (unsigned int _id) |
sets the minimum for an unused id More... | |
Private Attributes | |
Context * | context_ |
QString | name_ |
QString | category_ |
QString | shortDesc_ |
QString | longDesc_ |
QString | precode_ |
QString | code_ |
QVector< Input * > | inputs_ |
QVector< Output * > | outputs_ |
QVector< Function * > | functions_ |
Input * | dataIn_ |
Output * | dataOut_ |
unsigned int | flags_ |
unsigned int | id_ |
Friends | |
class | Context |
Class that represents an element of the visual scripting interface.
Definition at line 68 of file element.hh.
VSI::Element::Element | ( | Context * | _context, |
const QString & | _name | ||
) |
Constructor.
Definition at line 59 of file element.cc.
VSI::Element::~Element | ( | ) |
Destructor.
Definition at line 74 of file element.cc.
|
inline |
Element category.
Definition at line 85 of file element.hh.
|
inline |
Code segment.
Definition at line 115 of file element.hh.
|
inline |
Context of element.
Definition at line 79 of file element.hh.
|
inline |
Scenegraph input.
Definition at line 103 of file element.hh.
|
inline |
Scenegraph output.
Definition at line 106 of file element.hh.
|
inline |
Flags.
Definition at line 109 of file element.hh.
|
inline |
Functions.
Definition at line 100 of file element.hh.
unsigned int VSI::Element::getNewId | ( | ) |
Returns an unused id number.
Definition at line 92 of file element.cc.
|
inline |
Inputs.
Definition at line 94 of file element.hh.
|
inline |
Long description.
Definition at line 91 of file element.hh.
|
inline |
Element name.
Definition at line 82 of file element.hh.
|
inline |
Outputs.
Definition at line 97 of file element.hh.
|
inline |
Precode segment.
Definition at line 112 of file element.hh.
void VSI::Element::setMinId | ( | unsigned int | _id | ) |
sets the minimum for an unused id
Definition at line 100 of file element.cc.
|
inline |
Short description.
Definition at line 88 of file element.hh.
|
friend |
Definition at line 123 of file element.hh.
|
private |
Definition at line 129 of file element.hh.
|
private |
Definition at line 134 of file element.hh.
|
private |
Definition at line 126 of file element.hh.
|
private |
Definition at line 140 of file element.hh.
|
private |
Definition at line 141 of file element.hh.
|
private |
Definition at line 143 of file element.hh.
|
private |
Definition at line 138 of file element.hh.
|
private |
Definition at line 145 of file element.hh.
|
private |
Definition at line 136 of file element.hh.
|
private |
Definition at line 131 of file element.hh.
|
private |
Definition at line 128 of file element.hh.
|
private |
Definition at line 137 of file element.hh.
|
private |
Definition at line 133 of file element.hh.
|
private |
Definition at line 130 of file element.hh.