LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
posixdynlibrary.hpp
Go to the documentation of this file.
1#ifndef UNIXDYNLIBRARY_HPP_
2#define UNIXDYNLIBRARY_HPP_
3
4#include <string>
5
6#include "idynlibrary.hpp"
7
8namespace logicalaccess
9{
11{
12 private:
13 std::string _name;
14 void *_handle;
15
16 public:
17 PosixDynLibrary(const std::string &dlName);
19 {
20 ::dlclose(_handle);
21 }
22
23 const std::string &getName(void) const
24 {
25 return _name;
26 }
27 void *getSymbol(const char *symName);
28
29
30 virtual bool hasSymbol(const char *name);
31};
32}
33
34#endif
Definition: idynlibrary.hpp:32
Definition: posixdynlibrary.hpp:11
~PosixDynLibrary()
Definition: posixdynlibrary.hpp:18
std::string _name
Definition: posixdynlibrary.hpp:13
const std::string & getName(void) const
Definition: posixdynlibrary.hpp:23
void * getSymbol(const char *symName)
virtual bool hasSymbol(const char *name)
PosixDynLibrary(const std::string &dlName)
void * _handle
Definition: posixdynlibrary.hpp:14
Definition: asn1.hpp:9