Itasca C++ Interface
icontactthermal.h
Go to the documentation of this file.
1 #pragma once
2 // icontactthermal.h
3 
10 namespace itasca {
11  class IThing;
12 }
13 
14 namespace itascaxd {
15  using namespace itasca;
16 
17  class IContact;
18  class IContactModel;
19  class IContactModelThermal;
20  class IContactMechanical;
21  class IPiece;
22  class IPieceThermal;
23 
25 
37  public:
39  inline static const TType type_ = 0x4f63385f;
40 
42  virtual const IThing * getIThing() const=0;
43  virtual IThing * getIThing()=0;
45  virtual const IContact * getContact() const=0;
46  virtual IContact * getContact()=0;
48  virtual const IContactThermal * getContactThermal() const =0;
49  virtual IContactThermal * getContactThermal() =0;
51  virtual const IContactMechanical * getContactMechanical() const =0;
52  virtual IContactMechanical * getContactMechanical() =0;
54  virtual const IPiece * getEnd1() const=0;
55  virtual IPiece * getEnd1()=0;
57  virtual const IPiece * getEnd2() const=0;
58  virtual IPiece* getEnd2()=0;
60  virtual const IPieceThermal * getEnd1Thermal() const=0;
61  virtual IPieceThermal * getEnd1Thermal()=0;
63  virtual const IPieceThermal * getEnd2Thermal() const=0;
64  virtual IPieceThermal * getEnd2Thermal()=0;
66  virtual const IContactModel * getModel() const=0;
67  virtual IContactModel * getModel()=0;
69  virtual IContactModel * setModel(const IContactModel *toClone,bool validate=true)=0;
71  virtual QString getModelName() const=0;
73  virtual IContactModel * setModelName(const QString &name)=0;
75  virtual double getPower() const=0;
77  virtual void setPower(const double &d)=0;
79  virtual double getTempInc() const=0;
81  virtual void setTempInc(const double &d)=0;
83  virtual double getOldGap() const = 0;
85  virtual void setOldGap(const double& d) = 0;
86  };
87 } // namespace itascaxd
88 // EoF
Base class for items that will be stored in containers.
Definition: ithing.h:30
Contact class.
Definition: icontact.h:33
ContactMechanical class.
Definition: icontactmechanical.h:37
ContactThermal class.
Definition: icontactthermal.h:36
virtual const IPiece * getEnd2() const =0
returns a pointer to the mechanical contact second IPieceMechanical object (e.g. a ball)
virtual void setPower(const double &d)=0
sets the power (from end1 to end2) at this thermal contact to v, expressed in the contact local coord...
virtual IContactModel * setModelName(const QString &name)=0
assigns the thermal contact model based on a name
virtual const IThing * getIThing() const =0
returns a IThing pointer
virtual const IContactThermal * getContactThermal() const =0
returns a IContactThermal pointer
virtual const IPiece * getEnd1() const =0
returns a pointer to the mechanical contact first IPieceMechanical object (e.g. a ball)
virtual const IContactMechanical * getContactMechanical() const =0
returns a a pointer to the host mechanical contact
virtual QString getModelName() const =0
returns the name of the thermal contact model present at this mechanical contact
virtual const IContactModel * getModel() const =0
returns a pointer to the thermal contact model present at this mechanical contact
virtual void setTempInc(const double &d)=0
sets the temperature increment at this thermal contact to d
virtual double getTempInc() const =0
returns the temperature increment at this thermal contact
virtual IContactModel * setModel(const IContactModel *toClone, bool validate=true)=0
assigns a clone of the thermal contact model passed in arguments, and copies its properties
virtual double getPower() const =0
returns the power (from end1 to end2) at this thermal contact, in the contact local coordinate system
virtual const IPieceThermal * getEnd1Thermal() const =0
returns a pointer to the thermal contact first IPieceThermal object (e.g. a ball)
virtual const IContact * getContact() const =0
returns a IContact pointer
virtual double getOldGap() const =0
returns the previous gap the host mechanical contact
virtual const IPieceThermal * getEnd2Thermal() const =0
returns a pointer to the thermal contact second IPieceThermal object (e.g. a ball)
virtual void setOldGap(const double &d)=0
sets the gap gap at the host mechanical contact to d
Definition: ipiece.h:15
Definition: ipiecethermal.h:12
uint32 TType
class type indicator
Definition: basedef.h:46
namespace Itasca
Definition: basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4