stromx  0.8.0
Public Types | Public Member Functions | List of all members
stromx::cvsupport::Buffer Class Reference

Manages an array or reusable image buffers. More...

#include <Buffer.h>

Inheritance diagram for stromx::cvsupport::Buffer:
stromx::runtime::OperatorKernel stromx::runtime::OperatorInfo

Public Types

enum  DataId { OUTPUT, NUM_BUFFERS, BUFFER_SIZE }
 

Public Member Functions

virtual OperatorKernelclone () const
 
virtual void setParameter (const unsigned int id, const runtime::Data &value)
 
virtual const runtime::DataRef getParameter (const unsigned int id) const
 
virtual void execute (runtime::DataProvider &provider)
 
virtual void activate ()
 
virtual void deactivate ()
 
- Public Member Functions inherited from stromx::runtime::OperatorKernel
const std::string & type () const
 
const std::string & package () const
 
const Versionversion () const
 
const std::vector< const Input * > & inputs () const
 
const std::vector< const Output * > & outputs () const
 
const std::vector< const Parameter * > & parameters () const
 
const Parameterparameter (const unsigned int id) const
 
const Inputinput (const unsigned int id) const
 
const Outputoutput (const unsigned int id) const
 
const Descriptiondescription (const unsigned int id) const
 
const OperatorPropertiesproperties () const
 
virtual void initialize ()
 
virtual void deinitialize ()
 
virtual void interrupt ()
 

Additional Inherited Members

- Protected Member Functions inherited from stromx::runtime::OperatorKernel
 OperatorKernel (const std::string &type, const std::string &package, const Version &version, const std::vector< const Parameter *> &parameters, const OperatorProperties &properties=OperatorProperties())
 
 OperatorKernel (const std::string &type, const std::string &package, const Version &version, const std::vector< const Input *> &inputs, const std::vector< const Output *> &outputs, const std::vector< const Parameter *> &parameters, const OperatorProperties &properties=OperatorProperties())
 
 OperatorKernel (const std::string &type, const std::string &package, const runtime::Version &version, const std::vector< const Input * > &inputs, const std::vector< const Output * > &outputs, const OperatorProperties &properties=OperatorProperties())
 
 OperatorKernel (const std::string &type, const std::string &package, const Version &version, const OperatorProperties &properties=OperatorProperties())
 
virtual void initialize (const std::vector< const Input *> &inputs, const std::vector< const Output *> &outputs, const std::vector< const Parameter *> &parameters)
 
Parameterparameter (const unsigned int id)
 

Detailed Description

Manages an array or reusable image buffers.

Member Function Documentation

§ activate()

void stromx::cvsupport::Buffer::activate ( )
virtual

Activates the operator. After activation the operator kernel must be prepared to accept calls to execute().

Reimplemented from stromx::runtime::OperatorKernel.

§ clone()

virtual OperatorKernel* stromx::cvsupport::Buffer::clone ( ) const
inlinevirtual

Returns a copy of the operator, i.e. a object of the same type is allocated and returned. The current status of the operator is not reproduced.

Implements stromx::runtime::OperatorKernel.

§ deactivate()

void stromx::cvsupport::Buffer::deactivate ( )
virtual

Deactivates the operator, i.e. returns its state to the same as before activation.

Reimplemented from stromx::runtime::OperatorKernel.

§ execute()

void stromx::cvsupport::Buffer::execute ( runtime::DataProvider provider)
virtual

Executes the operator.

Parameters
providerProvides the input data for the execution and accepts its results.

Implements stromx::runtime::OperatorKernel.

§ getParameter()

const DataRef stromx::cvsupport::Buffer::getParameter ( const unsigned int  ) const
virtual

Gets the current value of the parameter id.

Reimplemented from stromx::runtime::OperatorKernel.

§ setParameter()

void stromx::cvsupport::Buffer::setParameter ( const unsigned int  ,
const runtime::Data  
)
virtual

Sets a parameter id to value.

Reimplemented from stromx::runtime::OperatorKernel.


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