Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
inoticemanager.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "base/src/baseqt.h"
4 
10 namespace itasca {
12 
30  public:
36  virtual const QObject *getQObject() const=0;
37 
41  virtual uint reserve(const QString &name)=0;
42 
46  virtual bool release(uint u)=0;
47 
49  virtual bool check(const QString &name)=0;
50 
53  virtual uint find(const QString &name)=0;
54 
56  virtual void tag(uint u,bool modelChanged=true)=0;
57 
60  virtual void notify()=0;
61 
63  virtual uint getUpdateInterval() const=0;
64 
66  // MOO NOTE: Will probably want to move somewhere else later.
67  virtual uint getFISHSymbolNotice() const=0;
68 
69  // signals
71  virtual void notification(QSet<uint> set)=0;
73  virtual void cycleCompleted(const quint64 &step)=0;
74  };
75 } // namespace itasca
76 // EoF
virtual const QObject * getQObject() const =0
namespace Itasca
Definition: basememory.cpp:9
virtual void notify()=0
virtual uint find(const QString &name)=0
virtual uint reserve(const QString &name)=0
virtual uint getUpdateInterval() const =0
Returns the Update Interval notice - sent to indicate that an update interval has occurred during cyc...
virtual void cycleCompleted(const quint64 &step)=0
This signal is emitted when a cycle is completed.
virtual bool check(const QString &name)=0
Checks to see if string name has already been reserved (given and ID number).
virtual uint getFISHSymbolNotice() const =0
Returns the notice code used to indicate that a FISH symbol has changed.
virtual void tag(uint u, bool modelChanged=true)=0
Tags ID u as having been changed, which will be sent out in the next notify() call.
virtual bool release(uint u)=0
Interface to the notification system.
Definition: inoticemanager.h:29
virtual void notification(QSet< uint > set)=0
This signal is emitted to notify that a given event has occurred. See notify()
All default base headers if Qt is being used.