C++ Instrument Catalog
Public Types | Public Member Functions | List of all members
MTL::InstrumentCatalogInterface::CSyncNotifier< DataType > Class Template Reference

#include <CatalogInterface.h>

Inheritance diagram for MTL::InstrumentCatalogInterface::CSyncNotifier< DataType >:
MTL::InstrumentCatalogInterface::CObserverNotifier_untyped

Public Types

typedef std::function< void(CObserver< DataType > &rObserver)> tCallback
 
- Public Types inherited from MTL::InstrumentCatalogInterface::CObserverNotifier_untyped
enum  NotifierType { kSync, kAsyncDynamic, kAsyncSnapshot }
 
typedef enum MTL::InstrumentCatalogInterface::CObserverNotifier_untyped::NotifierType tNotifierType
 

Public Member Functions

 CSyncNotifier (const tCallback &rCallB)
 
template<class Fn , class... Args>
 CSyncNotifier (Fn &&MemberCallback, Args &&... ClassObj)
 
virtual ~CSyncNotifier ()
 
void NotifyVarUpdate (CObserver_untyped &rObs)
 
- Public Member Functions inherited from MTL::InstrumentCatalogInterface::CObserverNotifier_untyped
 CObserverNotifier_untyped (tNotifierType NotifType)
 
virtual ~CObserverNotifier_untyped ()
 
bool Is (CObserverNotifier_untyped &rNot)
 
bool Is (const CObserverNotifier_untyped *pNot)
 
const tNotifierTypeType ()
 

Detailed Description

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

Definition at line 234 of file CatalogInterface.h.

Member Typedef Documentation

◆ tCallback

template<class DataType >
typedef std::function<void(CObserver<DataType> & rObserver)> MTL::InstrumentCatalogInterface::CSyncNotifier< DataType >::tCallback

Definition at line 237 of file CatalogInterface.h.

Constructor & Destructor Documentation

◆ CSyncNotifier() [1/2]

template<class DataType >
MTL::InstrumentCatalogInterface::CSyncNotifier< DataType >::CSyncNotifier ( const tCallback rCallB)
inline

Definition at line 242 of file CatalogInterface.h.

◆ CSyncNotifier() [2/2]

template<class DataType >
template<class Fn , class... Args>
MTL::InstrumentCatalogInterface::CSyncNotifier< DataType >::CSyncNotifier ( Fn &&  MemberCallback,
Args &&...  ClassObj 
)
inline

Definition at line 247 of file CatalogInterface.h.

◆ ~CSyncNotifier()

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

Definition at line 250 of file CatalogInterface.h.

Member Function Documentation

◆ NotifyVarUpdate()

template<class DataType >
void MTL::InstrumentCatalogInterface::CSyncNotifier< DataType >::NotifyVarUpdate ( CObserver_untyped rObs)
inlinevirtual

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