OpenMAMA
MamdaQuotePossiblyDuplicate.h
Go to the documentation of this file.
1 /* $Id$
2  *
3  * OpenMAMA: The open middleware agnostic messaging API
4  * Copyright (C) 2011 NYSE Technologies, Inc.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301 USA
20  */
21 
22 #ifndef MamdaQuotePossiblyDuplicateH
23 #define MamdaQuotePossiblyDuplicateH
24 
25 #include <mamda/MamdaConfig.h>
26 #include <mamda/MamdaBasicEvent.h>
27 #include <mamda/MamdaFieldState.h>
28 
29 namespace Wombat
30 {
31 
37  class MAMDAExpDLL MamdaQuotePossiblyDuplicate : public MamdaBasicEvent
38  {
39  public:
40 
48  virtual const MamaPrice& getBidPrice() const = 0;
49 
55  virtual MamdaFieldState getBidPriceFieldState() const = 0;
56 
63  virtual mama_quantity_t getBidSize() const = 0;
64 
70  virtual MamdaFieldState getBidSizeFieldState() const = 0;
71 
80  virtual mama_quantity_t getBidDepth() const = 0;
81 
87  virtual MamdaFieldState getBidDepthFieldState() const = 0;
88 
95  virtual const char* getBidPartId() const = 0;
96 
102  virtual MamdaFieldState getBidPartIdFieldState() const = 0;
103 
111  virtual const MamaPrice& getAskPrice() const = 0;
112 
118  virtual MamdaFieldState getAskPriceFieldState() const = 0;
119 
126  virtual mama_quantity_t getAskSize() const = 0;
127 
133  virtual MamdaFieldState getAskSizeFieldState() const = 0;
134 
143  virtual mama_quantity_t getAskDepth() const = 0;
144 
150  virtual MamdaFieldState getAskDepthFieldState() const = 0;
151 
158  virtual const char* getAskPartId() const = 0;
159 
165  virtual MamdaFieldState getAskPartIdFieldState() const = 0;
166 
174  virtual const MamaPrice& getQuoteMidPrice () const = 0;
175 
181  virtual MamdaFieldState getQuoteMidPriceFieldState() const = 0;
182 
284  virtual const char* getQuoteQualStr() const = 0;
285 
291  virtual MamdaFieldState getQuoteQualStrFieldState() const = 0;
292 
294  };
295 
296 } // namespace
297 
298 #endif // MamdaQuotePossiblyDuplicateH


© 2012 Linux Foundation