#include <Process.h>
Public Member Functions | |
| void | addConnector (te::process::ConnectorSharedPtr connectorPtr) | 
| Gets the task associated to the given id.  More... | |
| void | addTask (te::process::TaskSharedPtr taskPtr) | 
| Adds a connector to the process. Process will be the holder of the given shared pointers.  More... | |
| void | clear () | 
| Checks if the process is valid.  More... | |
| te::process::ConnectorSharedPtr | getConnector (const std::string &id) const | 
| Removed the task associated to the given id.  More... | |
| const std::vector< te::process::ConnectorSharedPtr > & | getConnectors () const | 
| Runs the process synchronously.  More... | |
| te::process::TaskSharedPtr | getTask (const std::string &id) const | 
| Gets the connector associated to the given id.  More... | |
| const std::vector< te::process::TaskSharedPtr > & | getTasks () const | 
| Gets all connectors from the process.  More... | |
| bool | isValid (te::process::ProcessListener *listener) const | 
| Adds a task to the process. Process will be the holder of the given shared pointers.  More... | |
| Process () | |
| Constructor.  More... | |
| void | removeConnector (const std::string &id) | 
| Gets all taks from the process.  More... | |
| void | removeTask (const std::string &id) | 
| Removes the connector associated to the given id.  More... | |
| void | requestStop () | 
| bool | run (te::process::ProcessListener *listener) | 
| Runs the process asynchronously.  More... | |
| void | runAsync (te::process::ProcessListener *listener) | 
| Requests that the asynchronously execution be stopped.  More... | |
| virtual | ~Process () | 
| Virtual destructor.  More... | |
Protected Member Functions | |
| std::vector< te::process::TaskSharedPtr > | getReadyToRunTasks () const | 
| < Gets all tasks that are ready to rund  More... | |
Protected Attributes | |
| std::thread * | m_thread | 
| std::vector< te::process::ConnectorSharedPtr > | m_vecConnectors | 
| std::vector< te::process::TaskSharedPtr > | m_vecTasks | 
| te::process::Process::Process | ( | ) | 
Constructor.
      
  | 
  virtual | 
Virtual destructor.
Clears the association
| void te::process::Process::addConnector | ( | te::process::ConnectorSharedPtr | connectorPtr | ) | 
Gets the task associated to the given id.
| void te::process::Process::addTask | ( | te::process::TaskSharedPtr | taskPtr | ) | 
Adds a connector to the process. Process will be the holder of the given shared pointers.
| void te::process::Process::clear | ( | ) | 
Checks if the process is valid.
| te::process::ConnectorSharedPtr te::process::Process::getConnector | ( | const std::string & | id | ) | const | 
Removed the task associated to the given id.
| const std::vector< te::process::ConnectorSharedPtr > & te::process::Process::getConnectors | ( | ) | const | 
Runs the process synchronously.
      
  | 
  protected | 
< Gets all tasks that are ready to rund
| te::process::TaskSharedPtr te::process::Process::getTask | ( | const std::string & | id | ) | const | 
Gets the connector associated to the given id.
| const std::vector< te::process::TaskSharedPtr > & te::process::Process::getTasks | ( | ) | const | 
Gets all connectors from the process.
| bool te::process::Process::isValid | ( | te::process::ProcessListener * | listener | ) | const | 
Adds a task to the process. Process will be the holder of the given shared pointers.
| void te::process::Process::removeConnector | ( | const std::string & | id | ) | 
Gets all taks from the process.
| void te::process::Process::removeTask | ( | const std::string & | id | ) | 
Removes the connector associated to the given id.
| void te::process::Process::requestStop | ( | ) | 
| bool te::process::Process::run | ( | te::process::ProcessListener * | listener | ) | 
Runs the process asynchronously.
| void te::process::Process::runAsync | ( | te::process::ProcessListener * | listener | ) | 
Requests that the asynchronously execution be stopped.
      
  | 
  protected | 
      
  | 
  protected |