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

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

Protected Member Functions

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

Detailed Description

Definition at line 14 of file Probe.hh.

Constructor & Destructor Documentation

◆ ProbeBase() [1/3]

openmsx::ProbeBase::ProbeBase ( const ProbeBase )
delete

◆ ProbeBase() [2/3]

openmsx::ProbeBase::ProbeBase ( ProbeBase &&  )
delete

◆ ProbeBase() [3/3]

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

Definition at line 7 of file Probe.cc.

References openmsx::Debugger::registerProbe().

◆ ~ProbeBase()

openmsx::ProbeBase::~ProbeBase ( )
protected

Definition at line 16 of file Probe.cc.

References openmsx::Debugger::unregisterProbe().

Member Function Documentation

◆ getDescription()

std::string_view openmsx::ProbeBase::getDescription ( ) const
inline

Definition at line 23 of file Probe.hh.

◆ getName()

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

◆ getValue()

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

◆ operator=() [1/2]

ProbeBase & openmsx::ProbeBase::operator= ( const ProbeBase )
delete

◆ operator=() [2/2]

ProbeBase & openmsx::ProbeBase::operator= ( ProbeBase &&  )
delete

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