Typing JointVisitor
.
More...
#include <TypeJointVisitor.hpp>
Public Member Functions | |
void | Visit (const RevoluteJoint &) override |
Visits a revolute joint (RevoluteJoint ). More... | |
void | Visit (RevoluteJoint &) override |
Visits a revolute joint (RevoluteJoint ). More... | |
void | Visit (const PrismaticJoint &) override |
Visits a prismatic joint (PrismaticJoint ). More... | |
void | Visit (PrismaticJoint &) override |
Visits a prismatic joint (PrismaticJoint ). More... | |
void | Visit (const DistanceJoint &) override |
Visits a distance joint (DistanceJoint ). More... | |
void | Visit (DistanceJoint &) override |
Visits a distance joint (DistanceJoint ). More... | |
void | Visit (const PulleyJoint &) override |
Visits a pulley joint (PulleyJoint ). More... | |
void | Visit (PulleyJoint &) override |
Visits a pulley joint (PulleyJoint ). More... | |
void | Visit (const TargetJoint &) override |
Visits a target joint (TargetJoint ). More... | |
void | Visit (TargetJoint &) override |
Visits a target joint (TargetJoint ). More... | |
void | Visit (const GearJoint &) override |
Visits a gear joint (GearJoint ). More... | |
void | Visit (GearJoint &) override |
Visits a gear joint (GearJoint ). More... | |
void | Visit (const WheelJoint &) override |
Visits a wheel joint (WheelJoint ). More... | |
void | Visit (WheelJoint &) override |
Visits a wheel joint (WheelJoint ). More... | |
void | Visit (const WeldJoint &) override |
Visits a weld joint (WeldJoint ). More... | |
void | Visit (WeldJoint &) override |
Visits a weld joint (WeldJoint ). More... | |
void | Visit (const FrictionJoint &) override |
Visits a friction joint (FrictionJoint ). More... | |
void | Visit (FrictionJoint &) override |
Visits a friction joint (FrictionJoint ). More... | |
void | Visit (const RopeJoint &) override |
Visits a rope joint (RopeJoint ). More... | |
void | Visit (RopeJoint &) override |
Visits a rope joint (RopeJoint ). More... | |
void | Visit (const MotorJoint &) override |
Visits a motor joint (MotorJoint ). More... | |
void | Visit (MotorJoint &) override |
Visits a motor joint (MotorJoint ). More... | |
Optional< JointType > | GetType () const noexcept |
Gets the type of joint that had been visited. More... | |
bool | GetWritable () const noexcept |
Gets whether the visited type was writable or not. More... | |
Public Member Functions inherited from playrho::d2::JointVisitor | |
virtual | ~JointVisitor ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from playrho::d2::JointVisitor | |
JointVisitor ()=default | |
JointVisitor (const JointVisitor &other)=default | |
Copy constructor. More... | |
JointVisitor (JointVisitor &&other)=default | |
Move constructor. More... | |
JointVisitor & | operator= (const JointVisitor &other)=default |
Copy assignment operator. More... | |
JointVisitor & | operator= (JointVisitor &&other)=default |
Move assignment operator. More... | |
Detailed Description
Typing JointVisitor
.
Records the type of joint that gets visited.
Definition at line 33 of file TypeJointVisitor.hpp.
Member Function Documentation
◆ Visit() [1/22]
|
inlineoverridevirtual |
Visits a revolute joint (RevoluteJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 37 of file TypeJointVisitor.hpp.
◆ Visit() [2/22]
|
inlineoverridevirtual |
Visits a revolute joint (RevoluteJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 42 of file TypeJointVisitor.hpp.
◆ Visit() [3/22]
|
inlineoverridevirtual |
Visits a prismatic joint (PrismaticJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 48 of file TypeJointVisitor.hpp.
◆ Visit() [4/22]
|
inlineoverridevirtual |
Visits a prismatic joint (PrismaticJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 53 of file TypeJointVisitor.hpp.
◆ Visit() [5/22]
|
inlineoverridevirtual |
Visits a distance joint (DistanceJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 59 of file TypeJointVisitor.hpp.
◆ Visit() [6/22]
|
inlineoverridevirtual |
Visits a distance joint (DistanceJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 64 of file TypeJointVisitor.hpp.
◆ Visit() [7/22]
|
inlineoverridevirtual |
Visits a pulley joint (PulleyJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 70 of file TypeJointVisitor.hpp.
◆ Visit() [8/22]
|
inlineoverridevirtual |
Visits a pulley joint (PulleyJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 75 of file TypeJointVisitor.hpp.
◆ Visit() [9/22]
|
inlineoverridevirtual |
Visits a target joint (TargetJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 81 of file TypeJointVisitor.hpp.
◆ Visit() [10/22]
|
inlineoverridevirtual |
Visits a target joint (TargetJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 86 of file TypeJointVisitor.hpp.
◆ Visit() [11/22]
|
inlineoverridevirtual |
Visits a gear joint (GearJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 92 of file TypeJointVisitor.hpp.
◆ Visit() [12/22]
|
inlineoverridevirtual |
Visits a gear joint (GearJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 97 of file TypeJointVisitor.hpp.
◆ Visit() [13/22]
|
inlineoverridevirtual |
Visits a wheel joint (WheelJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 103 of file TypeJointVisitor.hpp.
◆ Visit() [14/22]
|
inlineoverridevirtual |
Visits a wheel joint (WheelJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 108 of file TypeJointVisitor.hpp.
◆ Visit() [15/22]
|
inlineoverridevirtual |
Visits a weld joint (WeldJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 114 of file TypeJointVisitor.hpp.
◆ Visit() [16/22]
|
inlineoverridevirtual |
Visits a weld joint (WeldJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 119 of file TypeJointVisitor.hpp.
◆ Visit() [17/22]
|
inlineoverridevirtual |
Visits a friction joint (FrictionJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 125 of file TypeJointVisitor.hpp.
◆ Visit() [18/22]
|
inlineoverridevirtual |
Visits a friction joint (FrictionJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 130 of file TypeJointVisitor.hpp.
◆ Visit() [19/22]
|
inlineoverridevirtual |
Visits a rope joint (RopeJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 136 of file TypeJointVisitor.hpp.
◆ Visit() [20/22]
|
inlineoverridevirtual |
Visits a rope joint (RopeJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 141 of file TypeJointVisitor.hpp.
◆ Visit() [21/22]
|
inlineoverridevirtual |
Visits a motor joint (MotorJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 147 of file TypeJointVisitor.hpp.
◆ Visit() [22/22]
|
inlineoverridevirtual |
Visits a motor joint (MotorJoint
).
Implements playrho::d2::JointVisitor.
Definition at line 152 of file TypeJointVisitor.hpp.
◆ GetType()
Gets the type of joint that had been visited.
Definition at line 159 of file TypeJointVisitor.hpp.
◆ GetWritable()
|
inlinenoexcept |
Gets whether the visited type was writable or not.
Definition at line 165 of file TypeJointVisitor.hpp.
The documentation for this class was generated from the following file:
- Dynamics/Joints/TypeJointVisitor.hpp