gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
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 133 of file probe.hh.

Constructor & Destructor Documentation

◆ ProbePoint()

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

Definition at line 43 of file probe.cc.

References ProbeManager::addPoint().

◆ ~ProbePoint()

virtual ProbePoint::~ProbePoint ( )
inlinevirtual

Definition at line 139 of file probe.hh.

Member Function Documentation

◆ addListener()

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

◆ getName()

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

Definition at line 143 of file probe.hh.

References name.

Referenced by ProbeManager::addPoint().

◆ removeListener()

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

Member Data Documentation

◆ name

const std::string ProbePoint::name
protected

Definition at line 136 of file probe.hh.

Referenced by getName().


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