#include <output_sx.hpp>
Definition at line 51 of file output_sx.hpp.
Public Member Functions | |
WeakRefSXElem (int dummy=0) | |
WeakRefSXElem (SharedSXElem shared) | |
SharedSXElem | shared () const |
Get a shared (owning) reference. More... | |
bool | alive () const |
Check if alive. More... | |
bool | shared_if_alive (SharedSXElem &shared) const |
Thread-safe alternative to alive()/shared() More... | |
GenericWeakRefInternal< SharedSXElem, OutputSX > * | operator-> () |
Access functions of the node. More... | |
const GenericWeakRefInternal< SharedSXElem, OutputSX > * | operator-> () const |
Const access functions of the node. More... | |
void | own (OutputSX *node) |
void | assign (OutputSX *node) |
Assign the node to a node class pointer without reference counting. More... | |
OutputSX * | get () const |
Get a const pointer to the node. More... | |
casadi_int | getCount () const |
Get the reference count. More... | |
void | swap (GenericShared &other) |
Swap content with another instance. 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... | |
GenericWeakRef< SharedSXElem, OutputSX > * | weak () |
Get a weak reference to the object. More... | |
Protected Member Functions | |
void | count_up () |
void | count_down () |
|
inline |
Definition at line 54 of file output_sx.hpp.
|
inline |
Definition at line 56 of file output_sx.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 124 of file generic_shared_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_b1
Definition at line 166 of file generic_shared_impl.hpp.
|
inherited |
improper use will cause memory leaks!
Extra doc: https://github.com/casadi/casadi/wiki/L_at
Definition at line 97 of file generic_shared_impl.hpp.
|
protectedinherited |
Definition at line 134 of file generic_shared_impl.hpp.
|
protectedinherited |
Definition at line 133 of file generic_shared_impl.hpp.
|
inherited |
Definition at line 113 of file generic_shared_impl.hpp.
|
inherited |
Definition at line 100 of file generic_shared_impl.hpp.
|
inherited |
Definition at line 103 of file generic_shared_impl.hpp.
|
inherited |
Definition at line 117 of file generic_shared_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_b2
Definition at line 176 of file generic_shared_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_b3
Definition at line 181 of file generic_shared_impl.hpp.
|
inherited |
Assign the node to a node class pointer (or null)
Definition at line 90 of file generic_shared_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_b0
Definition at line 161 of file generic_shared_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29i
Definition at line 171 of file generic_shared_impl.hpp.
|
inherited |
Definition at line 106 of file generic_shared_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_aw
Definition at line 131 of file generic_shared_impl.hpp.