Pothos  0.3.3-g32d3017c
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Module.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
13 #include <memory>
14 #include <vector>
15 #include <string>
16 
17 namespace Pothos {
18 
23 {
24 public:
26  static const PluginModule &null(void);
27 
31  PluginModule(void);
32 
39  PluginModule(const std::string &path);
40 
42  ~PluginModule(void);
43 
52  static PluginModule safeLoad(const std::string &path);
53 
58  std::string getFilePath(void) const;
59 
64  const std::vector<std::string> &getPluginPaths(void) const;
65 
66 private:
67  struct Impl;
68  std::shared_ptr<Impl> _impl;
69 };
70 
71 } //namespace Pothos
Definition: Module.hpp:22
#define POTHOS_API
Definition: Config.hpp:41