stromx  0.8.0
Public Member Functions | List of all members
stromx::runtime::OperatorInfo Class Referenceabstract

Meta-information about an operator. More...

#include <OperatorInfo.h>

Inheritance diagram for stromx::runtime::OperatorInfo:
stromx::runtime::OperatorKernel stromx::cvsupport::AdjustRgbChannels stromx::cvsupport::Buffer stromx::cvsupport::Clip stromx::cvsupport::ConstImage stromx::cvsupport::ConvertPixelType stromx::cvsupport::DummyCamera stromx::cvsupport::Flicker stromx::cvsupport::ReadDirectory stromx::runtime::Block stromx::runtime::Compare stromx::runtime::Counter stromx::runtime::DataOperatorBase stromx::runtime::Dump stromx::runtime::Filter stromx::runtime::Fork stromx::runtime::Join stromx::runtime::MatrixPropertyBase stromx::runtime::Merge stromx::runtime::PeriodicDelay stromx::runtime::Queue stromx::runtime::Receive stromx::runtime::Repeat stromx::runtime::Send stromx::runtime::Split

Public Member Functions

virtual const std::string & type () const =0
 
virtual const std::string & package () const =0
 
virtual const Versionversion () 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 Outputoutput (const unsigned int id) const =0
 
virtual const Inputinput (const unsigned int id) const =0
 
virtual const Parameterparameter (const unsigned int id) const =0
 
virtual const Descriptiondescription (const unsigned int id) const =0
 
virtual const OperatorPropertiesproperties () const =0
 

Detailed Description

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.

Member Function Documentation

§ description()

virtual const Description& stromx::runtime::OperatorInfo::description ( const unsigned int  id) const
pure virtual

Returns the description (i.e. input, output or parameter) id.

Exceptions
WrongIdIf no parameter with id exists.

Implemented in stromx::runtime::OperatorKernel.

§ input()

virtual const Input& stromx::runtime::OperatorInfo::input ( const unsigned int  id) const
pure virtual

Returns the description of the output id.

Exceptions
WrongIdIf no input with id exists.

Implemented in stromx::runtime::OperatorKernel.

§ inputs()

virtual const std::vector<const Input*>& stromx::runtime::OperatorInfo::inputs ( ) const
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.

§ output()

virtual const Output& stromx::runtime::OperatorInfo::output ( const unsigned int  id) const
pure virtual

Returns the description of the input id.

Exceptions
WrongIdIf no output with id exists.

Implemented in stromx::runtime::OperatorKernel.

§ outputs()

virtual const std::vector<const Output*>& stromx::runtime::OperatorInfo::outputs ( ) const
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.

§ package()

virtual const std::string& stromx::runtime::OperatorInfo::package ( ) const
pure virtual

Returns the package the operator belongs to.

Implemented in stromx::runtime::OperatorKernel.

§ parameter()

virtual const Parameter& stromx::runtime::OperatorInfo::parameter ( const unsigned int  id) const
pure virtual

Returns the parameter description of the parameter id.

Exceptions
WrongIdIf no parameter with id exists.

Implemented in stromx::runtime::OperatorKernel.

§ parameters()

virtual const std::vector<const Parameter*>& stromx::runtime::OperatorInfo::parameters ( ) const
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.

§ properties()

virtual const OperatorProperties& stromx::runtime::OperatorInfo::properties ( ) const
pure virtual

Returns the properties of this operator.

Implemented in stromx::runtime::OperatorKernel.

§ type()

virtual const std::string& stromx::runtime::OperatorInfo::type ( ) const
pure virtual

Returns the type. In general this is the name of the class of its implementation.

Implemented in stromx::runtime::OperatorKernel.

§ version()

virtual const Version& stromx::runtime::OperatorInfo::version ( ) const
pure virtual

Returns the version of the operator.

Implemented in stromx::runtime::OperatorKernel.


The documentation for this class was generated from the following file: