Abstraction that represents a Connector between parameters of a Task.
More...
#include <Connector.h>
|
static bool | canAssociate (te::process::Task *taskFrom, std::size_t paramIndexFrom, te::process::Task *taskTo, std::size_t paramIndexTo, std::string &info) |
| Associates the 'paramIndexFrom' output parameter of the 'taskFrom' to the 'paramIndexTo' input parameter of the 'taskTo'. More...
|
|
Abstraction that represents a Connector between parameters of a Task.
Definition at line 47 of file Connector.h.
◆ Connector()
te::process::Connector::Connector |
( |
| ) |
|
◆ ~Connector()
virtual te::process::Connector::~Connector |
( |
| ) |
|
|
virtual |
Virtual destructor.
Gets the id of the connector
◆ apply()
void te::process::Connector::apply |
( |
| ) |
|
◆ associate()
Disassociates this connector from your tasks.
◆ canAssociate()
static bool te::process::Connector::canAssociate |
( |
te::process::Task * |
taskFrom, |
|
|
std::size_t |
paramIndexFrom, |
|
|
te::process::Task * |
taskTo, |
|
|
std::size_t |
paramIndexTo, |
|
|
std::string & |
info |
|
) |
| |
|
static |
Associates the 'paramIndexFrom' output parameter of the 'taskFrom' to the 'paramIndexTo' input parameter of the 'taskTo'.
◆ clear()
void te::process::Connector::clear |
( |
| ) |
|
Checks if the association is valid.
◆ disassociate()
void te::process::Connector::disassociate |
( |
| ) |
|
Based on the association, gets the parameter from the taskFrom and pushes it into the taskTo. If the taskFrom is not ready, an exception will be thrown.
◆ getId()
const std::string& te::process::Connector::getId |
( |
| ) |
const |
◆ getParamIndexFrom()
std::size_t te::process::Connector::getParamIndexFrom |
( |
| ) |
const |
◆ getParamIndexTo()
std::size_t te::process::Connector::getParamIndexTo |
( |
| ) |
const |
Check if an a association could be made between tasks and parameters indexes informed.
◆ getTaskFrom()
Gets the param index 'from'.
◆ getTaskTo()
Gets the param index 'to'.
◆ isReady()
bool te::process::Connector::isReady |
( |
| ) |
const |
◆ isValid()
bool te::process::Connector::isValid |
( |
| ) |
const |
Checks if the parameter from the task from is ready to be pushed into the taskTo.
◆ setId()
void te::process::Connector::setId |
( |
const std::string & |
id | ) |
|
◆ m_id
std::string te::process::Connector::m_id |
|
protected |
◆ m_isValid
bool te::process::Connector::m_isValid |
|
protected |
◆ m_paramIndexFrom
std::size_t te::process::Connector::m_paramIndexFrom |
|
protected |
◆ m_paramIndexTo
std::size_t te::process::Connector::m_paramIndexTo |
|
protected |
◆ m_taskFrom
◆ m_taskTo
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/process/Connector.h