OpenMAMA
MamdaBasicEvent.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 MamdaBasicEventH
23 #define MamdaBasicEventH
24 
25 #include <mamda/MamdaConfig.h>
26 #include <mamda/MamdaFieldState.h>
27 #include <mama/mamacpp.h>
28 
29 namespace Wombat
30 {
31 
46  class MAMDAExpDLL MamdaBasicEvent
47  {
48  public:
49 
57  virtual const char* getSymbol() const = 0;
58 
64  virtual MamdaFieldState getSymbolFieldState() const = 0;
65 
73  virtual const char* getPartId() const = 0;
74 
80  virtual MamdaFieldState getPartIdFieldState() const = 0;
81 
88  virtual mama_seqnum_t getEventSeqNum() const = 0;
89 
94  virtual MamdaFieldState getEventSeqNumFieldState() const = 0;
95 
104  virtual const MamaDateTime& getEventTime() const = 0;
105 
111  virtual MamdaFieldState getEventTimeFieldState() const = 0;
112 
121  virtual const MamaDateTime& getSrcTime() const = 0;
122 
128  virtual MamdaFieldState getSrcTimeFieldState() const = 0;
129 
136  virtual const MamaDateTime& getActivityTime() const = 0;
137 
143  virtual MamdaFieldState getActivityTimeFieldState() const = 0;
144 
156  virtual const MamaDateTime& getLineTime() const = 0;
157 
163  virtual MamdaFieldState getLineTimeFieldState() const = 0;
164 
177  virtual const MamaDateTime& getSendTime() const = 0;
178 
184  virtual MamdaFieldState getSendTimeFieldState() const = 0;
185 
192  virtual const MamaMsgQual& getMsgQual() const = 0;
193 
200  virtual MamdaFieldState getMsgQualFieldState() const = 0;
201 
205  virtual ~MamdaBasicEvent () {};
206  };
207 
208 } // namespace
209 
210 #endif // MamdaBasicEventH
virtual ~MamdaBasicEvent()
Destructor.
Definition: MamdaBasicEvent.h:205
MamdaOrderImbalanceUpdate is an interface that provides access to order imbalance related fields...
Definition: MamdaAuctionFields.h:29
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