#include <generic_shared.hpp>
Definition at line 141 of file generic_shared.hpp.

Public Member Functions | |
| GenericWeakRef (int dummy=0) | |
| Default constructor. More... | |
| GenericWeakRef (Shared shared) | |
| Construct from a shared object (also implicit type conversion) More... | |
| Shared | shared () const |
| Get a shared (owning) reference. More... | |
| bool | alive () const |
| Check if alive. More... | |
| bool | shared_if_alive (Shared &shared) const |
| Thread-safe alternative to alive()/shared() More... | |
| GenericWeakRefInternal< Shared, Internal > * | operator-> () |
| Access functions of the node. More... | |
| const GenericWeakRefInternal< Shared, Internal > * | operator-> () const |
| Const access functions of the node. More... | |
| std::string | debug_repr () const |
| bool | is_null () const |
| Is a null pointer? More... | |
| casadi_int | __hash__ () const |
| Returns a number that is unique for a given Node. More... | |
Friends | |
| class | GenericSharedInternal< Shared, Internal > |
| casadi::GenericWeakRef< Shared, Internal >::GenericWeakRef | ( | int | dummy = 0 | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_ay
Definition at line 146 of file generic_shared_impl.hpp.
| casadi::GenericWeakRef< Shared, Internal >::GenericWeakRef | ( | Shared | shared | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_az
Definition at line 193 of file generic_shared_impl.hpp.
|
inherited |
If the Object does not point to any node, "0" is returned.
Extra doc: https://github.com/casadi/casadi/wiki/L_av
Definition at line 141 of file generic_shared_impl.hpp.
| bool casadi::GenericWeakRef< Shared, Internal >::alive |
Extra doc: https://github.com/casadi/casadi/wiki/L_b1
Definition at line 151 of file generic_shared_impl.hpp.
|
inherited |
Definition at line 84 of file generic_shared_impl.hpp.
|
inherited |
Definition at line 113 of file generic_shared_impl.hpp.
| GenericWeakRefInternal< Shared, Internal > * casadi::GenericWeakRef< Shared, Internal >::operator-> |
Extra doc: https://github.com/casadi/casadi/wiki/L_b2
Definition at line 187 of file generic_shared_impl.hpp.
| const GenericWeakRefInternal< Shared, Internal > * casadi::GenericWeakRef< Shared, Internal >::operator-> |
Extra doc: https://github.com/casadi/casadi/wiki/L_b3
Definition at line 180 of file generic_shared_impl.hpp.
| Shared casadi::GenericWeakRef< Shared, Internal >::shared |
Extra doc: https://github.com/casadi/casadi/wiki/L_b0
Definition at line 156 of file generic_shared_impl.hpp.
| bool casadi::GenericWeakRef< Shared, Internal >::shared_if_alive | ( | Shared & | shared | ) | const |
Extra doc: https://github.com/casadi/casadi/wiki/L_29i
Definition at line 165 of file generic_shared_impl.hpp.
|
friend |
Definition at line 123 of file generic_shared.hpp.