public abstract class InOut extends Module
Constructor and Description |
---|
InOut(Mass m)
Generic in/out module constructor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
compute()
Compute behavior of the In/Out (depends on the concrete implementation of concerned module).
|
void |
connect(Mass m1)
Connect the InOut module to one Mass module.
|
Mass |
getMat()
Access the first Mass connected to this InOut module.
|
double |
getParam(param p) |
int |
setParam(param p,
double val) |
public InOut(Mass m)
m
- public abstract void compute()
public void connect(Mass m1)
m1
- connected Mass.public Mass getMat()
Processing Library miPhysics by James Leonard. (c) 2019