gem5  v21.1.0.2
Public Member Functions | Protected Attributes | List of all members
gem5::ProbeListener Class Reference

ProbeListener base class; here to simplify things like containers containing multiple types of ProbeListener. More...

#include <probe.hh>

Inheritance diagram for gem5::ProbeListener:
gem5::ProbeListenerArgBase< Arg > gem5::ProbeListenerArgBase< Addr > gem5::ProbeListenerArgBase< bool > gem5::ProbeListenerArgBase< DataUpdate > gem5::ProbeListenerArgBase< gem5::BaseCache::DataUpdate > gem5::ProbeListenerArgBase< gem5::Packet > gem5::ProbeListenerArgBase< gem5::RefCountingPtr > gem5::ProbeListenerArgBase< gem5::Temperature > gem5::ProbeListenerArgBase< PacketPtr > gem5::ProbeListenerArgBase< probing::PacketInfo > gem5::ProbeListenerArgBase< RequestPtr > gem5::ProbeListenerArgBase< std::pair > gem5::ProbeListenerArgBase< std::pair< gem5::RefCountingPtr, gem5::Packet > > gem5::ProbeListenerArgBase< std::pair< gem5::SimpleThread *, const gem5::RefCountingPtr > > gem5::ProbeListenerArgBase< Temperature > gem5::ProbeListenerArgBase< uint64_t >

Public Member Functions

 ProbeListener (ProbeManager *manager, const std::string &name)
 
virtual ~ProbeListener ()
 
 ProbeListener (const ProbeListener &other)=delete
 
ProbeListeneroperator= (const ProbeListener &other)=delete
 
 ProbeListener (ProbeListener &&other) noexcept=delete
 
ProbeListeneroperator= (ProbeListener &&other) noexcept=delete
 

Protected Attributes

ProbeManager *const manager
 
const std::string name
 

Detailed Description

ProbeListener base class; here to simplify things like containers containing multiple types of ProbeListener.

Note a ProbeListener is added to the ProbePoint in constructor by using the ProbeManager passed in.

Definition at line 126 of file probe.hh.

Constructor & Destructor Documentation

◆ ProbeListener() [1/3]

gem5::ProbeListener::ProbeListener ( ProbeManager manager,
const std::string &  name 
)

Definition at line 72 of file probe.cc.

References gem5::ProbeManager::addListener(), manager, and name.

◆ ~ProbeListener()

gem5::ProbeListener::~ProbeListener ( )
virtual

Definition at line 78 of file probe.cc.

References manager, name, and gem5::ProbeManager::removeListener().

◆ ProbeListener() [2/3]

gem5::ProbeListener::ProbeListener ( const ProbeListener other)
delete

◆ ProbeListener() [3/3]

gem5::ProbeListener::ProbeListener ( ProbeListener &&  other)
deletenoexcept

Member Function Documentation

◆ operator=() [1/2]

ProbeListener& gem5::ProbeListener::operator= ( const ProbeListener other)
delete

◆ operator=() [2/2]

ProbeListener& gem5::ProbeListener::operator= ( ProbeListener &&  other)
deletenoexcept

Member Data Documentation

◆ manager

ProbeManager* const gem5::ProbeListener::manager
protected

Definition at line 137 of file probe.hh.

Referenced by ProbeListener(), and ~ProbeListener().

◆ name

const std::string gem5::ProbeListener::name
protected

Definition at line 138 of file probe.hh.

Referenced by ProbeListener(), and ~ProbeListener().


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

Generated on Tue Sep 21 2021 12:27:59 for gem5 by doxygen 1.8.17