gem5  v20.1.0.0
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< bool > ProbeListenerArgBase< double > 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< uint64_t >

Public Member Functions

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

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()

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

Definition at line 65 of file probe.cc.

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

◆ ~ProbeListener()

ProbeListener::~ProbeListener ( )
virtual

Definition at line 71 of file probe.cc.

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

Member Data Documentation

◆ manager

ProbeManager* const ProbeListener::manager
protected

Definition at line 124 of file probe.hh.

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

◆ name

const std::string ProbeListener::name
protected

Definition at line 125 of file probe.hh.

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


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

Generated on Wed Sep 30 2020 14:02:29 for gem5 by doxygen 1.8.17