4 #ifndef pqServerLauncher_h 5 #define pqServerLauncher_h 7 #include "pqComponentsModule.h" 14 class QProcessEnvironment;
32 typedef QObject Superclass;
45 static const QMetaObject* setServerDefaultLauncherType(
const QMetaObject*);
46 static const QMetaObject* defaultServerLauncherType();
62 bool connectToServer(
bool showConnectionDialog =
true);
71 void processFailed(QProcess::ProcessError);
72 void readStandardOutput();
73 void readStandardError();
74 void launchServerForReverseConnection();
88 virtual bool launchServer(
bool show_status_dialog);
93 bool processCommand(QString command,
double processWait,
double delay,
94 const QProcessEnvironment* options =
nullptr);
96 virtual bool connectToPrelaunchedServer(
bool showConnectionDialog =
true);
98 bool isReverseConnection()
const;
117 QProcessEnvironment& options()
const;
122 virtual void updateOptionsUsingUserSelections();
129 virtual void handleProcessStandardOutput(
const QByteArray&
data);
130 virtual void handleProcessErrorOutput(
const QByteArray& data);
136 pqInternals* Internals;
137 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...