gramods
Loading...
Searching...
No Matches
ImportLibrary.hh
1
2#ifndef GRAMODS_CORE_IMPORTLIBRARY
3#define GRAMODS_CORE_IMPORTLIBRARY
4
5#include <gmCore/config.hh>
6#include <gmCore/OFactory.hh>
7#include <gmCore/Object.hh>
8
9#include <string>
10#include <memory>
11
12BEGIN_NAMESPACE_GMCORE;
13
18 : public Object {
19
20public:
21
24
28 bool isLoaded();
29
33 void initialize() override;
34
40 void setLibraryFile(std::filesystem::path path);
41
48 void setLibrary(std::string file);
49
54 void setPrefix(std::string str);
55
61 void setSuffix(std::string str);
62
68 void setDbgSuffix(std::string str);
69
70 GM_OFI_DECLARE;
71
72private:
73
74 struct Impl;
75 std::unique_ptr<Impl> _impl;
76
77};
78
79END_NAMESPACE_GMCORE;
80
81#endif
Loads a shared library and loads its nodes into the object factory.
Definition ImportLibrary.hh:18
Base type for objects in the Gramods package for standardized handling of construction,...
Definition Object.hh:42
Definition ImportLibrary.cpp:22