te::process::TaskParameters Class Reference

#include <TaskParameters.h>

Public Member Functions

const te::process::ParameterValuegetValue (std::size_t index) const
 Sets the 'index' value. Also sets the information related to the owner of the pointer. More...
 
bool isValid () const
 Gets the 'index' value. If not set, returns null. More...
 
virtual TaskParametersoperator= (const TaskParameters &rhs)
 Gets the number of parameters. More...
 
void setValue (std::size_t index, te::process::ParameterValue *value, bool takeOwnership)
 
virtual std::size_t size () const
 Checks if the parameters are valid. More...
 
 TaskParameters (const TaskParameters &rhs)
 
 TaskParameters (const te::process::TaskCapabilities &taskCapabilities)
 < Constructor More...
 
virtual ~TaskParameters ()
 Virtual destructor. More...
 

Protected Member Functions

void clear ()
 < Clears the task parameters More...
 

Protected Attributes

TaskCapabilities m_capabilities
 
std::vector< bool > m_vecOwnership
 
std::vector< te::process::ParameterValue * > m_vecValues
 

Detailed Description

Definition at line 48 of file TaskParameters.h.

Constructor & Destructor Documentation

◆ TaskParameters() [1/2]

te::process::TaskParameters::TaskParameters ( const te::process::TaskCapabilities taskCapabilities)

< Constructor

Copy constructor

◆ TaskParameters() [2/2]

te::process::TaskParameters::TaskParameters ( const TaskParameters rhs)

◆ ~TaskParameters()

virtual te::process::TaskParameters::~TaskParameters ( )
virtual

Virtual destructor.

Assigment operator

Member Function Documentation

◆ clear()

void te::process::TaskParameters::clear ( )
protected

< Clears the task parameters

◆ getValue()

const te::process::ParameterValue* te::process::TaskParameters::getValue ( std::size_t  index) const

Sets the 'index' value. Also sets the information related to the owner of the pointer.

◆ isValid()

bool te::process::TaskParameters::isValid ( ) const

Gets the 'index' value. If not set, returns null.

◆ operator=()

virtual TaskParameters& te::process::TaskParameters::operator= ( const TaskParameters rhs)
virtual

Gets the number of parameters.

◆ setValue()

void te::process::TaskParameters::setValue ( std::size_t  index,
te::process::ParameterValue value,
bool  takeOwnership 
)

◆ size()

virtual std::size_t te::process::TaskParameters::size ( ) const
virtual

Checks if the parameters are valid.

Member Data Documentation

◆ m_capabilities

TaskCapabilities te::process::TaskParameters::m_capabilities
protected

Definition at line 85 of file TaskParameters.h.

◆ m_vecOwnership

std::vector<bool> te::process::TaskParameters::m_vecOwnership
protected

Definition at line 84 of file TaskParameters.h.

◆ m_vecValues

std::vector<te::process::ParameterValue*> te::process::TaskParameters::m_vecValues
protected

Definition at line 83 of file TaskParameters.h.


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