Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
posixlibrary.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
11
//------------------------------------------------------------------------------
12
#include "
system/base/librarybase.h
"
13
14
namespace
Posix
15
{
16
class
PosixLibrary
:
public
Base::Library
17
{
18
public
:
20
PosixLibrary
();
21
23
bool
Load
()
override
;
25
void
Close
()
override
;
27
void
*
GetExport
(
Util::String
const
& name)
const override
;
29
bool
IsLoaded
()
override
;
30
31
private
:
32
void
*
libraryHandle
;
33
};
34
}
// namespace Posix
Base::Library
Base class for loading and handling dynamic libraries.
Definition
librarybase.h:19
Posix::PosixLibrary::GetExport
void * GetExport(Util::String const &name) const override
get exported function address
Definition
posixlibrary.cc:51
Posix::PosixLibrary::Load
bool Load() override
load library
Definition
posixlibrary.cc:24
Posix::PosixLibrary::libraryHandle
void * libraryHandle
Definition
posixlibrary.h:32
Posix::PosixLibrary::PosixLibrary
PosixLibrary()
constructor
Definition
posixlibrary.cc:15
Posix::PosixLibrary::IsLoaded
bool IsLoaded() override
get library state
Definition
posixlibrary.cc:61
Posix::PosixLibrary::Close
void Close() override
close library
Definition
posixlibrary.cc:37
librarybase.h
Posix
Posix implemention of a read-many write-few lock.
Definition
posixsysfunc.cc:21
Util.String
Nebula's universal string class.
Definition
String.cs:8
code
foundation
system
posix
posixlibrary.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.