Pothos
0.2.1-g9f04573d
The Pothos dataflow programming software suite
|
#include <Compiler.hpp>
Public Types | |
typedef std::shared_ptr< Compiler > | Sptr |
Public Member Functions | |
virtual bool | test (void)=0 |
virtual std::string | compileCppModule (const CompilerArgs &args)=0 |
Static Public Member Functions | |
static Sptr | make (const std::string &name="") |
A simple compiler interface for creating modules
typedef std::shared_ptr<Compiler> Pothos::Util::Compiler::Sptr |
|
pure virtual |
Compile a set of C++ sources into a runtime loadable module.
Exception | with message when a compilation fails |
args | the compiler arguments (flags and sources) |
|
static |
Create a compiler instance given the name of the compiler. Plugins for custom Compilers should be located in the plugin registry: /util/compiler/[name]
Exception | if the factory function fails. |
name | the name of a compilier factory in the plugin tree |
|
pure virtual |
Test if this compiler instance is usable.