C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
MTL::InstrumentCatalogInterface::CObserver< DataType > Class Template Reference

#include <CatalogInterface.h>

Inheritance diagram for MTL::InstrumentCatalogInterface::CObserver< DataType >:
Collaboration diagram for MTL::InstrumentCatalogInterface::CObserver< DataType >:

Public Member Functions

 CObserver (CVariable< DataType > &rVariable)
virtual ~CObserver ()
void Subscribe (CObserverNotifier_untyped &rNotifier)
void Unsubscribe (CObserverNotifier_untyped &rNotifier)
DataType ReadCurrent (void)
DataType operator() ()
void rReadCurrent (DataType &rReturnedValue)
void * Copy (void)
void Delete (void *const pAllocatedData)
Public Member Functions inherited from MTL::InstrumentCatalogInterface::CObserver_untyped
virtual ~CObserver_untyped ()
bool Is (const CObserver_untyped &rObs)
bool Is (const CObserver_untyped *pObs)

Protected Attributes

CVariable< DataType > & m_rVariable

Detailed Description

template<class DataType>
class MTL::InstrumentCatalogInterface::CObserver< DataType >

Definition at line 83 of file CatalogInterface.h.

Constructor & Destructor Documentation

◆ CObserver()

template<class DataType>
MTL::InstrumentCatalogInterface::CObserver< DataType >::CObserver ( CVariable< DataType > & rVariable)
inline

Definition at line 89 of file CatalogInterface.h.

◆ ~CObserver()

template<class DataType>
virtual MTL::InstrumentCatalogInterface::CObserver< DataType >::~CObserver ( )
inlinevirtual

Definition at line 91 of file CatalogInterface.h.

Member Function Documentation

◆ Copy()

template<class DataType>
void * MTL::InstrumentCatalogInterface::CObserver< DataType >::Copy ( void )
inlinevirtual

◆ Delete()

template<class DataType>
void MTL::InstrumentCatalogInterface::CObserver< DataType >::Delete ( void *const pAllocatedData)
inlinevirtual

◆ operator()()

template<class DataType>
DataType MTL::InstrumentCatalogInterface::CObserver< DataType >::operator() ( )
inline

Definition at line 109 of file CatalogInterface.h.

◆ ReadCurrent()

template<class DataType>
DataType MTL::InstrumentCatalogInterface::CObserver< DataType >::ReadCurrent ( void )
inline

Definition at line 105 of file CatalogInterface.h.

◆ rReadCurrent()

template<class DataType>
void MTL::InstrumentCatalogInterface::CObserver< DataType >::rReadCurrent ( DataType & rReturnedValue)
inline

Definition at line 113 of file CatalogInterface.h.

◆ Subscribe()

template<class DataType>
void MTL::InstrumentCatalogInterface::CObserver< DataType >::Subscribe ( CObserverNotifier_untyped & rNotifier)
inline

Definition at line 95 of file CatalogInterface.h.

◆ Unsubscribe()

template<class DataType>
void MTL::InstrumentCatalogInterface::CObserver< DataType >::Unsubscribe ( CObserverNotifier_untyped & rNotifier)
inline

Definition at line 99 of file CatalogInterface.h.

Member Data Documentation

◆ m_rVariable

template<class DataType>
CVariable<DataType>& MTL::InstrumentCatalogInterface::CObserver< DataType >::m_rVariable
protected

Definition at line 86 of file CatalogInterface.h.


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