OnixS Thomson Reuters Matching API (MAPI) Market Data Handler for C++  1.6.0.0
Public Member Functions | Protected Member Functions | List of all members
SymbolListener Class Referenceabstract

Defines an interface through which the Handler notifies subscribers about changes in Symbol List. More...

Public Member Functions

virtual void onSymbolAdded (const Symbol &symbol)=0
 Implement this member to get notified about added symbols.
 
virtual void onSymbolUpdated (const Symbol &symbol)=0
 Implement this member to get notified about updated symbols.
 
virtual void onSymbolRemoved (const Symbol &symbol)=0
 Implement this member to get notified about removed symbols.
 

Protected Member Functions

virtual ~SymbolListener ()
 Class provides an interface for handling symbol list updates. More...
 

Detailed Description

Defines an interface through which the Handler notifies subscribers about changes in Symbol List.

Constructor & Destructor Documentation

virtual ~SymbolListener ( )
inlineprotectedvirtual

Class provides an interface for handling symbol list updates.

It doesn't provide an interface for instance deletion. However, since C++ doesn't have pure interface concept, destructor will be generated anyway. We can only control proper use of it. For this reason we hide from public use and make it available for descendants.