YARP
Yet Another Robot Platform
SharedLibrary.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* All rights reserved.
4
*
5
* This software may be modified and distributed under the terms of the
6
* BSD-3-Clause license. See the accompanying LICENSE file for details.
7
*/
8
9
#ifndef YARP_OS_SHAREDLIBRARY_H
10
#define YARP_OS_SHAREDLIBRARY_H
11
12
#include <
yarp/os/api.h
>
13
14
#include <string>
15
16
#ifndef DOXYGEN_SHOULD_SKIP_THIS
17
namespace
yarp
{
18
namespace
os {
19
namespace
impl {
20
class
SharedLibraryImpl;
21
}
22
}
// namespace os
23
}
// namespace yarp
24
#endif // DOXYGEN_SHOULD_SKIP_THIS
25
26
namespace
yarp
{
27
namespace
os {
28
33
class
YARP_os_API
SharedLibrary
34
{
35
public
:
39
SharedLibrary
();
40
46
SharedLibrary
(
const
char
* filename);
47
48
SharedLibrary
(
const
SharedLibrary
&) =
delete
;
49
SharedLibrary
&
operator=
(
const
SharedLibrary
&) =
delete
;
50
54
virtual
~
SharedLibrary
();
55
65
bool
open(
const
char
* filename);
66
71
bool
close();
72
79
std::string error();
80
84
void
* getSymbol(
const
char
* symbolName);
85
91
bool
isValid
()
const
;
92
93
#ifndef DOXYGEN_SHOULD_SKIP_THIS
94
private
:
95
yarp::os::impl::SharedLibraryImpl
*
const
implementation
;
96
#endif // DOXYGEN_SHOULD_SKIP_THIS
97
};
98
99
}
// namespace os
100
}
// namespace yarp
101
102
#endif // YARP_OS_SHAREDLIBRARY_H
yarp::os::Time::isValid
bool isValid()
Check if time is valid (non-zero).
Definition:
Time.cpp:317
api.h
YARP_os_API
#define YARP_os_API
Definition:
api.h:19
yarp::os::SharedLibrary::operator=
SharedLibrary & operator=(const SharedLibrary &)=delete
yarp::os::SharedLibrary::SharedLibrary
SharedLibrary(const SharedLibrary &)=delete
yarp::os::SharedLibrary
Low-level wrapper for loading shared libraries (DLLs) and accessing symbols within it.
Definition:
SharedLibrary.h:34
yarp::os::impl::SharedLibraryImpl
Definition:
SharedLibrary.cpp:34
yarp
The main, catch-all namespace for YARP.
Definition:
environment.h:18
implementation
RandScalar * implementation(void *t)
Definition:
RandnScalar.cpp:20
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_os
src
yarp
os
SharedLibrary.h
Generated on Sun Jan 3 2021 02:46:25 for YARP by
1.8.20