Represents the capabilities of a task. More...
#include <TaskCapabilities.h>
Public Member Functions | |
void | addParameterDescriptor (const ParameterDescriptor ¶meter) |
Gets the index-th parameter descriptors. More... | |
void | clear () |
Gets the number of parameter descriptors. More... | |
std::vector< ParameterDescriptor > | filter (te::process::ParameterDescriptor::Direction direction) const |
Gets the parameter index given a parameter name. More... | |
const ParameterDescriptor & | getParameterDescriptor (std::size_t index) const |
Gets the parameters descriptors. More... | |
const std::vector< ParameterDescriptor > & | getParameterDescriptors () const |
Filters the parameters list based on the given direction. More... | |
std::size_t | getParameterIndex (const std::string &name) const |
std::size_t | size () const |
Adds an input parameter descriptor. More... | |
TaskCapabilities () | |
Constructor. More... | |
virtual | ~TaskCapabilities () |
Virtual destructor. More... | |
Protected Attributes | |
std::vector< ParameterDescriptor > | m_vecParameterDescriptors |
Represents the capabilities of a task.
Definition at line 46 of file TaskCapabilities.h.
te::process::TaskCapabilities::TaskCapabilities | ( | ) |
Constructor.
|
virtual |
Virtual destructor.
Clears the capabilities
void te::process::TaskCapabilities::addParameterDescriptor | ( | const ParameterDescriptor & | parameter | ) |
Gets the index-th parameter descriptors.
void te::process::TaskCapabilities::clear | ( | ) |
Gets the number of parameter descriptors.
std::vector<ParameterDescriptor> te::process::TaskCapabilities::filter | ( | te::process::ParameterDescriptor::Direction | direction | ) | const |
Gets the parameter index given a parameter name.
const ParameterDescriptor& te::process::TaskCapabilities::getParameterDescriptor | ( | std::size_t | index | ) | const |
Gets the parameters descriptors.
const std::vector<ParameterDescriptor>& te::process::TaskCapabilities::getParameterDescriptors | ( | ) | const |
Filters the parameters list based on the given direction.
std::size_t te::process::TaskCapabilities::getParameterIndex | ( | const std::string & | name | ) | const |
std::size_t te::process::TaskCapabilities::size | ( | ) | const |
Adds an input parameter descriptor.
|
protected |
Definition at line 81 of file TaskCapabilities.h.