OpenMAMA C++ API
Wombat::MamaSymbolSourceCallback Class Referenceabstract

The MamaSymbolSourceCallback interface. More...

#include <MamaSymbolSourceCallback.h>

Public Member Functions

virtual ~MamaSymbolSourceCallback ()
 
virtual void onSymbol (MamaSymbolSource *symbolSource, const char *symbol, void *closure)=0
 Method invoked when a symbol arrives at a symbol source. More...
 

Detailed Description

The MamaSymbolSourceCallback interface.

The single callback function "onSymbol" gets invoked when a symbol arrives at a symbol source.

Constructor & Destructor Documentation

§ ~MamaSymbolSourceCallback()

virtual Wombat::MamaSymbolSourceCallback::~MamaSymbolSourceCallback ( )
inlinevirtual

Member Function Documentation

§ onSymbol()

virtual void Wombat::MamaSymbolSourceCallback::onSymbol ( MamaSymbolSource symbolSource,
const char *  symbol,
void *  closure 
)
pure virtual

Method invoked when a symbol arrives at a symbol source.

Parameters
symbolSourceThe symbolSource.
symbolThe newly sourced symbol
closureThe closure associated with the symbol source.