Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
igpdata.h
Go to the documentation of this file.
1 #pragma once
2 // igpdata.h
3 
4 #include "module/interface/idata.h"
5 
10 namespace block
11 {
12  class IVertexThing;
13 
20  class IGpData
21  {
22  public:
24  virtual const QObject *getQObject() const=0;
26  virtual QObject * getQObject()=0;
27  virtual itascaxd::IData * getIData()=0;
28  virtual const itascaxd::IData * getIData() const=0;
30  virtual double getData(const IVertexThing *v) const=0;
33  virtual QList<uint> getInterestedIn() const=0;
35  virtual void destroy()=0;
36  virtual bool getVelocityLimitActive() const = 0;
37  virtual double getVelocityLimit() const = 0;
39  virtual void setVelocityLimit(double d) = 0;
41  virtual void velocityLimitActiveChanged(bool b) = 0;
42  virtual void velocityLimitChanged(double d) = 0;
43  };
44 } // namespace block
45 // EoF
virtual void velocityLimitActiveChanged(bool b)=0
SIGNALS.
virtual void destroy()=0
Destroys this object safely across interface boundaries.
virtual double getData(const IVertexThing *v) const =0
Returns data given a Gridpoint. Which data is determined by the current setIndex().
This class maintains a list of scalar data (x-position, density, velocity magnitude,...
Definition: igpdata.h:20
This is the interface for VertexThing. This will be stored in a container and the ID will be stored i...
Definition: ivertexthing.h:28
virtual void setVelocityLimit(double d)=0
SLOTS.
Definition: idata.h:16
virtual QList< uint > getInterestedIn() const =0
virtual const QObject * getQObject() const =0
Returns a const pointer to a QObject representing this object.