NCL Composer
0.1
|
00001 #ifndef QNSTLINK_H 00002 #define QNSTLINK_H 00003 00004 #include <QMap> 00005 00006 #include "qnstentity.h" 00007 #include "qnstbind.h" 00008 00009 class QnstLink : public QnstEntity 00010 { 00011 public: 00012 QnstLink(); 00013 00014 virtual ~QnstLink(); 00015 00016 QString getAggregatorUID() const; 00017 00018 void setAggregatorUID(QString aggregatorUID); 00019 00020 QString getxConnector() const; 00021 00022 void setxConnector(QString xconnector); 00023 00024 QString getxConnectorUID() const; 00025 00026 void setxConnectorUID(QString xconnectorUID); 00027 00028 QMap<QString, QnstBind*> getActions() const; 00029 00030 void addAction(QnstBind* action); 00031 00032 void removeAction(QnstBind* action); 00033 00034 QMap<QString, QnstBind*> getConditions() const; 00035 00036 void addCondition(QnstBind* condition); 00037 00038 void removeCondition(QnstBind* condition); 00039 00040 private: 00041 QString aggregatorUID; 00042 00043 QString xconnector; 00044 00045 QString xconnectorUID; 00046 00047 QMap<QString, QnstBind*> actions; 00048 00049 QMap<QString, QnstBind*> conditions; 00050 }; 00051 00052 #endif // QNSTLINK_H