public class MechSystemBase.ConstraintForceStateSaver extends java.lang.Object implements HasNumericState
Constructor and Description |
---|
ConstraintForceStateSaver() |
Modifier and Type | Method and Description |
---|---|
void |
getInitialState(NumericState nstate) |
void |
getState(DataBuffer data)
Saves state information for this component by adding data to the
supplied DataBuffer.
|
boolean |
hasState()
Specifies whether this component currently hold state.
|
void |
setState(DataBuffer data)
Restores the state for this component by reading from the supplied
data buffer, starting at the current buffer offsets.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
advanceState, getStateVersion
public boolean hasState()
HasNumericState
hasState
in interface HasNumericState
public void getInitialState(NumericState nstate)
public void getState(DataBuffer data)
HasNumericState
getState
in interface HasNumericState
data
- buffer for storing the state values.public void setState(DataBuffer data)
HasNumericState
setState
in interface HasNumericState
data
- buffer containing the state information