Itasca C++ Interface
Toggle main menu visibility
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
11
12
namespace
itasca
{
14
31
class
INoticeManager
{
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
68
virtual
uint32
getCommandNotice
()
const
=0;
69
70
};
71
}
// namespace itasca
72
// EoF
basedef.h
Base type definitions for the engine.
itasca::INoticeManager
Interface to the notification system.
Definition
inoticemanager.h:31
itasca::INoticeManager::notify
virtual void notify()=0
itasca::INoticeManager::reserve
virtual uint32 reserve(const string &name)=0
itasca::INoticeManager::release
virtual bool release(uint32 u)=0
itasca::INoticeManager::getFISHSymbolNotice
virtual uint32 getFISHSymbolNotice() const =0
Returns the notice code used to indicate that a FISH symbol has changed.
itasca::INoticeManager::check
virtual bool check(const string &name)=0
Checks to see if string name has already been reserved (given and ID number).
itasca::INoticeManager::getUpdateInterval
virtual uint32 getUpdateInterval() const =0
Returns the Update Interval notice - sent to indicate that an update interval has occurred during cyc...
itasca::INoticeManager::tag
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.
itasca::INoticeManager::getCommandNotice
virtual uint32 getCommandNotice() const =0
Returns the notice cide used to indicate that a command has been processed.
itasca::INoticeManager::find
virtual uint32 find(const string &name)=0
itasca
namespace Itasca
Definition
basememory.cpp:14
common
module
interface
inoticemanager.h
Generated by
1.18.0