32 #ifndef pqServerLauncher_h 33 #define pqServerLauncher_h 35 #include "pqComponentsModule.h" 42 class QProcessEnvironment;
57 typedef QObject Superclass;
69 static const QMetaObject* setServerDefaultLauncherType(
const QMetaObject*);
70 static const QMetaObject* defaultServerLauncherType();
80 bool connectToServer();
87 void processFailed(QProcess::ProcessError);
88 void readStandardOutput();
89 void readStandardError();
90 void launchServerForReverseConnection();
100 virtual bool launchServer(
bool show_status_dialog);
103 bool processCommand(QString command,
double timeout,
double delay,
const QProcessEnvironment* options = NULL);
105 virtual bool connectToPrelaunchedServer();
107 bool isReverseConnection()
const;
120 QProcessEnvironment& options()
const;
123 virtual void updateOptionsUsingUserSelections();
128 virtual void handleProcessStandardOutput(
const QByteArray& data);
129 virtual void handleProcessErrorOutput(
const QByteArray& data);
135 pqInternals* Internals;
136 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...