32 #ifndef pqServerLauncher_h 33 #define pqServerLauncher_h 35 #include "pqComponentsModule.h" 42 class QProcessEnvironment;
59 typedef QObject Superclass;
72 static const QMetaObject* setServerDefaultLauncherType(
const QMetaObject*);
73 static const QMetaObject* defaultServerLauncherType();
87 bool connectToServer();
96 void processFailed(QProcess::ProcessError);
97 void readStandardOutput();
98 void readStandardError();
99 void launchServerForReverseConnection();
107 bool promptOptions();
113 virtual bool launchServer(
bool show_status_dialog);
119 QString command,
double timeout,
double delay,
const QProcessEnvironment* options = NULL);
121 virtual bool connectToPrelaunchedServer();
123 bool isReverseConnection()
const;
142 QProcessEnvironment& options()
const;
147 virtual void updateOptionsUsingUserSelections();
154 virtual void handleProcessStandardOutput(
const QByteArray& data);
155 virtual void handleProcessErrorOutput(
const QByteArray& data);
161 pqInternals* Internals;
162 static const QMetaObject* DefaultServerLauncherType;
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...