scc 2025.09
SystemC components library
tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL > Struct Template Reference

Definition of the tlm_network_target_socket class. More...

#include <tlm_network_sockets.h>

Inheritance diagram for tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >:
Collaboration diagram for tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >:

Public Types

using protocol_types = TYPES
using transaction_type = typename TYPES::tlm_payload_type
using phase_type = typename TYPES::tlm_phase_type

Public Member Functions

 tlm_network_target_socket ()
 Constructor with default name.
 tlm_network_target_socket (const char *name)
 Constructor with name.
virtual ~tlm_network_target_socket ()=default
virtual const char * kind () const
virtual type_index get_protocol_types () const

Detailed Description

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
struct tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >

Definition of the tlm_network_target_socket class.

This socket is used to accept transactions from an initiator.

Definition at line 139 of file tlm_network_sockets.h.

Member Typedef Documentation

◆ phase_type

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
using tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::phase_type = typename TYPES::tlm_phase_type

Definition at line 144 of file tlm_network_sockets.h.

◆ protocol_types

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
using tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::protocol_types = TYPES

Definition at line 142 of file tlm_network_sockets.h.

◆ transaction_type

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
using tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::transaction_type = typename TYPES::tlm_payload_type

Definition at line 143 of file tlm_network_sockets.h.

Constructor & Destructor Documentation

◆ tlm_network_target_socket() [1/2]

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::tlm_network_target_socket ( )
inline

Constructor with default name.

Initializes the tlm_network_target_socket object with a default name.

Definition at line 150 of file tlm_network_sockets.h.

◆ tlm_network_target_socket() [2/2]

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::tlm_network_target_socket ( const char * name)
inlineexplicit

Constructor with name.

Initializes the tlm_network_target_socket object with a default name.

Definition at line 157 of file tlm_network_sockets.h.

◆ ~tlm_network_target_socket()

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::~tlm_network_target_socket ( )
virtualdefault

virtual destructor of the tlm_network_target_socket.

Member Function Documentation

◆ get_protocol_types()

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual type_index tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::get_protocol_types ( ) const
inlinevirtual

Returns the type index of the protocol types associated with this socket.

Definition at line 170 of file tlm_network_sockets.h.

◆ kind()

template<unsigned PHITWIDTH, typename CMDENUM, typename TYPES = tlm_network_baseprotocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
virtual const char * tlm::nw::tlm_network_target_socket< PHITWIDTH, CMDENUM, TYPES, N, POL >::kind ( ) const
inlinevirtual

Provides the kind() method to retrieve the socket's kind as string.

Definition at line 166 of file tlm_network_sockets.h.


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