rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rexlib::plugin Class Referenceabstract

Abstract class representing a plugin interface. More...

#include <rexlib/core/plugin.hpp>

Public Member Functions

 plugin (const plugin &other)=default
 
 plugin (plugin &&other)=default
 
plugin & operator= (const plugin &other)=default
 
plugin & operator= (plugin &&other)=default
 
virtual const std::string & get_name () const noexcept=0
 Get the name of the plugin.
 
virtual version get_version () const noexcept=0
 Get the version of the plugin.
 
virtual void register_at (service_catalog &catalog) const =0
 Register this plugin at a given interface catalog.
 

Detailed Description

Abstract class representing a plugin interface.

A concrete instance of this class may be used to connect a plugin to the core.

Member Function Documentation

◆ get_name()

virtual const std::string & rexlib::plugin::get_name ( ) const
pure virtualnoexcept

Get the name of the plugin.

Returns
const std::string& The name.

◆ get_version()

virtual version rexlib::plugin::get_version ( ) const
pure virtualnoexcept

Get the version of the plugin.

Returns
version The version.

◆ register_at()

virtual void rexlib::plugin::register_at ( service_catalog &  catalog) const
pure virtual

Register this plugin at a given interface catalog.

Parameters
catalogThe catalog where this plugin will be registered.

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