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, std::string description, T t)
 
Probeoperator= (const T &newValue)
 
 operator const T & () const
 
- Public Member Functions inherited from openmsx::ProbeBase
const std::string & getName () const
 
const std::string & getDescription () const
 
- Public Member Functions inherited from openmsx::Subject< ProbeBase >
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, std::string 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 31 of file Probe.hh.

Constructor & Destructor Documentation

◆ Probe()

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

Definition at line 56 of file Probe.hh.

Member Function Documentation

◆ operator const T &()

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

Definition at line 45 of file Probe.hh.

References openmsx::ProbeBase::getValue().

◆ operator=()

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

Definition at line 37 of file Probe.hh.


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