Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::test_control_api_plugin Class Reference

#include <test_control_api_plugin.hpp>

Inheritance diagram for sysio::test_control_api_plugin:
Collaboration diagram for sysio::test_control_api_plugin:

Public Member Functions

 APPBASE_PLUGIN_REQUIRES ((test_control_plugin)(chain_plugin)(http_plugin)) test_control_api_plugin()
 
virtual ~test_control_api_plugin ()
 
virtual void set_program_options (options_description &, options_description &) override
 
void plugin_initialize (const variables_map &)
 
void plugin_startup ()
 
void plugin_shutdown ()
 
- Public Member Functions inherited from appbase::plugin< test_control_api_plugin >
 plugin ()
 
virtual ~plugin ()
 
virtual state get_state () const override
 
virtual const std::string & name () const override
 
virtual void register_dependencies ()
 
virtual void initialize (const variables_map &options) override
 
virtual void handle_sighup () override
 
virtual void startup () override
 
virtual void shutdown () override
 
- Public Member Functions inherited from appbase::abstract_plugin
virtual ~abstract_plugin ()
 

Additional Inherited Members

- Public Types inherited from appbase::abstract_plugin
enum  state { registered , initialized , started , stopped }
 
- Protected Member Functions inherited from appbase::plugin< test_control_api_plugin >
 plugin (const string &name)
 

Detailed Description

Definition at line 13 of file test_control_api_plugin.hpp.

Constructor & Destructor Documentation

◆ ~test_control_api_plugin()

sysio::test_control_api_plugin::~test_control_api_plugin ( )
virtual

Definition at line 22 of file test_control_api_plugin.cpp.

22{}

Member Function Documentation

◆ APPBASE_PLUGIN_REQUIRES()

sysio::test_control_api_plugin::APPBASE_PLUGIN_REQUIRES ( (test_control_plugin)(chain_plugin)(http_plugin) )

◆ plugin_initialize()

void sysio::test_control_api_plugin::plugin_initialize ( const variables_map & )

Definition at line 25 of file test_control_api_plugin.cpp.

25{}

◆ plugin_shutdown()

void sysio::test_control_api_plugin::plugin_shutdown ( )

Definition at line 57 of file test_control_api_plugin.cpp.

57{}

◆ plugin_startup()

void sysio::test_control_api_plugin::plugin_startup ( )

Definition at line 48 of file test_control_api_plugin.cpp.

48 {
49 my.reset(new test_control_api_plugin_impl(app().get_plugin<chain_plugin>().chain()));
50 auto rw_api = app().get_plugin<test_control_plugin>().get_read_write_api();
51
52 app().get_plugin<http_plugin>().add_api({
54 });
55}
abstract_plugin & get_plugin(const string &name) const
application & app()
#define TEST_CONTROL_RW_CALL(call_name, http_response_code, params_type)
Here is the call graph for this function:

◆ set_program_options()

void sysio::test_control_api_plugin::set_program_options ( options_description & ,
options_description &  )
overridevirtual

Implements appbase::abstract_plugin.

Definition at line 24 of file test_control_api_plugin.cpp.

24{}

The documentation for this class was generated from the following files: