gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
ProbeListener Class Reference

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

#include <probe.hh>

Inheritance diagram for ProbeListener:
ProbeListenerArgBase< Arg > ProbeListenerArgBase< Addr > ProbeListenerArgBase< BaseCache::DataUpdate > ProbeListenerArgBase< bool > ProbeListenerArgBase< DataUpdate > ProbeListenerArgBase< DynInstPtr > ProbeListenerArgBase< Packet > ProbeListenerArgBase< PacketPtr > ProbeListenerArgBase< ProbePoints::PacketInfo > ProbeListenerArgBase< RequestPtr > ProbeListenerArgBase< std::pair > ProbeListenerArgBase< std::pair< DynInstPtr, Packet > > ProbeListenerArgBase< std::pair< SimpleThread *, const RefCountingPtr > > ProbeListenerArgBase< Temperature > 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 117 of file probe.hh.

Constructor & Destructor Documentation

◆ ProbeListener() [1/3]

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

Definition at line 66 of file probe.cc.

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

◆ ~ProbeListener()

ProbeListener::~ProbeListener ( )
virtual

Definition at line 72 of file probe.cc.

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

◆ ProbeListener() [2/3]

ProbeListener::ProbeListener ( const ProbeListener other)
delete

◆ ProbeListener() [3/3]

ProbeListener::ProbeListener ( ProbeListener &&  other)
deletenoexcept

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ manager

ProbeManager* const ProbeListener::manager
protected

Definition at line 128 of file probe.hh.

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

◆ name

const std::string ProbeListener::name
protected

Definition at line 129 of file probe.hh.

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


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

Generated on Tue Mar 23 2021 19:41:39 for gem5 by doxygen 1.8.17