openMSX
Public Member Functions | List of all members
openmsx::Probe< T > Class Template Referencefinal

#include <Probe.hh>

Inheritance diagram for openmsx::Probe< T >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::Probe< T >:
Collaboration graph
[legend]

Public Member Functions

 Probe (Debugger &debugger, std::string name, static_string_view description, T t)
 
Probeoperator= (const T &newValue)
 
 operator const T & () const
 
- Public Member Functions inherited from openmsx::ProbeBase
 ProbeBase (const ProbeBase &)=delete
 
 ProbeBase (ProbeBase &&)=delete
 
ProbeBaseoperator= (const ProbeBase &)=delete
 
ProbeBaseoperator= (ProbeBase &&)=delete
 
const std::string & getName () const
 
std::string_view getDescription () const
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::ProbeBase
 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

template<typename T>
class openmsx::Probe< T >

Definition at line 38 of file Probe.hh.

Constructor & Destructor Documentation

◆ Probe()

template<typename T >
openmsx::Probe< T >::Probe ( Debugger debugger,
std::string  name,
static_string_view  description,
t 
)

Definition at line 63 of file Probe.hh.

Member Function Documentation

◆ operator const T &()

template<typename T >
openmsx::Probe< T >::operator const T & ( ) const
inline

Definition at line 52 of file Probe.hh.

◆ operator=()

template<typename T >
Probe & openmsx::Probe< T >::operator= ( const T &  newValue)
inline

Definition at line 44 of file Probe.hh.

References openmsx::Subject< ProbeBase >::notify().


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