Internal configuration concept. More...
Public Member Functions | |
virtual | ~Concept ()=default |
Explicitly declared virtual destructor. | |
virtual std::unique_ptr< Concept > | Clone_ () const =0 |
Clones this concept and returns a pointer to a mutable copy. More... | |
virtual TypeID | GetType_ () const noexcept=0 |
Gets the use type information. More... | |
virtual const void * | GetData_ () const noexcept=0 |
Gets the data for the underlying configuration. | |
virtual void * | GetData_ () noexcept=0 |
Gets the data for the underlying configuration. | |
virtual bool | IsEqual_ (const Concept &other) const noexcept=0 |
Equality checking method. | |
virtual BodyID | GetBodyA_ () const noexcept=0 |
Gets the ID of body-A. | |
virtual BodyID | GetBodyB_ () const noexcept=0 |
Gets the ID of body-B. | |
virtual bool | GetCollideConnected_ () const noexcept=0 |
Gets whether collision handling should be done for connected bodies. | |
virtual bool | ShiftOrigin_ (Length2 value) noexcept=0 |
Call to notify joint of a shift in the world origin. | |
virtual void | InitVelocity_ (BodyConstraintsMap &bodies, const playrho::StepConf &step, const ConstraintSolverConf &conf)=0 |
Initializes the velocities for this joint. | |
virtual bool | SolveVelocity_ (BodyConstraintsMap &bodies, const playrho::StepConf &step)=0 |
Solves the velocities for this joint. | |
virtual bool | SolvePosition_ (BodyConstraintsMap &bodies, const ConstraintSolverConf &conf) const =0 |
Solves the positions for this joint. | |
Internal configuration concept.
|
pure virtual |
Clones this concept and returns a pointer to a mutable copy.
std::bad_alloc
or any exception that's thrown by the constructor for the model's underlying data type. std::bad_alloc | if there's a failure allocating storage. |
Implemented in playrho::d2::Joint::Model< T >.
|
pure virtualnoexcept |
Gets the use type information.
Implemented in playrho::d2::Joint::Model< T >.
Referenced by playrho::d2::Joint::Model< T >::IsEqual_().