OpenMAMA
MamdaTradeCancelOrError.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 MamdaTradeCancelOrErrorH
23 #define MamdaTradeCancelOrErrorH
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 MamdaTradeCancelOrError : public MamdaBasicEvent
38  {
39  public:
46  virtual bool getIsCancel() const = 0;
47 
53  virtual mama_seqnum_t getOrigSeqNum() const = 0;
54 
60  virtual MamdaFieldState getOrigSeqNumFieldState() const = 0;
61 
67  virtual const MamaPrice& getOrigPrice() const = 0;
68 
74  virtual MamdaFieldState getOrigPriceFieldState() const = 0;
75 
81  virtual mama_quantity_t getOrigVolume() const = 0;
82 
88  virtual MamdaFieldState getOrigVolumeFieldState() const = 0;
89 
95  virtual const char* getOrigPartId() const = 0;
96 
102  virtual MamdaFieldState getOrigPartIdFieldState() const = 0;
103 
110  virtual const char* getOrigQual() const = 0;
111 
117  virtual MamdaFieldState getOrigQualFieldState() const = 0;
118 
126  virtual const char* getOrigQualNative() const = 0;
127 
133  virtual MamdaFieldState getOrigQualNativeFieldState() const = 0;
134 
142  virtual mama_u32_t getOrigSellersSaleDays() const = 0;
143 
149  virtual MamdaFieldState getOrigSellersSaleDaysFieldState() const = 0;
150 
159  virtual char getOrigStopStock() const = 0;
160 
166  virtual MamdaFieldState getOrigStopStockFieldState() const = 0;
167 
396  virtual const char* getTradeQual() const = 0;
397 
402  virtual MamdaFieldState getTradeQualFieldState() const = 0;
403 
410  virtual bool getIsIrregular() const = 0;
411 
416  virtual MamdaFieldState getIsIrregularFieldState() const = 0;
417 
418  // Used by some feeds to indicate that a cancel or correction was for an unknown trade
419  virtual bool getGenericFlag() const = 0;
420  virtual MamdaFieldState getGenericFlagFieldState() const = 0;
421 
426  virtual const char* getOrigTradeId() const = 0;
427  virtual MamdaFieldState getOrigTradeIdFieldState() const = 0;
428 
441  virtual char getOrigShortSaleCircuitBreaker() const = 0;
442 
446  virtual MamdaFieldState getOrigShortSaleCircuitBreakerFieldState() const = 0;
447 
449  };
450 
451 
452 } // namespace
453 
454 #endif // MamdaTradeCancelOrErrorH
MamdaTradeCancelOrError is an interface that provides access to trade cancellation related fields...
Definition: MamdaTradeCancelOrError.h:37
MamdaOrderImbalanceUpdate is an interface that provides access to order imbalance related fields...
Definition: MamdaAuctionFields.h:29
virtual ~MamdaTradeCancelOrError()
Definition: MamdaTradeCancelOrError.h:448
MamdaBasicEvent is a superclass interface that provides access to common event related fields...
Definition: MamdaBasicEvent.h:46
MamdaFieldState
An enumeration representing field state.
Definition: MamdaFieldState.h:37


© 2012 Linux Foundation