Nebula
Loading...
Searching...
No Matches
Base::Library Class Referenceabstract

#include <librarybase.h>

Detailed Description

Base class for loading and handling dynamic libraries.

Inherited by Win32::Win32Library.

Public Member Functions

 Library ()
 constructor
 
void SetPath (const IO::URI &uri)
 set the executable path
 
virtual bool Load ()=0
 load library
 
virtual void Close ()=0
 close the library
 
virtual void * GetExport (Util::String const &name) const =0
 get address to exported function (ex. GetProcAddress)
 
virtual bool IsLoaded ()=0
 gets the state of the library
 

Protected Attributes

bool isLoaded
 
IO::URI path
 

Constructor & Destructor Documentation

◆ Library()

Base::Library::Library ( )
inline

constructor

Member Function Documentation

◆ Close()

virtual void Base::Library::Close ( )
pure virtual

close the library

Implemented in Win32::Win32Library.

◆ GetExport()

virtual void * Base::Library::GetExport ( Util::String const & name) const
pure virtual

get address to exported function (ex. GetProcAddress)

Implemented in Win32::Win32Library.

◆ IsLoaded()

virtual bool Base::Library::IsLoaded ( )
pure virtual

gets the state of the library

Implemented in Win32::Win32Library.

◆ Load()

virtual bool Base::Library::Load ( )
pure virtual

load library

Implemented in Win32::Win32Library.

◆ SetPath()

void Base::Library::SetPath ( const IO::URI & uri)
inline

set the executable path

Member Data Documentation

◆ isLoaded

bool Base::Library::isLoaded
protected

◆ path

IO::URI Base::Library::path
protected

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