-#ifndef __SOURCEITEM_H__
-#define __SOURCEITEM_H__
+#ifndef __STIMULIITEM_H__
+#define __STIMULIITEM_H__
#include <iostream>
using namespace Qt;
/*!
- * \brief The SourceItem class
- * A SourceItem represents a special type of block that is added only
+ * \brief The StimuliItem class
+ * A StimuliItem represents a special type of block that is added only
* to the top scene, in order to simulate inputs on the FPGA input
* pins. This, the reference block used as a source must be chosen
* among blocks that have no inputs and only outputs (with multiplicity
* = 1)
*/
-class SourceItem : public AbstractBoxItem {
+class StimuliItem : public AbstractBoxItem {
public:
- SourceItem(AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params) throw(Exception);
- SourceItem(Dispatcher *_dispatcher, Parameters *_params) throw(Exception);
- ~SourceItem();
+ StimuliItem(AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params) throw(Exception);
+ StimuliItem(Dispatcher *_dispatcher, Parameters *_params) throw(Exception);
+ ~StimuliItem();
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
// testers
- bool isSourceItem();
+ bool isStimuliItem();
// others
void nameChanged();
};
-#endif // __SOURCEITEM_H__
+#endif // __STIMULIITEM_H__