gem5  v21.1.0.2
Public Member Functions | List of all members
gem5::ProbeListenerArgBase< Arg > Class Template Referenceabstract

ProbeListenerArgBase is used to define the base interface to a ProbeListenerArg (i.e the notify method on specific type). More...

#include <probe.hh>

Inheritance diagram for gem5::ProbeListenerArgBase< Arg >:
gem5::ProbeListener gem5::ProbeListenerArg< T, Arg >

Public Member Functions

 ProbeListenerArgBase (ProbeManager *pm, const std::string &name)
 
virtual void notify (const Arg &val)=0
 
- Public Member Functions inherited from gem5::ProbeListener
 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
 

Additional Inherited Members

- Protected Attributes inherited from gem5::ProbeListener
ProbeManager *const manager
 
const std::string name
 

Detailed Description

template<class Arg>
class gem5::ProbeListenerArgBase< Arg >

ProbeListenerArgBase is used to define the base interface to a ProbeListenerArg (i.e the notify method on specific type).

It is necessary to split this out from ProbeListenerArg, as that templates off the class containing the function that notify calls.

Definition at line 211 of file probe.hh.

Constructor & Destructor Documentation

◆ ProbeListenerArgBase()

template<class Arg >
gem5::ProbeListenerArgBase< Arg >::ProbeListenerArgBase ( ProbeManager pm,
const std::string &  name 
)
inline

Definition at line 214 of file probe.hh.

Member Function Documentation

◆ notify()

template<class Arg >
virtual void gem5::ProbeListenerArgBase< Arg >::notify ( const Arg &  val)
pure virtual

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

Generated on Tue Sep 21 2021 12:27:59 for gem5 by doxygen 1.8.17