Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ifacedata.h
Go to the documentation of this file.
1 #pragma once
2 // ifacedata.h
3 
4 #include "module/interface/idata.h"
5 
10 namespace block
11 {
12  class IFaceThing;
13 
20  class IFaceData
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 IFaceThing* v) const = 0;
33  virtual QList<uint> getInterestedIn() const = 0;
35  virtual void destroy() = 0;
36 
37  };
38 } // namespace block
39 // EoF
virtual const QObject * getQObject() const =0
Returns a const pointer to a QObject representing this object.
virtual double getData(const IFaceThing *v) const =0
Returns data given a face. Which data is determined by the current setIndex().
This class maintains a list of scalar data . getNames() returns the names of the data available throu...
Definition: ifacedata.h:20
virtual QList< uint > getInterestedIn() const =0
Definition: idata.h:16
virtual void destroy()=0
Destroys this object safely across interface boundaries.
This is the interface for FaceThing, a class that holds extra data not in the fortran arrays....
Definition: ifacething.h:32