Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
transaction_reader.h
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
*
4
* Copyright (C) 2008-2009 Sun Microsystems, Inc.
5
*
6
* Authors:
7
*
8
* Jay Pipes <joinfu@sun.com>
9
*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; version 2 of the License.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
*/
23
24
#pragma once
25
26
#include <drizzled/plugin/plugin.h>
27
#include <drizzled/replication_services.h>
/* For global transaction ID typedef */
28
29
#include <
drizzled/visibility.h
>
30
37
namespace
drizzled {
38
namespace
plugin {
39
43
class
DRIZZLED_API
TransactionReader
:
public
Plugin
44
{
45
public
:
46
explicit
TransactionReader
(std::string name_arg)
47
:
Plugin
(name_arg,
"TransactionReader"
) {}
61
virtual
bool
read(
const
ReplicationServices::GlobalTransactionId &to_read,
62
message::Transaction
*to_fill)= 0;
63
};
64
65
}
/* end namespace plugin */
66
}
/* end namespace drizzled */
67
drizzled::plugin::TransactionReader
Definition:
transaction_reader.h:43
drizzled::message::Transaction
Definition:
transaction.pb.h:2444
drizzled::plugin::Plugin
Definition:
plugin.h:34
DRIZZLED_API
#define DRIZZLED_API
Definition:
visibility.h:62
visibility.h
Visibility Control Macros.
drizzled
plugin
transaction_reader.h
Generated on Fri May 23 2014 13:09:14 for drizzle by
1.8.7