![]() |
stromx
0.8.0
|
Meta-information about an operator. More...
#include <OperatorInfo.h>
Public Member Functions | |
| virtual const std::string & | type () const =0 |
| virtual const std::string & | package () const =0 |
| virtual const Version & | version () const =0 |
| virtual const std::vector< const Input * > & | inputs () const =0 |
| virtual const std::vector< const Output * > & | outputs () const =0 |
| virtual const std::vector< const Parameter * > & | parameters () const =0 |
| virtual const Output & | output (const unsigned int id) const =0 |
| virtual const Input & | input (const unsigned int id) const =0 |
| virtual const Parameter & | parameter (const unsigned int id) const =0 |
| virtual const Description & | description (const unsigned int id) const =0 |
| virtual const OperatorProperties & | properties () const =0 |
Meta-information about an operator.
This class contains all the information how to use an operator without looking at its API documentaion. This information reaches its final status only after Operator::initialize() is called.
|
pure virtual |
Returns the description (i.e. input, output or parameter) id.
| WrongId | If no parameter with id exists. |
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns the description of the output id.
| WrongId | If no input with id exists. |
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns a list of the inputs of the operator. This list can change when Operator::initialize() is called.
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns the description of the input id.
| WrongId | If no output with id exists. |
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns a list of the outputs of the operator. This list can change when Operator::initialize() is called. After that it is constant.
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns the package the operator belongs to.
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns the parameter description of the parameter id.
| WrongId | If no parameter with id exists. |
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns a list of the parameters of the operator. This list can only change when Operator::initialize() is called. After that it is constant with exception of the properties (however, not their ID and data variant) of the single parameters.
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns the properties of this operator.
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns the type. In general this is the name of the class of its implementation.
Implemented in stromx::runtime::OperatorKernel.
|
pure virtual |
Returns the version of the operator.
Implemented in stromx::runtime::OperatorKernel.
1.8.12