|
AGXDynamics
2.31.1.0
|
Observer that not only sets the Constraint1DOF pointer to nullptr on object deletion, but also informs the owning Actuator so the body units can be updated. More...
#include <Actuator1DOF.h>
Inheritance diagram for agxPowerLine::Actuator1DOF::ConstraintObserver:Public Types | |
| typedef agx::Constraint1DOF | element_type |
| The type of the referenced class. More... | |
Public Member Functions | |
| ConstraintObserver (agx::Constraint1DOF *actuatedConstraint, Actuator1DOF *owningActuator) | |
| agx::Constraint1DOF * | get () const |
| bool | isValid () const |
| virtual void | objectDeleted (void *) override |
| operator agx::Constraint1DOF * () const | |
| Cast operator that will cast the observer_ptr to its native type. More... | |
| bool | operator! () const |
| bool | operator!= (observer_ptr< U > const &rp) const |
| bool | operator!= (U const *p) const |
| bool | operator!= (U *p) const |
| agx::Constraint1DOF & | operator* () const |
| agx::Constraint1DOF * | operator-> () const |
| automatic cast to native pointer and use the dereferencing operator More... | |
| bool | operator< (const observer_ptr &rp) const |
| bool | operator== (observer_ptr< U > const &rp) const |
| bool | operator== (U const *p) const |
| bool | operator== (U *p) const |
Observer that not only sets the Constraint1DOF pointer to nullptr on object deletion, but also informs the owning Actuator so the body units can be updated.
Definition at line 97 of file Actuator1DOF.h.
|
inherited |
The type of the referenced class.
Definition at line 65 of file observer_ptr.h.
| agxPowerLine::Actuator1DOF::ConstraintObserver::ConstraintObserver | ( | agx::Constraint1DOF * | actuatedConstraint, |
| Actuator1DOF * | owningActuator | ||
| ) |
|
inherited |
|
inherited |
|
overridevirtual |
Reimplemented from agx::observer_ptr< agx::Constraint1DOF >.
|
inherited |
Cast operator that will cast the observer_ptr to its native type.
|
inherited |
|
inherited |
|
inherited |
is NOT pointing at the same object as this observer pointer
|
inherited |
is NOT pointing at the same object as this observer pointer
|
inherited |
|
inherited |
automatic cast to native pointer and use the dereferencing operator
|
inherited |
rp is referencing.
|
inherited |
|
inherited |
is pointing at the same object as this observer pointer
|
inherited |
is pointing at the same object as this observer pointer