gem5  v20.1.0.0
Public Member Functions | List of all members
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 ProbeListenerArgBase< Arg >:
ProbeListener 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 ProbeListener
 ProbeListener (ProbeManager *manager, const std::string &name)
 
virtual ~ProbeListener ()
 

Additional Inherited Members

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

Detailed Description

template<class Arg>
class 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 198 of file probe.hh.

Constructor & Destructor Documentation

◆ ProbeListenerArgBase()

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

Definition at line 201 of file probe.hh.

Member Function Documentation

◆ notify()

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

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

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