Pothos
0.4.1-gb758ed46
The Pothos dataflow programming software suite
|
#include <Plugin.hpp>
Public Member Functions | |
Plugin (void) | |
Create a null plugin. More... | |
Plugin (const PluginPath &path, const Object &object=Object(), const PluginModule &module=PluginModule::null()) | |
template<typename ValueType > | |
Plugin (const PluginPath &path, ValueType &&value) | |
const PluginPath & | getPath (void) const |
Get the path from the Plugin. More... | |
const Object & | getObject (void) const |
Get the object from the Plugin. More... | |
PluginModule | getModule (void) const |
Get the Module from the Plugin. More... | |
std::string | toString (void) const |
String representation of plugin. More... | |
A plugin is a combination of an Path, Object, and a Module.
Pothos::Plugin::Plugin | ( | void | ) |
Create a null plugin.
Pothos::Plugin::Plugin | ( | const PluginPath & | path, |
const Object & | object = Object() , |
||
const PluginModule & | module = PluginModule::null() |
||
) |
Create a plugin from components.
Pothos::Plugin::Plugin | ( | const PluginPath & | path, |
ValueType && | value | ||
) |
Create a plugin from components. This templated version takes any type and stores it in an Object.
PluginModule Pothos::Plugin::getModule | ( | void | ) | const |
Get the Module from the Plugin.
const PluginPath& Pothos::Plugin::getPath | ( | void | ) | const |
Get the path from the Plugin.
std::string Pothos::Plugin::toString | ( | void | ) | const |
String representation of plugin.