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

ProbeListener base class; again used to simplify use of ProbePoints in containers and used as to define interface for adding removing listeners to the ProbePoint. More...

#include <probe.hh>

Public Member Functions

 ProbePoint (ProbeManager *manager, const std::string &name)
 
virtual ~ProbePoint ()
 
virtual void addListener (ProbeListener *listener)=0
 
virtual void removeListener (ProbeListener *listener)=0
 
std::string getName () const
 

Protected Attributes

const std::string name
 

Detailed Description

ProbeListener base class; again used to simplify use of ProbePoints in containers and used as to define interface for adding removing listeners to the ProbePoint.

Definition at line 146 of file probe.hh.

Constructor & Destructor Documentation

◆ ProbePoint()

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

Definition at line 49 of file probe.cc.

References gem5::ProbeManager::addPoint().

◆ ~ProbePoint()

virtual gem5::ProbePoint::~ProbePoint ( )
inlinevirtual

Definition at line 152 of file probe.hh.

Member Function Documentation

◆ addListener()

virtual void gem5::ProbePoint::addListener ( ProbeListener listener)
pure virtual

◆ getName()

std::string gem5::ProbePoint::getName ( ) const
inline

Definition at line 156 of file probe.hh.

References name.

Referenced by gem5::ProbeManager::addPoint().

◆ removeListener()

virtual void gem5::ProbePoint::removeListener ( ProbeListener listener)
pure virtual

Member Data Documentation

◆ name

const std::string gem5::ProbePoint::name
protected

Definition at line 149 of file probe.hh.

Referenced by getName().


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