atlas::Plugin class

Base classes

class eckit::system::Plugin

Public static functions

static auto list() -> std::vector<std::string> deprecated
static void list(std::ostream& s) deprecated
static auto exists(const std::string& name) -> bool deprecated
static auto lookup(const std::string& name) -> const Library& deprecated

Constructors, destructors, conversion operators

Plugin(const std::string& name, const std::string& libname = "") explicit
~Plugin() virtual

Public functions

auto name() const -> const std::string&
Plugin name.
auto libraryName() const -> const std::string&
Library name as will be used in file system.
void init() virtual
Initialisation function called after loading the plugin dynamically with dlopen()
void finalise() virtual
Finalisation function called before unloading the plugin dynamically with dlclose()
void handle(void* h)
auto handle() const -> void*
auto prefixDirectory() const -> std::string virtual
auto libraryHome() const -> std::string virtual
void libraryHome(const std::string&) virtual
auto expandPath(const std::string& path) const -> std::string virtual
auto libraryPath() const -> std::string
auto version() const -> std::string pure virtual
auto versionExtended() const -> std::string virtual
auto gitsha1(unsigned int count = 40) const -> std::string pure virtual
auto debug() const -> bool virtual
auto debugChannel() const -> Channel& virtual
auto configuration() const -> const Configuration& virtual
void lock()
void unlock()

Function documentation

static std::vector<std::string> atlas::Plugin::list()

static void atlas::Plugin::list(std::ostream& s)

static bool atlas::Plugin::exists(const std::string& name)

static const Library& atlas::Plugin::lookup(const std::string& name)

atlas::Plugin::Plugin(const std::string& name, const std::string& libname = "") explicit

Parameters
name in Plugin name
libname in Library name as will be used in file system

const std::string& atlas::Plugin::name() const

Plugin name.

const std::string& atlas::Plugin::libraryName() const

Library name as will be used in file system.

void atlas::Plugin::init() virtual

Initialisation function called after loading the plugin dynamically with dlopen()

void atlas::Plugin::finalise() virtual

Finalisation function called before unloading the plugin dynamically with dlclose()

void atlas::Plugin::handle(void* h)

void* atlas::Plugin::handle() const

std::string atlas::Plugin::prefixDirectory() const virtual

std::string atlas::Plugin::libraryHome() const virtual

void atlas::Plugin::libraryHome(const std::string&) virtual

std::string atlas::Plugin::expandPath(const std::string& path) const virtual

std::string atlas::Plugin::libraryPath() const

std::string atlas::Plugin::version() const pure virtual

std::string atlas::Plugin::versionExtended() const virtual

std::string atlas::Plugin::gitsha1(unsigned int count = 40) const pure virtual

bool atlas::Plugin::debug() const virtual

Channel& atlas::Plugin::debugChannel() const virtual

const Configuration& atlas::Plugin::configuration() const virtual

void atlas::Plugin::lock()

void atlas::Plugin::unlock()