#include <DataAccessTaskProcess.h>
Definition at line 37 of file DataAccessTaskProcess.h.
◆ State
Enumerator |
---|
NOT_INITIALIZED | |
MISSING_PARAMETERS | |
READY_TO_RUN | |
RUNNING | |
FINISHED | |
FINISHED_WITH_ERRORS | |
Definition at line 57 of file Task.h.
◆ DataAccessTask()
te::process::DataAccessTask::DataAccessTask |
( |
| ) |
|
◆ addConnector()
void te::process::Task::addConnector |
( |
Connector * |
connector | ) |
|
|
inherited |
Removes a parameter connector to this class.
◆ checkConnectorsAreReady()
bool te::process::Task::checkConnectorsAreReady |
( |
| ) |
|
|
protectedinherited |
Pushes the parameters into the output connectors.
◆ checkForReadyToRun()
void te::process::Task::checkForReadyToRun |
( |
| ) |
|
|
protectedinherited |
◆ getCapabilities()
Gets the current execution state of the task.
◆ getDataSourceType()
std::string te::process::DataAccessTask::getDataSourceType |
( |
| ) |
|
◆ getId()
const std::string& te::process::Task::getId |
( |
| ) |
const |
|
inherited |
◆ getInputConnectors()
std::vector<Connector*> te::process::Task::getInputConnectors |
( |
| ) |
const |
|
inherited |
Gets all the output connectors.
◆ getOutputConnectors()
std::vector<Connector*> te::process::Task::getOutputConnectors |
( |
| ) |
const |
|
inherited |
Checks if the task is valid, that is, if all the required input parameters have values OR connectors associated to them.
◆ getParameter()
Sets the index-th parameter. This object will optionally take the ownership of the value pointer.
◆ getState()
State te::process::Task::getState |
( |
| ) |
const |
|
inherited |
Gets the index-th parameter.
◆ getTaskParameters()
Sets the task paramters. This class will take the ownership of the given pointer.
◆ getType()
const std::string& te::process::Task::getType |
( |
| ) |
const |
|
inherited |
Gets the capabilities of the task.
◆ init()
< Initializes the task. This function must be called by any class that extends this abstraction. The abstraction will take the ownership of the pointer
Checks if all the input connectors are ready. If at least one connector is not ready, it returns FALSE.
◆ isValid()
bool te::process::Task::isValid |
( |
std::string & |
errorMessage | ) |
const |
|
inherited |
◆ pushParametersToConnectors()
void te::process::Task::pushParametersToConnectors |
( |
| ) |
|
|
protectedinherited |
This function is called whenever the parameters are changed and is responsible for checking the parameters are valid. If they are, change the task state to Ready to Run.
◆ removeConnector()
void te::process::Task::removeConnector |
( |
Connector * |
connector | ) |
|
|
inherited |
Gets all the input connectors.
◆ run()
void te::process::Task::run |
( |
| ) |
|
|
inherited |
◆ runImpl()
void te::process::DataAccessTask::runImpl |
( |
| ) |
|
|
protectedvirtual |
◆ setDataSourceType()
void te::process::DataAccessTask::setDataSourceType |
( |
const std::string & |
type | ) |
|
◆ setId()
void te::process::Task::setId |
( |
const std::string & |
id | ) |
|
|
inherited |
Gets the type of the task.
◆ setParameter()
◆ setTaskParameters()
void te::process::Task::setTaskParameters |
( |
TaskParameters * |
taskParameters | ) |
|
|
inherited |
Adds a parameter connector to this class.
◆ m_capabilities
◆ m_connectors
std::vector<Connector*> te::process::Task::m_connectors |
|
protectedinherited |
◆ m_driver
std::string te::process::DataAccessTask::m_driver |
|
protected |
◆ m_id
std::string te::process::Task::m_id |
|
protectedinherited |
The ID of the task.
Definition at line 134 of file Task.h.
◆ m_parameters
◆ m_state
State te::process::Task::m_state |
|
protectedinherited |
◆ m_taskType
std::string te::process::Task::m_taskType |
|
protectedinherited |
The type of the task. Used by the factory.
Definition at line 133 of file Task.h.
The documentation for this class was generated from the following file: