Itasca C++ Interface
Loading...
Searching...
No Matches
igpdata.h
Go to the documentation of this file.
1#pragma once
2// igpdata.h
3
4#include "module/interface/idata.h"
5
10namespace block {
11 class IVertexThing;
12
19 class IGpData {
20 public:
22 shared::Signal<bool> velocityLimitActiveChanged;
23 shared::Signal<double> velocityLimitChanged;
24
25 virtual itascaxd::IData *getIData() = 0;
26 virtual const itascaxd::IData *getIData() const = 0;
28 virtual double getData(const IVertexThing *v) const = 0;
31 virtual QList<uint> getInterestedIn() const = 0;
33 virtual void destroy() = 0;
34 virtual bool getVelocityLimitActive() const = 0;
35 virtual double getVelocityLimit() const = 0;
37 virtual void setVelocityLimit(double d) = 0;
38 };
39} // namespace block
40// EoF
Definition idef.h:50
This class maintains a list of scalar data (x-position, density, velocity magnitude,...
Definition igpdata.h:19
virtual void setVelocityLimit(double d)=0
SLOTS.
virtual void destroy()=0
Destroys this object safely across interface boundaries.
virtual QList< uint > getInterestedIn() const =0
shared::Signal< bool > velocityLimitActiveChanged
SIGNALS.
Definition igpdata.h:22
virtual double getData(const IVertexThing *v) const =0
Returns data given a Gridpoint. Which data is determined by the current setIndex().
This is the interface for VertexThing. This will be stored in a container and the ID will be stored i...
Definition ivertexthing.h:29
Definition idata.h:16