Itasca C++ Interface
Loading...
Searching...
No Matches
igpdata.h
Go to the documentation of this file.
1#pragma once
2// igpdata.h
3
9#include "module/interface/idata.h"
10
11namespace itasca {
12 class IParse;
13}
14namespace 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 shared::Signal<bool> datumActiveChanged;
33 shared::Signal<DVect> datumChanged;
34
35 virtual IData * getIData()=0;
36 virtual const IData * getIData() const=0;
38 virtual double getData(const IGp *gp) const=0;
41 virtual std::vector<uint32> getInterestedIn() const=0;
43 virtual void destroy()=0;
44 virtual bool getVelocityLimitActive() const=0;
45 virtual bool getDatumActive() const=0;
46 virtual DVect getDatum() const=0;
47 virtual double getVelocityLimit() const=0;
49 virtual void setVelocityLimit(double d)=0;
50 virtual void setDatum(const DVect &v)=0;
51 };
52} // namespace zone
53// EoF
54
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().
shared::Signal< bool > velocityLimitActiveChanged
SIGNALS.
Definition igpdata.h:30
virtual void setVelocityLimit(double d)=0
SLOTS.
virtual std::vector< uint32 > getInterestedIn() const =0
Interface to provide access to a gridpoint.
Definition igp.h:56
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10