X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3bcfe4df6fdde086eb1b59f7a0173358170174a1:/SourceItem.h..8fb3c55ee009a11db5e1c08a4cfb286979412745:/StimuliItem.h?ds=inline diff --git a/SourceItem.h b/StimuliItem.h similarity index 72% rename from SourceItem.h rename to StimuliItem.h index 72ebede..c8d68a0 100644 --- a/SourceItem.h +++ b/StimuliItem.h @@ -1,5 +1,5 @@ -#ifndef __SOURCEITEM_H__ -#define __SOURCEITEM_H__ +#ifndef __STIMULIITEM_H__ +#define __STIMULIITEM_H__ #include @@ -21,24 +21,24 @@ using namespace std; 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(); @@ -59,4 +59,4 @@ protected: }; -#endif // __SOURCEITEM_H__ +#endif // __STIMULIITEM_H__