#include <LoadableModule.h>

Collaboration diagram for LoadableModule:

Public Member Functions

 LoadableModule (const String &aName)
 
 ~LoadableModule ()
 
bool loaded () const
 
const Stringname () const
 
const Stringerror () const
 
void load ()
 
void unload ()
 

Protected Attributes

String theName
 
String theError
 
void * theHandle
 

Private Member Functions

void * openModule ()
 
bool closeModule ()
 
const char * errorMsg ()
 

Detailed Description

Definition at line 15 of file LoadableModule.h.

Constructor & Destructor Documentation

◆ LoadableModule()

LoadableModule::LoadableModule ( const String aName)

Definition at line 17 of file LoadableModule.cc.

References TexcHere.

◆ ~LoadableModule()

LoadableModule::~LoadableModule ( )

Definition at line 25 of file LoadableModule.cc.

References assert, loaded(), and unload().

Member Function Documentation

◆ closeModule()

bool LoadableModule::closeModule ( )
private

Definition at line 69 of file LoadableModule.cc.

References theHandle.

Referenced by unload().

◆ error()

const String & LoadableModule::error ( ) const
inline

Definition at line 23 of file LoadableModule.h.

References theError.

◆ errorMsg()

const char * LoadableModule::errorMsg ( )
private

Definition at line 76 of file LoadableModule.cc.

Referenced by load(), and unload().

◆ load()

void LoadableModule::load ( )

Definition at line 39 of file LoadableModule.cc.

References errorMsg(), loaded(), openModule(), TexcHere, and theHandle.

Referenced by LoadModule().

◆ loaded()

bool LoadableModule::loaded ( ) const

Definition at line 33 of file LoadableModule.cc.

References theHandle.

Referenced by ~LoadableModule(), load(), and unload().

◆ name()

const String & LoadableModule::name ( ) const
inline

Definition at line 22 of file LoadableModule.h.

References theName.

◆ openModule()

void * LoadableModule::openModule ( )
private

Definition at line 63 of file LoadableModule.cc.

References String::termedBuf(), and theName.

Referenced by load().

◆ unload()

void LoadableModule::unload ( )

Definition at line 51 of file LoadableModule.cc.

References closeModule(), errorMsg(), loaded(), TexcHere, and theHandle.

Referenced by ~LoadableModule().

Member Data Documentation

◆ theError

String LoadableModule::theError
protected

Definition at line 30 of file LoadableModule.h.

Referenced by error().

◆ theHandle

void* LoadableModule::theHandle
protected

Definition at line 31 of file LoadableModule.h.

Referenced by closeModule(), load(), loaded(), and unload().

◆ theName

String LoadableModule::theName
protected

Definition at line 29 of file LoadableModule.h.

Referenced by name(), and openModule().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors