#include <Plugin.hh>
|
std::unique_ptr< sdf::PluginPrivate > | dataPtr |
| Private data pointer. More...
|
|
◆ Plugin() [1/3]
sdf::v12::Plugin::Plugin |
( |
| ) |
|
◆ ~Plugin()
sdf::v12::Plugin::~Plugin |
( |
| ) |
|
◆ Plugin() [2/3]
sdf::v12::Plugin::Plugin |
( |
const Plugin & |
_plugin | ) |
|
Copy constructor.
- Parameters
-
◆ Plugin() [3/3]
sdf::v12::Plugin::Plugin |
( |
Plugin && |
_plugin | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ClearContents()
void sdf::v12::Plugin::ClearContents |
( |
| ) |
|
Remove the contents of the plugin, this is everything that is a child element of the <plugin>
.
◆ Contents()
Get the plugin contents.
This is all the SDF elements that are children of the <plugin>
.
- Returns
- The child elements of this plugin.
◆ Element()
Get a pointer to the SDF element that was used during load.
- Returns
- SDF element pointer. The value will be nullptr if Load has not been called.
◆ Filename()
std::string sdf::v12::Plugin::Filename |
( |
| ) |
const |
Get the filename of the shared library.
- Returns
- Filename of the shared library associated with the plugin.
◆ InsertContent()
Insert an element into the plugin content.
This does not modify the values in the sdf::ElementPtr returned by the Element()
function.
- Parameters
-
◆ Load()
Load the plugin based on a element pointer.
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.
- Parameters
-
- Returns
- Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.
◆ Name()
std::string sdf::v12::Plugin::Name |
( |
| ) |
const |
Get the name of the plugin.
The name of the plugin should be unique within the scope of its parent.
- Returns
- Name of the plugin.
◆ operator=() [1/2]
Plugin& sdf::v12::Plugin::operator= |
( |
const Plugin & |
_plugin | ) |
|
Copy assignment operator.
- Parameters
-
- Returns
- A reference to this plugin
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
- Returns
- A reference to this plugin
◆ SetFilename()
void sdf::v12::Plugin::SetFilename |
( |
const std::string & |
_filename | ) |
|
Set the filename of the shared library.
- Parameters
-
[in] | _filename | Filename of the shared library associated with this plugin. |
◆ SetName()
void sdf::v12::Plugin::SetName |
( |
const std::string & |
_name | ) |
|
Set the name of the plugin.
The name of the plugin should be unique within the scope of its parent.
- Parameters
-
[in] | _name | Name of the plugin. |
◆ ToElement()
Create and return an SDF element filled with data from this plugin.
Note that parameter passing functionality is not captured with this function.
- Returns
- SDF element pointer with updated plugin values.
◆ dataPtr
std::unique_ptr<sdf::PluginPrivate> sdf::v12::Plugin::dataPtr |
The documentation for this class was generated from the following file: