The MamaSymbolMap class provides the ability for MAMA to do client side symbology mapping. More...
#include <MamaSymbolMap.h>
Public Member Functions | |
virtual | ~MamaSymbolMap (void) |
virtual bool | map (char *result, const char *symbol, size_t maxLen) const =0 |
Map a symbol. | |
virtual bool | revMap (char *result, const char *symbol, size_t maxLen) const =0 |
Map a feed side symbol. |
The MamaSymbolMap class provides the ability for MAMA to do client side symbology mapping.
Subclasses of this class can provide custom symbology mapping. A MamaSymbolMap can be assigned to each MamaTransport.
|
virtual |
|
pure virtual |
Map a symbol.
The result is the feed side symbol used to actually subscribe to in the infrastructure. The return value indicates whether or not a symbology mapping existed for the given symbol (True = yes, False = No).
Implemented in Wombat::MamaSymbolMapFile.
|
pure virtual |
Map a feed side symbol.
This is reverse of the natural mapping schema and the result in this case is the corresponding client side symbol. The return value indicates whether or not a symbology mapping existed for the given symbol (True = yes, False = No).
Implemented in Wombat::MamaSymbolMapFile.