MaCh3  2.8.0
Reference Guide
Public Member Functions | Protected Attributes | List of all members
M3::PluginBase Class Reference

Base class for core modules in MaCh3. More...

#include <CLI/API/plugin.hpp>

Inheritance diagram for M3::PluginBase:
[legend]
Collaboration diagram for M3::PluginBase:
[legend]

Public Member Functions

virtual ~PluginBase ()=default
 
- Public Member Functions inherited from M3::IPlugin
virtual ~IPlugin ()=default
 
virtual int Run ()=0
 Execute the plugin's main functionality. More...
 
virtual MaCh3ArgumentParser * get_parser ()=0
 Get the argument parser for this plugin. More...
 

Protected Attributes

std::unique_ptr< MaCh3ArgumentParser > m_parser
 Argument parser for this plugin. More...
 

Detailed Description

Base class for core modules in MaCh3.

This class provides a common interface for core modules, allowing them to be managed and executed by the MaCh3 program.

Definition at line 38 of file plugin.hpp.

Constructor & Destructor Documentation

◆ ~PluginBase()

virtual M3::PluginBase::~PluginBase ( )
virtualdefault

Member Data Documentation

◆ m_parser

std::unique_ptr<MaCh3ArgumentParser> M3::PluginBase::m_parser
protected

Argument parser for this plugin.

Argument parser for this plugin

Definition at line 44 of file plugin.hpp.


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