Package | Description |
---|---|
msim.model |
Mixed physical/virtual linkage Simulator model representation and algorithms.
|
msim.serialization |
Mixed physical/virtual linkage Simulator serialization.
|
Modifier and Type | Field and Description |
---|---|
protected Joint.Type |
Joint.type
the current Joint
Joint.Type |
static Joint.Type[] |
Joint.TYPES
set of all
Joint.Type s, do not modify |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Joint.Type> |
Link.UserSubFrame.connectableJointTypes
The set of connectable joint types, null if unrestricted.
|
Modifier and Type | Method and Description |
---|---|
Joint.Type[] |
Link.getConnectableJointTypes(java.lang.String name)
Get a copy of the current set of connectable Joint types for the
indicated user subframe name, empty if none, null if
unrestricted.
|
Joint.Type |
Joint.getType()
get the current Joint
Joint.Type |
Joint.Type |
RootJoint.setType(Joint.Type type)
RootJoints are always
GENERAL . |
Joint.Type |
Joint.setType(Joint.Type type)
Mutate the
Joint.type of this Joint. |
protected Joint.Type |
Joint.setTypeImpl(Joint.Type type)
Impl of
Joint.setType(msim.model.Joint.Type) , so that RootJoint constr can set
initial type but still disable run-time type mutation. |
static Joint.Type |
Joint.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Joint.Type[] |
Joint.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
Link.addConnectableJointTypes(java.lang.String name,
Joint.Type... types)
Add one or more entries to the
Link.UserSubFrame.connectableJointTypes set for the indicated user
subframe, consing it if initially null. |
java.lang.String |
RootJoint.checkType(Joint.Type type)
Check if type is a valid type for this joint in its current
connected configuration.
|
java.lang.String |
Joint.checkType(Joint.Type type)
Check if type is a valid type for this joint in its current
connected configuration.
|
boolean |
Link.isConnectableToJointType(java.lang.String name,
Joint.Type type)
Check if the user subframe name on this Link is connectable to
a joint with the given type.
|
int |
Link.removeConnectableJointTypes(java.lang.String name,
Joint.Type... types)
Remove one or more entries from the
Link.UserSubFrame.connectableJointTypes set for the indicated user
subframe. |
Joint.Type |
RootJoint.setType(Joint.Type type)
RootJoints are always
GENERAL . |
Joint.Type |
Joint.setType(Joint.Type type)
Mutate the
Joint.type of this Joint. |
protected Joint.Type |
Joint.setTypeImpl(Joint.Type type)
Impl of
Joint.setType(msim.model.Joint.Type) , so that RootJoint constr can set
initial type but still disable run-time type mutation. |
Constructor and Description |
---|
Joint(Linkage linkage,
Joint.Type type)
Covers
Joint.Joint(Linkage, String, Type, Link, Link) , initially
disconnected, auto-named. |
Joint(Linkage linkage,
Joint.Type type,
LinkageNode.SubFrame parent,
LinkageNode.SubFrame child)
|
Joint(Linkage linkage,
Joint.Type type,
Link parentLink,
Link childLink)
Covers
Joint.Joint(Linkage, String, Type, Link, Link) ,
auto-named. |
Joint(Linkage linkage,
Joint.Type type,
Link parentLink,
java.lang.String parentSubFrame,
Link childLink,
java.lang.String childSubFrame)
Covers
Joint.Joint(Linkage, String, Type, Link, String, Link,
String) , auto-named. |
Joint(Linkage linkage,
java.lang.String name,
Joint.Type type)
Covers
Joint.Joint(Linkage, String, Type, Link, Link) , initially
disconnected. |
Joint(Linkage linkage,
java.lang.String name,
Joint.Type type,
LinkageNode.SubFrame parent,
LinkageNode.SubFrame child)
|
Joint(Linkage linkage,
java.lang.String name,
Joint.Type type,
Link parentLink,
Link childLink)
Covers
Joint.Joint(Linkage, String, Type, Link, String, Link,
String) , does not attach to subframes. |
Joint(Linkage linkage,
java.lang.String name,
Joint.Type type,
Link parentLink,
java.lang.String parentSubFrame,
Link childLink,
java.lang.String childSubFrame)
Makes a new chain closure joint and adds it to linkage.
|
Modifier and Type | Field and Description |
---|---|
Joint.Type |
DAEMSimJoint.jointType
joint_type attribute TBD custom marshal?
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Joint.Type> |
DAEMSimUserSubframe.connectableJointTypes
"connectable_joint_types" child element TBD custom marshal?
|