Itasca C++ Interface
igpdata.h
Go to the documentation of this file.
1 #pragma once
2 // igpdata.h
3 
9 #include "module/interface/idata.h"
10 
11 namespace itasca {
12  class IParse;
13 }
14 namespace zone {
15  using itascaxd::IData;
16  class IGp;
17 
27  class IGpData {
28  public:
30  shared::Signal<bool> velocityLimitActiveChanged;
31  shared::Signal<double> velocityLimitChanged;
32 
33  virtual IData * getIData()=0;
34  virtual const IData * getIData() const=0;
36  virtual double getData(const IGp *gp) const=0;
39  virtual std::vector<uint32> getInterestedIn() const=0;
41  virtual void destroy()=0;
42  virtual bool getVelocityLimitActive() const=0;
43  virtual double getVelocityLimit() const=0;
45  virtual void setVelocityLimit(double d)=0;
46  };
47 } // namespace zone
48 // EoF
49 
Definition: idata.h:16
Interface that allows access to gridpoint scalar data in a generic way.
Definition: igpdata.h:27
virtual void destroy()=0
Destroys this object safely across interface boundaries.
virtual double getData(const IGp *gp) const =0
Returns data given a Gridpoint. Which data is determined by the current setIndex().
virtual std::vector< uint32 > getInterestedIn() const =0
shared::Signal< bool > velocityLimitActiveChanged
SIGNALS.
Definition: igpdata.h:30
virtual void setVelocityLimit(double d)=0
SLOTS.
Interface to provide access to a gridpoint.
Definition: igp.h:55
namespace Itasca
Definition: basememory.cpp:10