Itasca C++ Interface
Loading...
Searching...
No Matches
common
module
interface
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
8
namespace
itascaxd
{
9
class
IPiece;
10
class
IBodyFluid;
11
class
IPieceMechanical;
12
13
class
IPieceFluid
{
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
}
itascaxd::IBodyFluid
Definition
ibodyfluid.h:4
itascaxd::IPieceFluid
Definition
ipiecefluid.h:13
itascaxd::IPieceFluid::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
ipiecefluid.h:16
itascaxd::IPiece
Definition
ipiece.h:15
itascaxd::IPieceMechanical
Definition
ipiecemechanical.h:11
TType
uint32 TType
class type indicator
Definition
basedef.h:46
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:4
Generated by
1.10.0