Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iclumpthermal.h
1 #pragma once
2 // iclumpthermal.h
3 #include "base/src/farray.h"
4 
5 namespace itasca {
6  class IThing;
7  class IContainer;
8 }
9 
10 namespace itascaxd {
11  class IBody;
12  class IBodyThermal;
13  class IPiece;
14  class IContact;
15 }
16 
17 namespace pfc {
18  class IClump;
19 }
20 
21 namespace pfcthermal {
22  using namespace itasca;
23  using namespace itascaxd;
24 
25  using namespace pfc;
26  class IPebbleThermal;
27  class IClumpThermal {
28  public:
29  inline static const TType type_ = 0x4fc90342;
30 
31  virtual IThing * getIThing()=0;
32  virtual const IThing * getIThing() const=0;
33  virtual IBody * getIBody()=0;
34  virtual const IBody * getIBody() const=0;
35  virtual IBodyThermal * getIBodyThermal()=0;
36  virtual const IBodyThermal * getIBodyThermal() const=0;
37  virtual IBody * getIBodyMechanical()=0;
38  virtual const IBody * getIBodyMechanical() const=0;
39  virtual IClump * getIClump()=0;
41  virtual IPebbleThermal * getFirstPebble() = 0;
43  virtual const IPebbleThermal * getFirstPebble() const = 0;
44  virtual const IClump * getIClump() const=0;
45  virtual void getContactList(FArray<IContact *> *ret,const TType &type=0,const IPiece *p2=0) = 0;
46  virtual void getContactList(FArray<const IContact *> *ret,const TType &type=0,const IPiece *p2=0) const = 0;
48  virtual quint64 getContactCount(bool active,const TType &type=0,bool domainToo = false) const=0;
50  virtual uint getNumberPebbles() const=0;
52  virtual void getPebbleList(FArray<IPebbleThermal *> *)=0;
54  virtual void getPebbleList(FArray<const IPebbleThermal *> *) const=0;
55  virtual IContainer *getClumpThermalAsPebbleContainer() = 0;
56  virtual const IContainer *getClumpThermalAsPebbleContainer() const = 0;
57  virtual bool setProperty(const QString &name,const QVariant &v)=0;
58  };
59 
60 } // namespace pfcthermal
61 // EoF
62 
namespace Itasca
Definition: basememory.cpp:9
Base class for items that will be stored in containers.
Definition: ithing.h:31
PFC namespace.
Definition: iballfluid.h:15
An array class that attempts to minimize unnecessary heap access.
Definition: ipiece.h:15
unsigned int TType
class type indicator
Definition: basedef.h:41
Interface for a clump. This is the interface for a clump. A clump is a collection of pebbles that def...
Definition: iclump.h:37
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
An array class that attempts to minimize unnecessary heap access.
Definition: farray.h:27
Interface for containers of IThings.
Definition: icontainer.h:23
PFCTHERMAL namespace.
Definition: iballthermal.h:18
Definition: ipebblethermal.h:25
Definition: ibody.h:20
Definition: ibodythermal.h:10
Definition: iclumpthermal.h:27