OpenMAMA
MamdaTradeReport.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 MamdaTradeReportH
23 #define MamdaTradeReportH
24 
25 #include <mamda/MamdaConfig.h>
26 #include <mamda/MamdaBasicEvent.h>
27 #include <mamda/MamdaFieldState.h>
28 
29 namespace Wombat
30 {
31 
40  class MAMDAExpDLL MamdaTradeReport : public MamdaBasicEvent
41  {
42  public:
43 
49  virtual const MamaPrice& getTradePrice() const = 0;
50 
56  virtual mama_quantity_t getTradeVolume() const = 0;
57 
63  virtual const char* getTradePartId() const = 0;
64 
293  virtual const char* getTradeQual() const = 0;
294 
302  virtual const char* getTradeQualNative() const = 0;
303 
319  virtual const char* getSide() const = 0;
320 
325  virtual MamdaFieldState getSideFieldState() const = 0;
326 
333  virtual mama_u32_t getTradeSellersSaleDays() const = 0;
334 
341  virtual char getTradeStopStock() const = 0;
342 
349  virtual bool getIsIrregular() const = 0;
350 
355  virtual mama_u64_t getOrderId() const = 0;
356 
361  virtual const char* getUniqueId() const = 0;
362 
367  virtual const char* getTradeAction() const = 0;
368 
373  virtual const char* getTradeId() const = 0;
374 
387  virtual char getShortSaleCircuitBreaker() const=0;
388 
389 
390  /* FieldState Accesors */
391 
396  virtual MamdaFieldState getTradePriceFieldState() const = 0;
397 
402  virtual MamdaFieldState getTradeVolumeFieldState() const = 0;
403 
408  virtual MamdaFieldState getTradePartIdFieldState() const = 0;
409 
414  virtual MamdaFieldState getTradeQualFieldState() const = 0;
415 
420  virtual MamdaFieldState getTradeQualNativeFieldState() const = 0;
421 
426  virtual MamdaFieldState getTradeSellersSaleDaysFieldState() const = 0;
427 
432  virtual MamdaFieldState getTradeStopStockFieldState() const = 0;
433 
438  virtual MamdaFieldState getIsIrregularFieldState() const = 0;
439 
444  virtual MamdaFieldState getOrderIdFieldState() const = 0;
445 
450  virtual MamdaFieldState getUniqueIdFieldState() const = 0;
451 
456  virtual MamdaFieldState getTradeActionFieldState() const = 0;
457 
462  virtual MamdaFieldState getTradeIdFieldState() const = 0;
463 
467  virtual MamdaFieldState getShortSaleCircuitBreakerFieldState() const = 0;
468 
469  virtual ~MamdaTradeReport() {};
470  };
471 
472 
473 } // namespace
474 
475 #endif // MamdaTradeReportH


© 2012 Linux Foundation