openMSX
Public Member Functions | Protected Member Functions | List of all members
openmsx::ProbeBase Class Referenceabstract

#include <Probe.hh>

Inheritance diagram for openmsx::ProbeBase:
Inheritance graph
[legend]
Collaboration diagram for openmsx::ProbeBase:
Collaboration graph
[legend]

Public Member Functions

const std::string & getName () const
 
const std::string & getDescription () const
 
virtual std::string getValue () const =0
 
- Public Member Functions inherited from openmsx::Subject< ProbeBase >
void attach (Observer< ProbeBase > &observer)
 
void detach (Observer< ProbeBase > &observer)
 
bool anyObservers () const
 

Protected Member Functions

 ProbeBase (Debugger &debugger, std::string name, std::string description)
 
 ~ProbeBase ()
 
- Protected Member Functions inherited from openmsx::Subject< ProbeBase >
 Subject ()=default
 
 ~Subject ()
 
void notify () const
 

Detailed Description

Definition at line 12 of file Probe.hh.

Constructor & Destructor Documentation

◆ ProbeBase()

openmsx::ProbeBase::ProbeBase ( Debugger debugger,
std::string  name,
std::string  description 
)
protected

Definition at line 6 of file Probe.cc.

References openmsx::Debugger::registerProbe().

Referenced by getDescription().

◆ ~ProbeBase()

openmsx::ProbeBase::~ProbeBase ( )
protected

Definition at line 15 of file Probe.cc.

References openmsx::Debugger::unregisterProbe().

Referenced by getDescription().

Member Function Documentation

◆ getDescription()

const std::string& openmsx::ProbeBase::getDescription ( ) const
inline

Definition at line 16 of file Probe.hh.

References getValue(), ProbeBase(), and ~ProbeBase().

◆ getName()

const std::string& openmsx::ProbeBase::getName ( ) const
inline

◆ getValue()

virtual std::string openmsx::ProbeBase::getValue ( ) const
pure virtual

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