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();
88 bool connectToServer();
97 void processFailed(QProcess::ProcessError);
98 void readStandardOutput();
99 void readStandardError();
100 void launchServerForReverseConnection();
108 bool promptOptions();
114 virtual bool launchServer(
bool show_status_dialog);
120 QString command,
double timeout,
double delay,
const QProcessEnvironment* options = NULL);
122 virtual bool connectToPrelaunchedServer();
124 bool isReverseConnection()
const;
143 QProcessEnvironment& options()
const;
148 virtual void updateOptionsUsingUserSelections();
155 virtual void handleProcessStandardOutput(
const QByteArray&
data);
156 virtual void handleProcessErrorOutput(
const QByteArray& data);
162 pqInternals* Internals;
163 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...