|
scc 2025.09
SystemC components library
|
Public Member Functions | |
| tlm_payload_shared_ptr () noexcept=default | |
| Default constructor, creates a unique_ptr that owns nothing. | |
| tlm_payload_shared_ptr (T *p) noexcept | |
| Takes ownership of the pointer. | |
| tlm_payload_shared_ptr (tlm_payload_shared_ptr const &p) noexcept | |
| Copy constructor. | |
| tlm_payload_shared_ptr (tlm_payload_shared_ptr &&p) noexcept | |
| Move constructor.´ | |
| ~tlm_payload_shared_ptr () | |
| destructor | |
| tlm_payload_shared_ptr & | operator= (tlm_payload_shared_ptr const &p) noexcept |
| Copy assignment operator. | |
| tlm_payload_shared_ptr & | operator= (tlm_payload_shared_ptr &&p) noexcept |
| Move assignment operator. | |
| tlm_payload_shared_ptr & | operator= (T *p) noexcept |
| raw pointer assignment operator. | |
| T & | operator* () const noexcept |
| Dereference the stored pointer. | |
| T * | operator-> () const noexcept |
| Return the stored pointer. | |
| T * | get () const noexcept |
| Return the stored pointer. | |
| operator bool () const noexcept | |
Definition at line 27 of file tlm_gp_shared.h.
|
inlinenoexcept |
Takes ownership of the pointer.
Definition at line 35 of file tlm_gp_shared.h.
|
inlinenoexcept |
Copy constructor.
Definition at line 41 of file tlm_gp_shared.h.
|
inlinenoexcept |
Move constructor.´
Definition at line 47 of file tlm_gp_shared.h.
|
inline |
destructor
Definition at line 52 of file tlm_gp_shared.h.
|
inlinenoexcept |
Return the stored pointer.
Definition at line 91 of file tlm_gp_shared.h.
|
inlinenoexcept |
Definition at line 93 of file tlm_gp_shared.h.
|
inlinenoexcept |
Dereference the stored pointer.
Definition at line 85 of file tlm_gp_shared.h.
|
inlinenoexcept |
Return the stored pointer.
Definition at line 88 of file tlm_gp_shared.h.
|
inlinenoexcept |
raw pointer assignment operator.
Definition at line 75 of file tlm_gp_shared.h.
|
inlinenoexcept |
Move assignment operator.
Definition at line 66 of file tlm_gp_shared.h.
|
inlinenoexcept |
Copy assignment operator.
Definition at line 57 of file tlm_gp_shared.h.