#include <MamaSourceDerivative.h>
Inherits from Wombat::MamaSource, Wombat::MamaSourceManager
Name | |
---|---|
MamaSourceDerivative(const MamaSource * baseSource) | |
virtual | ~MamaSourceDerivative() |
virtual void | setQuality(mamaQuality quality) |
virtual void | setState(mamaSourceState state) |
virtual mamaQuality | getQuality() const |
virtual mamaSourceState | getState() const |
virtual MamaSourceDerivative * | find(const char * sourceName) |
virtual const MamaSourceDerivative * | find(const char * sourceName) const |
const MamaSource * | getBaseSource() const |
Public Functions inherited from Wombat::MamaSource
Name | |
---|---|
MamaSource() | |
MamaSource(const char * id, const char * transportName, const char * subscSourceName, mamaBridge bridge, bool createTransport =true) | |
MamaSource(const char * id, MamaTransport * transport, const char * subscSourceName) | |
virtual | ~MamaSource() |
void | setId(const char * id) |
void | setMappedId(const char * id) |
void | setDisplayId(const char * id) |
void | setParent(MamaSource * parent) |
void | setTransport(MamaTransport * transport) |
void | setTransportName(const char * transportName) |
void | setPublisherSourceName(const char * sourceName) |
virtual const char * | getId() const |
virtual const char * | getMappedId() const |
virtual const char * | getDisplayId() const |
virtual MamaSource * | getParent() |
virtual const MamaSource * | getParent() const |
virtual MamaTransport * | getTransport() const |
virtual const char * | getTransportName() const |
virtual const char * | getPublisherSourceName() const |
mamaSource | getCValue() |
const mamaSource | getCValue() const |
bool | isPartOf(const MamaSource * source) const |
void | addSubscription(const char * symbol, MamaSubscription * sub) |
MamaSubscription * | findSubscription(const char * symbol) |
MamaSubscription * | removeSubscription(const char * symbol) |
void | deactivateSubscriptions() |
void | activateSubscriptions() |
void | forEachSubscription(MamaSubscriptionIteratorCallback * callback, void * closure) |
Public Classes inherited from Wombat::MamaSourceManager
Name | |
---|---|
class | iterator |
Public Types inherited from Wombat::MamaSourceManager
Name | |
---|---|
typedef const iterator | const_iterator |
Public Functions inherited from Wombat::MamaSourceManager
Name | |
---|---|
MamaSourceManager() | |
virtual | ~MamaSourceManager() |
virtual MamaSource * | create(const char * sourceName) |
virtual MamaSource * | findOrCreate(const char * sourceName) |
virtual void | add(MamaSource * source) |
virtual void | add(const char * sourceName, MamaSource * source) |
mama_size_t | size() const |
iterator | begin() |
const_iterator | begin() const |
iterator | end() |
const_iterator | end() const |
mamaSourceManager | getCValue() |
const mamaSourceManager | getCValue() const |
class Wombat::MamaSourceDerivative;
A MamaSourceDerivative provides a reference to a common MamaSource object but can have attributes (such as the quality state) overridden. This class is intended to be associated with individually subscribed items, including order books.
MamaSourceDerivative(
const MamaSource * baseSource
)
Construct an instance of a derived MAMA source. The resulting source derivative will have derived sub-sources for each of the sub-sources in baseSource.
virtual ~MamaSourceDerivative()
virtual void setQuality(
mamaQuality quality
)
virtual void setState(
mamaSourceState state
)
virtual mamaQuality getQuality() const
Reimplements: Wombat::MamaSource::getQuality
virtual mamaSourceState getState() const
Reimplements: Wombat::MamaSource::getState
virtual MamaSourceDerivative * find(
const char * sourceName
)
Reimplements: Wombat::MamaSourceManager::find
virtual const MamaSourceDerivative * find(
const char * sourceName
) const
Reimplements: Wombat::MamaSourceManager::find
inline const MamaSource * getBaseSource() const
Updated on 2023-03-31 at 15:29:25 +0100