26 #ifndef __TERRALIB_PROCESS_INTERNAL_PROCESS_H
27 #define __TERRALIB_PROCESS_INTERNAL_PROCESS_H
42 class ConnectorSharedPtr;
43 class ProcessListener;
88 const std::vector<te::process::TaskSharedPtr>&
getTasks()
const;
91 const std::vector<te::process::ConnectorSharedPtr>&
getConnectors()
const;
This abstract class a listener to the process flow.
void removeTask(const std::string &id)
Removes the connector associated to the given id.
std::vector< te::process::TaskSharedPtr > m_vecTasks
void addConnector(te::process::ConnectorSharedPtr connectorPtr)
Gets the task associated to the given id.
std::vector< te::process::ConnectorSharedPtr > m_vecConnectors
const std::vector< te::process::TaskSharedPtr > & getTasks() const
Gets all connectors from the process.
virtual ~Process()
Virtual destructor.
void addTask(te::process::TaskSharedPtr taskPtr)
Adds a connector to the process. Process will be the holder of the given shared pointers.
std::vector< te::process::TaskSharedPtr > getReadyToRunTasks() const
< Gets all tasks that are ready to rund
void clear()
Checks if the process is valid.
const std::vector< te::process::ConnectorSharedPtr > & getConnectors() const
Runs the process synchronously.
void removeConnector(const std::string &id)
Gets all taks from the process.
bool run(te::process::ProcessListener *listener)
Runs the process asynchronously.
te::process::TaskSharedPtr getTask(const std::string &id) const
Gets the connector associated to the given id.
te::process::ConnectorSharedPtr getConnector(const std::string &id) const
Removed the task associated to the given id.
bool isValid(te::process::ProcessListener *listener) const
Adds a task to the process. Process will be the holder of the given shared pointers.
void runAsync(te::process::ProcessListener *listener)
Requests that the asynchronously execution be stopped.
Proxy configuration file for TerraView (see terraview_config.h).