gem5  v22.1.0.0
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< DataUpdate > gem5::ProbeListenerArgBase< Addr > gem5::ProbeListenerArgBase< PacketPtr > gem5::ProbeListenerArgBase< probing::PacketInfo > gem5::ProbeListenerArgBase< Temperature > gem5::ProbeListenerArgBase< uint64_t > gem5::ProbeListenerArgBase< Arg > gem5::compression::FrequentValues::FrequentValuesListener gem5::prefetch::PIF::PrefetchListenerPC gem5::prefetch::Base::PrefetchListener gem5::BaseMemProbe::PacketListener gem5::PowerModel::ThermalProbeListener gem5::ArmISA::PMU::RegularEvent::RegularProbe gem5::ProbeListenerArg< T, Arg >

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

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

◆ ~ProbeListener()

gem5::ProbeListener::~ProbeListener ( )

Definition at line 78 of file

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

◆ ProbeListener() [2/3]

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

◆ ProbeListener() [3/3]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ manager

ProbeManager* const gem5::ProbeListener::manager

Definition at line 137 of file probe.hh.

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

◆ name

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

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 Wed Dec 21 2022 10:23:30 for gem5 by doxygen 1.9.1