OpenMAMA
MamdaConcreteBasicEvent.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 MamdaConcreteBasicEventH
23 #define MamdaConcreteBasicEventH
24 
25 #include <mamda/MamdaConfig.h>
26 #include <mamda/MamdaBasicEvent.h>
27 
28 namespace Wombat
29 {
30 
35  class MAMDAExpDLL MamdaConcreteBasicEvent : public MamdaBasicEvent
36  {
37  public:
42 
46  virtual ~MamdaConcreteBasicEvent();
47 
48  /*
49  * The following methods are inherited from MamdaBasicEvent.
50  */
51  virtual const char* getSymbol() const;
52  virtual const char* getPartId() const;
53  virtual mama_seqnum_t getEventSeqNum() const;
54  virtual const MamaDateTime& getEventTime() const;
55  virtual const MamaDateTime& getSrcTime() const;
56  virtual const MamaDateTime& getActivityTime() const;
57  virtual const MamaDateTime& getLineTime() const;
58  virtual const MamaDateTime& getSendTime() const;
59  virtual const MamaMsgQual& getMsgQual() const;
60 
61  virtual MamdaFieldState getSymbolFieldState() const;
62  virtual MamdaFieldState getPartIdFieldState() const;
63  virtual MamdaFieldState getEventSeqNumFieldState() const;
64  virtual MamdaFieldState getEventTimeFieldState() const;
65  virtual MamdaFieldState getSrcTimeFieldState() const;
66  virtual MamdaFieldState getActivityTimeFieldState() const;
67  virtual MamdaFieldState getLineTimeFieldState() const;
68  virtual MamdaFieldState getSendTimeFieldState() const;
69  virtual MamdaFieldState getMsgQualFieldState() const;
70  /*
71  * The following methods set values for the MamdaConcreteBasicEvent.
72  */
73  virtual void setSymbol (const char* value);
74  virtual void setPartId (const char* value);
75  virtual void setEventSeqNum (mama_seqnum_t value);
76  virtual void setEventTime (const MamaDateTime& value);
77  virtual void setSrcTime (const MamaDateTime& value);
78  virtual void setActivityTime (const MamaDateTime& value);
79  virtual void setLineTime (const MamaDateTime& value);
80  virtual void setSendTime (const MamaDateTime& value);
81  virtual void setMsgQual (const MamaMsgQual& value);
82 
83  private:
84  struct ConcreteBasicEventImpl;
85  ConcreteBasicEventImpl& mImpl;
86  };
87 
88 } // namespace
89 
90 #endif // MamdaConcreteBasicEventH


© 2012 Linux Foundation