MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EnableCom.hpp
1 /* Copyright (C) 2008 MySQL AB
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation; version 2 of the License.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  GNU General Public License for more details.
11 
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software
14  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
15 
16 #ifndef ENABLE_COM_H
17 #define ENABLE_COM_H
18 
19 #include "SignalData.hpp"
20 
21 class EnableComReq {
22  friend class Qmgr;
23  friend class Cmvmi;
24 
25 public:
26  STATIC_CONST( SignalLength = 2 + NodeBitmask::Size );
27 private:
28 
29  Uint32 m_senderRef;
30  Uint32 m_senderData;
31  Uint32 m_nodeIds[NodeBitmask::Size];
32 };
33 
35  friend class Qmgr;
36  friend class Cmvmi;
37 
38 public:
39  STATIC_CONST( SignalLength = 2 + NodeBitmask::Size );
40 private:
41 
42  Uint32 m_senderRef;
43  Uint32 m_senderData;
44  Uint32 m_nodeIds[NodeBitmask::Size];
45 };
46 
47 #endif