Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
chain_api_plugin.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
sysio/chain_plugin/chain_plugin.hpp
>
3
#include <
sysio/http_plugin/http_plugin.hpp
>
4
5
#include <
appbase/application.hpp
>
6
#include <
sysio/chain/controller.hpp
>
7
8
namespace
sysio
{
9
using
sysio::chain::controller
;
10
using
std::unique_ptr;
11
using namespace
appbase
;
12
13
class
chain_api_plugin
:
public
plugin
<chain_api_plugin> {
14
public
:
15
APPBASE_PLUGIN_REQUIRES
((
chain_plugin
)(
http_plugin
))
16
17
chain_api_plugin
();
18
virtual
~chain_api_plugin
();
19
20
virtual
void
set_program_options
(options_description&, options_description&)
override
;
21
22
void
plugin_initialize
(
const
variables_map&);
23
void
plugin_startup
();
24
void
plugin_shutdown
();
25
26
private
:
27
unique_ptr<class chain_api_plugin_impl>
my;
28
};
29
30
}
application.hpp
chain_plugin.hpp
appbase::plugin
Definition
plugin.hpp:48
fc::unique_ptr
Definition
unique_ptr.hpp:9
sysio::chain::controller
Definition
controller.hpp:63
sysio::chain_api_plugin
Definition
chain_api_plugin.hpp:13
sysio::chain_api_plugin::~chain_api_plugin
virtual ~chain_api_plugin()
Definition
chain_api_plugin.cpp:22
sysio::chain_api_plugin::plugin_shutdown
void plugin_shutdown()
Definition
chain_api_plugin.cpp:150
sysio::chain_api_plugin::set_program_options
virtual void set_program_options(options_description &, options_description &) override
Definition
chain_api_plugin.cpp:24
sysio::chain_api_plugin::APPBASE_PLUGIN_REQUIRES
APPBASE_PLUGIN_REQUIRES((chain_plugin)(http_plugin)) chain_api_plugin()
sysio::chain_api_plugin::plugin_startup
void plugin_startup()
Definition
chain_api_plugin.cpp:95
sysio::chain_api_plugin::plugin_initialize
void plugin_initialize(const variables_map &)
Definition
chain_api_plugin.cpp:25
sysio::chain_plugin
Definition
chain_plugin.hpp:763
sysio::http_plugin
Definition
http_plugin.hpp:65
controller.hpp
http_plugin.hpp
appbase
Definition
application.cpp:18
sysio
Definition
abi_serializer.cpp:8
plugins
chain_api_plugin
include
sysio
chain_api_plugin
chain_api_plugin.hpp
Generated by
1.12.0