ocssw
V2022
|
Module.hpp
Go to the documentation of this file.
50 ModuleConfiguration(ModuleManager& module_manager_, Log& log_) : module_manager{module_manager_}, log{log_} {}
90 virtual const std::vector<std::unique_ptr<DataProvider>>& data_providers() const {return no_data_providers_;}
92 virtual const std::vector<std::unique_ptr<FileReader>>& file_readers() const {return no_file_readers_;}
94 virtual const std::vector<std::unique_ptr<FileWriter>>& file_writers() const {return no_file_writers_;}
virtual ~Module()=default
std::shared_ptr< Module > get_module() const
~ModuleLoader()
ModuleConfiguration(ModuleManager &module_manager_, Log &log_)
Definition: Module.hpp:50
virtual const std::vector< std::unique_ptr< Command > > & commands() const
Definition: Module.hpp:88
bool is_loaded() const
ModuleLoader(const boost::filesystem::path &path, const ModuleConfiguration &configuration)
virtual ~Command()=default
static bool is_module(const boost::filesystem::path &path)
Definition: Module.hpp:65
const boost::filesystem::path & path() const
Definition: ModuleManager.hpp:13
virtual const std::vector< std::string > & respond_to() const =0
Definition: Module.hpp:110
virtual const std::string * brief_summary() const
Definition: Module.hpp:74
virtual const std::vector< std::unique_ptr< DataProvider > > & data_providers() const
Definition: Module.hpp:90
virtual const std::vector< std::unique_ptr< FileReader > > & file_readers() const
Definition: Module.hpp:92
Definition: Module.hpp:48
virtual const std::string & name() const =0
void load_module()
void unload_module()
Definition: Module.hpp:80
virtual int call_command(int argc, const char *argv[]) const =0
virtual const std::vector< std::unique_ptr< FileWriter > > & file_writers() const
Definition: Module.hpp:94
Definition: DataProvider.hpp:16