Itasca C++ Interface
Loading...
Searching...
No Matches
inoticemanager.h
Go to the documentation of this file.
1#pragma once
2
3#include "base/src/basedef.h"
4
5#include "shared/interface/signal.h"
6
12namespace itasca {
14
32 public:
33 shared::Signal<const std::set<uint32> &> notification;
34 shared::Signal<uint64> cycleCompleted;
35
39 virtual uint32 reserve(const string &name)=0;
40
44 virtual bool release(uint32 u)=0;
45
47 virtual bool check(const string &name)=0;
48
51 virtual uint32 find(const string &name)=0;
52
54 virtual void tag(uint32 u,bool modelChanged=true)=0;
55
58 virtual void notify()=0;
59
61 virtual uint32 getUpdateInterval() const=0;
62
64 // MOO NOTE: Will probably want to move somewhere else later.
65 virtual uint32 getFISHSymbolNotice() const=0;
66
67 };
68} // namespace itasca
69// EoF
Base type definitions for the engine.
Interface to the notification system.
Definition inoticemanager.h:31
virtual void notify()=0
virtual uint32 reserve(const string &name)=0
virtual bool release(uint32 u)=0
virtual uint32 getFISHSymbolNotice() const =0
Returns the notice code used to indicate that a FISH symbol has changed.
virtual bool check(const string &name)=0
Checks to see if string name has already been reserved (given and ID number).
virtual uint32 getUpdateInterval() const =0
Returns the Update Interval notice - sent to indicate that an update interval has occurred during cyc...
virtual void tag(uint32 u, bool modelChanged=true)=0
Tags ID u as having been changed, which will be sent out in the next notify() call.
virtual uint32 find(const string &name)=0
namespace Itasca
Definition basememory.cpp:10