OpenMAMA C++ API
MamaSymbolListMember.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 MAMA_SYMBOL_LIST_MEMBER_CPP_H__
23 #define MAMA_SYMBOL_LIST_MEMBER_CPP_H__
24 
25 #include <mama/mamacpp.h>
26 #include <mama/symbollisttypes.h>
27 
28 
29 namespace Wombat
30 {
31  class MamaSymbolList;
32 
39  class MAMACPPExpDLL MamaSymbolListMember
40  {
41  public:
46 
51  MamaSymbolListMember( MamaSymbolList* list, mamaSymbolListMember cMember);
52 
53  virtual ~MamaSymbolListMember();
54 
58  const char* getSymbol () const;
59 
63  const char* getSource () const;
64 
68  MamaTransport* getTransport () const;
69 
73  MamaSymbolList* getSymbolList () const;
74 
78  void* getClosure () const;
79 
83  void setClosure (void* closure);
84 
88  void setSymbol (const char* symbol);
89 
93  void setSource (const char* source);
94 
98  void setTransport (MamaTransport* transport);
99 
103  void setSymbolList (MamaSymbolList* symbolList);
104 
105  protected:
106  friend class MamaSymbolList;
110  mamaSymbolListMember getCimpl();
111 
112  private:
113  struct MamaSymbolListMemberImpl;
114  MamaSymbolListMemberImpl* myPimpl;
115  };
116 
117 } // namespace Wombat
118 
119 #endif // MAMA_SYMBOL_LIST_MEMBER_CPP_H__
Definition: MamaConnection.h:29
The MamaSymbolListMember class represents the information about the symbol list member.
Definition: MamaSymbolListMember.h:39
MamaSymbolList manages a list of MAMA symbols and related attributes.
Definition: MamaSymbolList.h:41
The MamaTransport class provides market data functionality.
Definition: MamaTransport.h:261