#include <generic_type_internal.hpp>
Definition at line 46 of file generic_type_internal.hpp.
Public Types | |
using | weak_ref_type = WeakRefInternal |
Public Member Functions | |
GenericTypeInternal (const T &d) | |
~GenericTypeInternal () override | |
std::string | class_name () const override |
Readable name of the internal class. More... | |
void | disp (std::ostream &stream, bool more) const override |
Print a description of the object. More... | |
TypeID | getType () const override |
void | serialize (SerializingStream &s) const override |
casadi_int | getCount () const |
Get the reference count. More... | |
std::string | debug_repr (const SharedObjectInternal *) const |
GenericWeakRef< SharedObject, SharedObjectInternal > * | weak () |
Get a weak reference to the object. More... | |
Static Public Member Functions | |
static GenericType | deserialize (DeserializingStream &s) |
Public Attributes | |
T | d_ |
Protected Member Functions | |
void | initSingleton () |
void | destroySingleton () |
B | shared_from_this () |
Get a shared object from the current internal object. More... | |
const B | shared_from_this () const |
Get a shared object from the current internal object. More... | |
|
inherited |
Definition at line 152 of file shared_object.hpp.
|
inlineexplicit |
Definition at line 48 of file generic_type_internal.hpp.
|
inlineoverride |
Definition at line 49 of file generic_type_internal.hpp.
|
inlineoverridevirtual |
Implements casadi::SharedObjectInternal.
Definition at line 50 of file generic_type_internal.hpp.
|
inherited |
Definition at line 62 of file generic_shared_internal.hpp.
|
inlinestatic |
Definition at line 57 of file generic_type_internal.hpp.
References casadi::T, and casadi::DeserializingStream::unpack().
Referenced by casadi::GenericType::deserialize().
|
inlineprotectedinherited |
Called in the destructor of singletons
Definition at line 77 of file generic_shared_internal.hpp.
|
inlineoverridevirtual |
|
inherited |
Definition at line 60 of file generic_shared_internal.hpp.
|
inlineoverridevirtual |
Implements casadi::GenericTypeBase.
Definition at line 52 of file generic_type_internal.hpp.
|
inlineprotectedinherited |
Called in the constructor of singletons to avoid that the counter reaches zero
Definition at line 71 of file generic_shared_internal.hpp.
|
inlineoverridevirtual |
Implements casadi::GenericTypeBase.
Definition at line 54 of file generic_type_internal.hpp.
References casadi::SerializingStream::pack().
|
inlineprotectedinherited |
Definition at line 83 of file generic_shared_internal.hpp.
|
inlineprotectedinherited |
Definition at line 92 of file generic_shared_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ai
Definition at line 67 of file generic_shared_internal.hpp.
T casadi::GenericTypeInternal< ID, T >::d_ |
Definition at line 53 of file generic_type_internal.hpp.