struct Gambit::Scanner::Plugins::pluginData

Structure that holds all the data provided by plugins about themselves.

#include <plugin_defs.hpp>

Public Functions

Name
pluginData(const std::string & name, const std::string & type, const std::string & version_in)
std::stringprint()
~pluginData()

Public Attributes

Name
std::stringname
std::stringtype
std::stringversion
std::stringtag
YAML::Nodenode
printer_interface *printer
prior_interface *prior
std::vector< void * >inputData
std::vector< void(*)(pluginData &)>inits
std::map< std::string, factoryBase * >outputFuncs
std::map< type_index, void * >plugin_mains
void(*)()deconstructor
boolloaded

Public Functions Documentation

function pluginData

inline pluginData(
    const std::string & name,
    const std::string & type,
    const std::string & version_in
)

function print

inline std::string print()

function ~pluginData

inline ~pluginData()

Public Attributes Documentation

variable name

std::string name;

variable type

std::string type;

variable version

std::string version;

variable tag

std::string tag;

variable node

YAML::Node node;

variable printer

printer_interface * printer;

variable prior

prior_interface * prior;

variable inputData

std::vector< void * > inputData;

variable inits

std::vector< void(*)(pluginData &)> inits;

variable outputFuncs

std::map< std::string, factoryBase * > outputFuncs;

variable plugin_mains

std::map< type_index, void * > plugin_mains;

variable deconstructor

void(*)() deconstructor;

variable loaded

bool loaded;

Updated on 2024-07-18 at 13:53:32 +0000