|
Squid Web Cache v8/master
|
#include <LoadableModule.h>
Public Member Functions | |
| LoadableModule (const SBuf &aName) | |
| ~LoadableModule () | |
| bool | loaded () const |
| const auto & | name () const |
| const auto & | error () const |
| void | load () |
| void | unload () |
Protected Attributes | |
| SBuf | theName |
| SBuf | theError |
| void * | theHandle = nullptr |
Private Member Functions | |
| void * | openModule () |
| bool | closeModule () |
| const char * | errorMsg () |
Definition at line 15 of file LoadableModule.h.
|
explicit |
Definition at line 17 of file LoadableModule.cc.
References TexcHere.
| LoadableModule::~LoadableModule | ( | ) |
Definition at line 26 of file LoadableModule.cc.
|
private |
|
inline |
Definition at line 23 of file LoadableModule.h.
References theError.
|
private |
Definition at line 77 of file LoadableModule.cc.
| void LoadableModule::load | ( | ) |
Definition at line 40 of file LoadableModule.cc.
References errorMsg(), loaded(), openModule(), TexcHere, and theHandle.
| bool LoadableModule::loaded | ( | ) | const |
Definition at line 34 of file LoadableModule.cc.
References theHandle.
Referenced by ~LoadableModule(), load(), and unload().
|
inline |
Definition at line 22 of file LoadableModule.h.
References theName.
|
private |
Definition at line 64 of file LoadableModule.cc.
References SBuf::c_str(), and theName.
Referenced by load().
| void LoadableModule::unload | ( | ) |
Definition at line 52 of file LoadableModule.cc.
References closeModule(), errorMsg(), loaded(), TexcHere, and theHandle.
Referenced by ~LoadableModule().
|
protected |
Definition at line 30 of file LoadableModule.h.
Referenced by error().
|
protected |
Definition at line 31 of file LoadableModule.h.
Referenced by closeModule(), load(), loaded(), and unload().
|
protected |
Definition at line 29 of file LoadableModule.h.
Referenced by name(), and openModule().