IRunControlFactory Class
(ProjectExplorer::IRunControlFactory)The IRunControlFactory class creates RunControl objects matching a run configuration. More...
Header: | #include <IRunControlFactory> |
Inherits: | QObject |
Public Functions
IRunControlFactory(QObject *parent = nullptr) | |
virtual bool | canRun(RunConfiguration *runConfiguration, Core::Id mode) const = 0 |
virtual RunControl * | create(RunConfiguration *runConfiguration, Core::Id mode, QString *errorMessage) = 0 |
virtual IRunConfigurationAspect * | createRunConfigurationAspect(RunConfiguration *rc) |
int | priority() const |
- 32 public functions inherited from QObject
Protected Functions
void | setPriority(int priority) |
- 9 protected functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The IRunControlFactory class creates RunControl objects matching a run configuration.
Member Function Documentation
IRunControlFactory::IRunControlFactory(QObject *parent = nullptr)
Default constructs an instance of IRunControlFactory.
[pure virtual]
bool IRunControlFactory::canRun(RunConfiguration *runConfiguration, Core::Id mode) const
[pure virtual]
RunControl *IRunControlFactory::create(RunConfiguration *runConfiguration, Core::Id mode, QString *errorMessage)
[virtual]
IRunConfigurationAspect *IRunControlFactory::createRunConfigurationAspect(RunConfiguration *rc)
Returns an IRunConfigurationAspect to carry options for RunControls this factory can create.
If no extra options are required, it is allowed to return null like the default implementation does. This function is intended to be called from the RunConfiguration constructor, so passing a RunConfiguration pointer makes no sense because that object is under construction at the time.
int IRunControlFactory::priority() const
See also setPriority().
[protected]
void IRunControlFactory::setPriority(int priority)
See also priority().