gem5  [DEVELOP-FOR-23.0]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 145 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 151 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 155 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 148 of file probe.hh.

Referenced by getName().


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

Generated on Sun Jul 30 2023 01:57:16 for gem5 by doxygen 1.8.17