Skip to main content
Definition of a new operator. Inherits from:

Members

Friends

Friend internal::core

Public functions

Function OperatorSpecification

Return type:

Function ~OperatorSpecification

Return type:

Function OperatorSpecification

Parameters:
  • OperatorSpecification const &
Return type:

Function OperatorSpecification

Parameters:
  • OperatorSpecification &&
Return type:

Function operator=

Parameters:
  • OperatorSpecification const &
Return type: OperatorSpecification &

Function operator=

Parameters:
  • OperatorSpecification &&
Return type: OperatorSpecification &

Function inputPins

Gets the currently defined input pins of the operator. Returns: Vector of input pin definitions. Return type: std::vector< PinDefinition >

Function outputPins

Gets the currently defined output pins of the operator. Returns: Vector of output pin definitions. Return type: std::vector< PinDefinition >

Function setInputPins

Sets the input pin definitions of the operator. Parameters:
  • std::vector< PinDefinition > const & pins: [in] Vector of input pins.
Return type: void

Function setOutputPins

Sets the output pin definitions of the operator. Parameters:
  • std::vector< PinDefinition > const & pins: [in] Vector of input pins.
Return type: void

Function getDocumentation

Returns: Description of operator. Return type: std::string

Function setDocumentation

Sets the description of operator. Parameters:
  • std::string const & text: [in] String describing the operator.
Return type: void

Function getProperty

Returns: Operator property given by key. Parameters:
  • std::string const & key: [in] Key of property to get.
Return type: std::string

Function setProperty

Set property for given key. Parameters:
  • std::string const & key: [in] Key for which to set property.
  • std::string const & value: [in] Property value.
Return type: void

Function configOptions

Gets the currently defined configuration options specifications. Returns: Vector of operator configuration option specifications. Return type: std::vector< ConfigOptionSpecification >

Function addSupportedConfigOption

Add a supported config option to the operator. @See OperatorConfig Parameters:
  • std::string const & option_name: [in] @See OperatorConfig::options.
  • bool default_value: [in] Default value.
  • std::string const & documentation = "" : [in] Description of the config option. If nothing is specified default values will be looked for.
Return type: void

Function addSupportedConfigOption

Add a supported config option to the operator. @See OperatorConfig Parameters:
  • std::string const & option_name: [in] @See OperatorConfig::options.
  • int default_value: [in] Default value.
  • std::string const & documentation = "" : [in] Description of the config option. If nothing is specified default values will be looked for.
Return type: void

Function addSupportedConfigOption

Add a supported config option to the operator. @See OperatorConfig Parameters:
  • std::string const & option_name: [in] @See OperatorConfig::options.
  • double default_value: [in] Default value.
  • std::string const & documentation = "" : [in] Description of the config option. If nothing is specified default values will be looked for.
Return type: void

Function setVersion

Parameters: Return type: void

Function getVersion

Return type: SemanticVersion

Function setChangelog

Parameters: Return type: void