32 #ifndef pqServerLauncher_h 33 #define pqServerLauncher_h 42 class QProcessEnvironment;
60 typedef QObject Superclass;
73 static const QMetaObject* setServerDefaultLauncherType(
const QMetaObject*);
74 static const QMetaObject* defaultServerLauncherType();
90 bool connectToServer(
bool showConnectionDialog =
true);
99 void processFailed(QProcess::ProcessError);
100 void readStandardOutput();
101 void readStandardError();
102 void launchServerForReverseConnection();
110 bool promptOptions();
116 virtual bool launchServer(
bool show_status_dialog);
121 bool processCommand(QString command,
double processWait,
double delay,
122 const QProcessEnvironment* options =
nullptr);
124 virtual bool connectToPrelaunchedServer(
bool showConnectionDialog =
true);
126 bool isReverseConnection()
const;
145 QProcessEnvironment& options()
const;
150 virtual void updateOptionsUsingUserSelections();
157 virtual void handleProcessStandardOutput(
const QByteArray&
data);
158 virtual void handleProcessErrorOutput(
const QByteArray& data);
164 pqInternals* Internals;
165 static const QMetaObject* DefaultServerLauncherType;
#define PQCOMPONENTS_EXPORT
pqServerLauncher manages launching of server process using the details specified in the server config...
pqServerConfiguration corresponds to a server connection configuration.
virtual void prepareDialogForPromptOptions(QDialog &)
Subclasses can override this method to further customize the dialog being shown to the user to prompt...
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...