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

#include <resource_monitor_plugin.hpp>

Inheritance diagram for sysio::resource_monitor_plugin:
Collaboration diagram for sysio::resource_monitor_plugin:

Public Member Functions

 resource_monitor_plugin ()
 
virtual ~resource_monitor_plugin ()
 
virtual void set_program_options (options_description &, options_description &cfg) override
 
void plugin_initialize (const variables_map &options)
 
void plugin_startup ()
 
void plugin_shutdown ()
 
void monitor_directory (const bfs::path &path)
 
- Public Member Functions inherited from appbase::plugin< resource_monitor_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< resource_monitor_plugin >
 plugin (const string &name)
 

Detailed Description

Definition at line 9 of file resource_monitor_plugin.hpp.

Constructor & Destructor Documentation

◆ resource_monitor_plugin()

sysio::resource_monitor_plugin::resource_monitor_plugin ( )

Definition at line 160 of file resource_monitor_plugin.cpp.

160:my(std::make_unique<resource_monitor_plugin_impl>()) {}

◆ ~resource_monitor_plugin()

sysio::resource_monitor_plugin::~resource_monitor_plugin ( )
virtual

Definition at line 162 of file resource_monitor_plugin.cpp.

162{}

Member Function Documentation

◆ monitor_directory()

void sysio::resource_monitor_plugin::monitor_directory ( const bfs::path & path)

Definition at line 180 of file resource_monitor_plugin.cpp.

180 {
181 my->monitor_directory( path );
182}
Here is the caller graph for this function:

◆ plugin_initialize()

void sysio::resource_monitor_plugin::plugin_initialize ( const variables_map & options)

Definition at line 168 of file resource_monitor_plugin.cpp.

168 {
169 my->plugin_initialize(options);
170}
Here is the caller graph for this function:

◆ plugin_shutdown()

void sysio::resource_monitor_plugin::plugin_shutdown ( )

Definition at line 176 of file resource_monitor_plugin.cpp.

176 {
177 my->plugin_shutdown();
178}
Here is the caller graph for this function:

◆ plugin_startup()

void sysio::resource_monitor_plugin::plugin_startup ( )

Definition at line 172 of file resource_monitor_plugin.cpp.

172 {
173 my->plugin_startup();
174}
Here is the caller graph for this function:

◆ set_program_options()

void sysio::resource_monitor_plugin::set_program_options ( options_description & cli,
options_description & cfg )
overridevirtual

Implements appbase::abstract_plugin.

Definition at line 164 of file resource_monitor_plugin.cpp.

164 {
165 my->set_program_options(cli, cfg);
166}
void cli()
Here is the call graph for this function:
Here is the caller graph for this function:

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