OpenMAMA
MamdaOrderBookConcreteSimpleDelta.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 MamdaOrderBookConcreteSimpleDeltaH
23 #define MamdaOrderBookConcreteSimpleDeltaH
24 
27 
28 namespace Wombat
29 {
30 
38  {
39  public:
42 
43  /*
44  * The following methods are inherited from MamdaBasicEvent.
45  */
46  virtual const char* getSymbol() const;
47  virtual const char* getPartId() const;
48  virtual mama_seqnum_t getEventSeqNum() const;
49  virtual const MamaDateTime& getEventTime() const;
50  virtual const MamaDateTime& getSrcTime() const;
51  virtual const MamaDateTime& getActivityTime() const;
52  virtual const MamaDateTime& getLineTime() const;
53  virtual const MamaDateTime& getSendTime() const;
54  virtual const MamaMsgQual& getMsgQual() const;
55 
56  virtual MamdaFieldState getSymbolFieldState() const;
57  virtual MamdaFieldState getPartIdFieldState() const;
58  virtual MamdaFieldState getEventSeqNumFieldState() const;
59  virtual MamdaFieldState getEventTimeFieldState() const;
60  virtual MamdaFieldState getSrcTimeFieldState() const;
61  virtual MamdaFieldState getActivityTimeFieldState() const;
62  virtual MamdaFieldState getLineTimeFieldState() const;
63  virtual MamdaFieldState getSendTimeFieldState() const;
64  virtual MamdaFieldState getMsgQualFieldState() const;
65 
66  /*
67  * The following methods set the data for the MamdaBasicEvent.
68  */
69  virtual void setSymbol (const char* value);
70  virtual void setPartId (const char* value);
71  virtual void setEventSeqNum (mama_seqnum_t value);
72  virtual void setEventTime (const MamaDateTime& value);
73  virtual void setSrcTime (const MamaDateTime& value);
74  virtual void setActivityTime (const MamaDateTime& value);
75  virtual void setLineTime (const MamaDateTime& value);
76  virtual void setSendTime (const MamaDateTime& value);
77  virtual void setMsgQual (const MamaMsgQual& value);
78 
79  private:
80  struct OrderBookConcreteSimpleDeltaImpl;
81  OrderBookConcreteSimpleDeltaImpl& mImpl;
82 
87  };
88 
89 } // namespace
90 
91 #endif // MamdaOrderBookConcreteSimpleDeltaH
MamdaOrderImbalanceUpdate is an interface that provides access to order imbalance related fields...
Definition: MamdaAuctionFields.h:29
MamdaOrderBookConcreteSimpleDelta is a class that saves information about a simple order book delta...
Definition: MamdaOrderBookConcreteSimpleDelta.h:37
MamdaOrderBookSimpleDelta is a class that saves information about a simple order book delta...
Definition: MamdaOrderBookSimpleDelta.h:38
MamdaFieldState
An enumeration representing field state.
Definition: MamdaFieldState.h:37


© 2012 Linux Foundation