scc
2024.06
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.