scc  2022.4.0
SystemC components library
tlm::scc::tlm_gp_shared_ptr Class Reference

Public Member Functions

 tlm_gp_shared_ptr () noexcept=default
 Default constructor, creates a unique_ptr that owns nothing.
 
 tlm_gp_shared_ptr (tlm::tlm_generic_payload *p) noexcept
 Takes ownership of the pointer.
 
 tlm_gp_shared_ptr (tlm_gp_shared_ptr const &p) noexcept
 Copy constructor.
 
 tlm_gp_shared_ptr (tlm_gp_shared_ptr &&p) noexcept
 Move constructor.ยด
 
 ~tlm_gp_shared_ptr ()
 destructor
 
tlm_gp_shared_ptroperator= (tlm_gp_shared_ptr const &p) noexcept
 Copy assignment operator.
 
tlm_gp_shared_ptroperator= (tlm_gp_shared_ptr &&p) noexcept
 Move assignment operator.
 
tlm_gp_shared_ptroperator= (tlm::tlm_generic_payload *p) noexcept
 raw pointer assignment operator.
 
tlm::tlm_generic_payload & operator* () const noexcept
 Dereference the stored pointer.
 
tlm::tlm_generic_payload * operator-> () const noexcept
 Return the stored pointer.
 
tlm::tlm_generic_payload * get () const noexcept
 Return the stored pointer.
 
 operator bool () const noexcept
 

Detailed Description

Definition at line 27 of file tlm_gp_shared.h.


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