OpenCPN Partial API docs
Loading...
Searching...
No Matches
block Struct Reference

Runtime representation of a plugin block. More...

Public Member Functions

 block (int _major, int _minor)
 
 block (const struct config_block &cb)
 
bool is_matching (int _major, int _minor) const
 Return true if _major/_minor matches the blocked plugin. More...
 
plug_data to_plug_data (std::string name)
 

Public Attributes

int major
 
int minor
 
plug_status status
 
const char * message
 

Detailed Description

Runtime representation of a plugin block.

Definition at line 95 of file plugin_blacklist.cpp.

Constructor & Destructor Documentation

◆ block() [1/3]

block::block ( )
inline

Definition at line 101 of file plugin_blacklist.cpp.

◆ block() [2/3]

block::block ( int  _major,
int  _minor 
)
inline

Definition at line 104 of file plugin_blacklist.cpp.

◆ block() [3/3]

block::block ( const struct config_block cb)
inline

Definition at line 109 of file plugin_blacklist.cpp.

Member Function Documentation

◆ is_matching()

bool block::is_matching ( int  _major,
int  _minor 
) const
inline

Return true if _major/_minor matches the blocked plugin.

Definition at line 116 of file plugin_blacklist.cpp.

◆ to_plug_data()

plug_data block::to_plug_data ( std::string  name)
inline

Definition at line 124 of file plugin_blacklist.cpp.

Member Data Documentation

◆ major

int block::major

Definition at line 96 of file plugin_blacklist.cpp.

◆ message

const char* block::message

Definition at line 99 of file plugin_blacklist.cpp.

◆ minor

int block::minor

Definition at line 97 of file plugin_blacklist.cpp.

◆ status

plug_status block::status

Definition at line 98 of file plugin_blacklist.cpp.


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