scc  2024.06
SystemC components library
tlm::scc::tlm_payload_shared_ptr< T > Class Template Reference

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_ptroperator= (tlm_payload_shared_ptr const &p) noexcept
 Copy assignment operator.
 
tlm_payload_shared_ptroperator= (tlm_payload_shared_ptr &&p) noexcept
 Move assignment operator.
 
tlm_payload_shared_ptroperator= (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
 

Detailed Description

template<typename T>
class tlm::scc::tlm_payload_shared_ptr< T >

Definition at line 27 of file tlm_gp_shared.h.


The documentation for this class was generated from the following file: