Nebula
Loading...
Searching...
No Matches
Posix::PosixLibrary Class Reference

#include <posixlibrary.h>

Detailed Description

Load and handle an external shared library on POSIX platforms.

Inherits Base::Library.

Public Member Functions

 PosixLibrary ()
 constructor
bool Load () override
 load library
void Close () override
 close library
void * GetExport (Util::String const &name) const override
 get exported function address
bool IsLoaded () override
 get library state
Public Member Functions inherited from Base::Library
 Library ()
 constructor
void SetPath (const IO::URI &uri)
 set the executable path

Private Attributes

void * libraryHandle

Additional Inherited Members

Protected Attributes inherited from Base::Library
bool isLoaded
IO::URI path

Constructor & Destructor Documentation

◆ PosixLibrary()

Posix::PosixLibrary::PosixLibrary ( )

constructor

Member Function Documentation

◆ Close()

void Posix::PosixLibrary::Close ( )
overridevirtual

close library

Implements Base::Library.

◆ GetExport()

void * Posix::PosixLibrary::GetExport ( Util::String const & name) const
overridevirtual

get exported function address

Implements Base::Library.

◆ IsLoaded()

bool Posix::PosixLibrary::IsLoaded ( )
overridevirtual

get library state

Implements Base::Library.

◆ Load()

bool Posix::PosixLibrary::Load ( )
overridevirtual

load library

Implements Base::Library.

Member Data Documentation

◆ libraryHandle

void* Posix::PosixLibrary::libraryHandle
private

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