4 #ifndef pqServerConfiguration_h 5 #define pqServerConfiguration_h 7 #include "pqCoreModule.h" 55 void setName(
const QString& name);
63 bool isNameDefault()
const;
68 static QString defaultName();
74 void setResource(
const QString&);
98 int connectionTimeout(
int defaultTimeout = 60)
const;
99 void setConnectionTimeout(
int connectionTimeout);
128 QString command(
double& processWait,
double& delay)
const;
140 QString execCommand(
double& processWait,
double& delay)
const;
145 void setStartupToManual();
150 void setStartupToCommand(
double processWait,
double delay,
const QString& command);
155 QString toString(
vtkIndent indent)
const;
187 int localPortForwardingPort()
const;
192 void setDefaultLocalPortForwardingPort(
int port);
197 void parseSshPortForwardingXML();
198 QString sshFullCommand(QString sshCommand,
vtkPVXMLElement* sshConfigXML)
const;
200 static QString termCommand();
201 static QString sshCommand();
202 static QString lookForCommand(QString command);
205 void constructor(
const QString& name);
209 bool PortForwarding =
false;
210 bool SSHCommand =
false;
211 int LocalPortForwardingPort = -1;
212 int DefaultLocalPortForwardingPort = -1;
void setMutable(bool val)
bool isMutable() const
Get/Set whether the configuration is mutable.
bool isPortForwarding() const
Get if this is a port forwarding configuration.
StartupType
Types of start.
pqServerConfiguration corresponds to a server connection configuration.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
pqServerResource encapsulates a resource in ParaView.