HAL
hal::GraphAlgorithmPlugin Class Reference

Plugin interface for graph algorithms. More...

#include <plugin_graph_algorithm.h>

Inheritance diagram for hal::GraphAlgorithmPlugin:
Inheritance graph
Collaboration diagram for hal::GraphAlgorithmPlugin:
Collaboration graph

Public Member Functions

 GraphAlgorithmPlugin ()=default
 Default constructor for GraphAlgorithmPlugin. More...
 
 ~GraphAlgorithmPlugin ()=default
 Default destructor for GraphAlgorithmPlugin. More...
 
std::string get_name () const override
 Get the name of the plugin. More...
 
std::string get_version () const override
 Get the version of the plugin. More...
 
std::string get_description () const override
 Get a short description of the plugin. More...
 
std::set< std::string > get_dependencies () const override
 Get the plugin dependencies. More...
 
- Public Member Functions inherited from hal::BasePluginInterface
 BasePluginInterface ()=default
 
virtual ~BasePluginInterface ()
 
virtual void initialize ()
 
template<typename... Args>
void log (const Args &... args) const
 
virtual void on_load ()
 
virtual void on_unload ()
 
virtual void initialize_logging ()
 
virtual std::vector< AbstractExtensionInterface * > get_extensions () const
 
template<typename T >
T * get_first_extension () const
 
void delete_extension (AbstractExtensionInterface *aeif)
 

Additional Inherited Members

- Protected Attributes inherited from hal::BasePluginInterface
std::vector< AbstractExtensionInterface * > m_extensions
 

Detailed Description

Plugin interface for graph algorithms.

This class provides an interface to integrate graph algorithms based on igraph as a plugin within the HAL framework.

Definition at line 50 of file plugin_graph_algorithm.h.

Constructor & Destructor Documentation

◆ GraphAlgorithmPlugin()

hal::GraphAlgorithmPlugin::GraphAlgorithmPlugin ( )
default

Default constructor for GraphAlgorithmPlugin.

◆ ~GraphAlgorithmPlugin()

hal::GraphAlgorithmPlugin::~GraphAlgorithmPlugin ( )
default

Default destructor for GraphAlgorithmPlugin.

Member Function Documentation

◆ get_dependencies()

std::set< std::string > hal::GraphAlgorithmPlugin::get_dependencies ( ) const
overridevirtual

Get the plugin dependencies.

Returns
A set of plugin names that this plugin depends on.

Reimplemented from hal::BasePluginInterface.

Definition at line 27 of file plugin_graph_algorithm.cpp.

Referenced by hal::PYBIND11_PLUGIN().

◆ get_description()

std::string hal::GraphAlgorithmPlugin::get_description ( ) const
overridevirtual

Get a short description of the plugin.

Returns
The short description of the plugin.

Reimplemented from hal::BasePluginInterface.

Definition at line 22 of file plugin_graph_algorithm.cpp.

Referenced by hal::PYBIND11_PLUGIN().

◆ get_name()

std::string hal::GraphAlgorithmPlugin::get_name ( ) const
overridevirtual

Get the name of the plugin.

Returns
The name of the plugin.

Implements hal::BasePluginInterface.

Definition at line 12 of file plugin_graph_algorithm.cpp.

Referenced by hal::PYBIND11_PLUGIN().

◆ get_version()

std::string hal::GraphAlgorithmPlugin::get_version ( ) const
overridevirtual

Get the version of the plugin.

Returns
The version of the plugin.

Implements hal::BasePluginInterface.

Definition at line 17 of file plugin_graph_algorithm.cpp.

Referenced by hal::PYBIND11_PLUGIN().


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