OpenCPN Partial API docs
Loading...
Searching...
No Matches
LoadError Class Reference

Error condition when loading a plugin. More...

#include <plugin_loader.h>

Public Types

enum class  Type {
  Unloadable , Unreadable , Incompatible , NoCreate ,
  NoDestroy , Blacklisted
}

Public Member Functions

 LoadError (Type t, const std::string &l, SemanticVersion pv)
 LoadError (Type t, std::string l)

Public Attributes

enum LoadError::Type type
const std::string lib_path
const SemanticVersion plugin_version

Detailed Description

Error condition when loading a plugin.

Definition at line 109 of file plugin_loader.h.

Member Enumeration Documentation

◆ Type

enum class LoadError::Type
strong

Definition at line 111 of file plugin_loader.h.

Constructor & Destructor Documentation

◆ LoadError() [1/2]

LoadError::LoadError ( Type t,
const std::string & l,
SemanticVersion pv )
inline

Definition at line 123 of file plugin_loader.h.

◆ LoadError() [2/2]

LoadError::LoadError ( Type t,
std::string l )
inline

Definition at line 126 of file plugin_loader.h.

Member Data Documentation

◆ lib_path

const std::string LoadError::lib_path

Definition at line 119 of file plugin_loader.h.

◆ plugin_version

const SemanticVersion LoadError::plugin_version

Definition at line 121 of file plugin_loader.h.


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