Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
state_history_plugin.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
appbase/application.hpp
>
3
4
#include <
sysio/chain_plugin/chain_plugin.hpp
>
5
#include <
sysio/state_history/types.hpp
>
6
7
namespace
fc
{
8
class
variant;
9
}
10
11
namespace
sysio
{
12
using
chain::bytes
;
13
using
std::shared_ptr;
14
15
typedef
shared_ptr<struct state_history_plugin_impl>
state_history_ptr
;
16
17
class
state_history_plugin
:
public
plugin
<state_history_plugin> {
18
public
:
19
APPBASE_PLUGIN_REQUIRES
((
chain_plugin
))
20
21
state_history_plugin
();
22
virtual
~state_history_plugin
();
23
24
virtual
void
set_program_options
(options_description&
cli
, options_description& cfg)
override
;
25
26
void
plugin_initialize
(
const
variables_map& options);
27
void
plugin_startup
();
28
void
plugin_shutdown
();
29
30
private
:
31
state_history_ptr
my;
32
};
33
34
}
// namespace sysio
application.hpp
chain_plugin.hpp
appbase::plugin
Definition
plugin.hpp:48
sysio::chain_plugin
Definition
chain_plugin.hpp:763
sysio::state_history_plugin
Definition
state_history_plugin.hpp:17
sysio::state_history_plugin::state_history_plugin
state_history_plugin()
Definition
state_history_plugin.cpp:438
sysio::state_history_plugin::plugin_startup
void plugin_startup()
Definition
state_history_plugin.cpp:521
sysio::state_history_plugin::set_program_options
virtual void set_program_options(options_description &cli, options_description &cfg) override
Definition
state_history_plugin.cpp:443
sysio::state_history_plugin::plugin_initialize
void plugin_initialize(const variables_map &options)
Definition
state_history_plugin.cpp:459
sysio::state_history_plugin::~state_history_plugin
virtual ~state_history_plugin()
Definition
state_history_plugin.cpp:441
sysio::state_history_plugin::plugin_shutdown
void plugin_shutdown()
Definition
state_history_plugin.cpp:523
fc
namespace sysio::chain
Definition
authority.cpp:3
sysio::chain::bytes
vector< char > bytes
Definition
types.hpp:243
sysio
Definition
abi_serializer.cpp:8
sysio::state_history_ptr
shared_ptr< struct state_history_plugin_impl > state_history_ptr
Definition
state_history_plugin.hpp:15
APPBASE_PLUGIN_REQUIRES
#define APPBASE_PLUGIN_REQUIRES(PLUGINS)
Definition
plugin.hpp:11
types.hpp
cli
void cli()
Definition
xbyak_mnemonic.h:61
plugins
state_history_plugin
include
sysio
state_history_plugin
state_history_plugin.hpp
Generated by
1.12.0