Itasca C++ Interface
Loading...
Searching...
No Matches
ipiecefluid.h
1#pragma once
2// ipiecefluid.h
3
4// Interface for functionality common to all fluid pieces.
5// They all define surface properties, used by fluid contacts.
6// They also store a pointer to a mechanical piece
7
8namespace itascaxd {
9 class IPiece;
10 class IBodyFluid;
11 class IPieceMechanical;
12
14 public:
16 inline static const TType type_ = 0x4fe8e8a0;
17 virtual const IPiece * getIPiece() const=0;
18 virtual IPiece * getIPiece()=0;
19 virtual const IPieceMechanical * getIPieceMechanical() const=0;
20 virtual IPieceMechanical * getIPieceMechanical()=0;
21 // Get a pointer to the body to which this Piece belongs
22 virtual IBodyFluid* getIBodyFluid() = 0;
23 virtual const IBodyFluid* getIBodyFluid() const = 0;
24
25 };
26}
Definition ibodyfluid.h:4
Definition ipiecefluid.h:13
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition ipiecefluid.h:16
Definition ipiece.h:15
Definition ipiecemechanical.h:11
uint32 TType
class type indicator
Definition basedef.h:46
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4