Class for describing a container node.
More...
#include <ContainerNodeDescriptor.h>
Class for describing a container node.
Descriptors are used to construct ll::ContainerNode objects.
◆ ContainerNodeDescriptor() [1/3]
ll::ContainerNodeDescriptor::ContainerNodeDescriptor |
( |
| ) |
|
|
default |
◆ ContainerNodeDescriptor() [2/3]
◆ ContainerNodeDescriptor() [3/3]
◆ ~ContainerNodeDescriptor()
ll::ContainerNodeDescriptor::~ContainerNodeDescriptor |
( |
| ) |
|
|
default |
◆ addPort()
Adds a port to the descriptor.
- Parameters
-
- Returns
- A reference to this object.
◆ addPorts()
Adds a list of ports to the descriptor.
- Parameters
-
- Returns
- A reference to this object.
◆ getBuilderName()
const std::string& ll::ContainerNodeDescriptor::getBuilderName |
( |
| ) |
const |
|
noexcept |
Gets the builder name within the Lua interpreter.
- Returns
- The builder name.
◆ getParameter()
const ll::Parameter& ll::ContainerNodeDescriptor::getParameter |
( |
const std::string & |
name | ) |
const |
Gets a parameter.
- Parameters
-
[in] | name | The parameter name |
- Returns
- The parameter.
- Exceptions
-
◆ getPort()
const ll::PortDescriptor& ll::ContainerNodeDescriptor::getPort |
( |
const std::string & |
name | ) |
const |
Gets a port descriptor given its name.
- Parameters
-
- Returns
- The port descriptor.
- Exceptions
-
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setBuilderName()
Sets the builder name this descriptor refers to within the Lua interpreter.
- Parameters
-
[in] | name | The builder name. |
- Returns
- A reference to this object.
◆ setParameter()
Adds a parameter.
- Parameters
-
[in] | name | The name |
[in] | defaultValue | The value. |
- Returns
- A reference to this object.
The documentation for this class was generated from the following file: