4 #ifndef pqServerConfiguration_h 5 #define pqServerConfiguration_h 54 void setName(
const QString& name);
62 bool isNameDefault()
const;
67 static QString defaultName();
73 void setResource(
const QString&);
97 int connectionTimeout(
int defaultTimeout = 60)
const;
98 void setConnectionTimeout(
int connectionTimeout);
127 QString command(
double& processWait,
double& delay)
const;
139 QString execCommand(
double& processWait,
double& delay)
const;
144 void setStartupToManual();
149 void setStartupToCommand(
double processWait,
double delay,
const QString& command);
154 QString toString(
vtkIndent indent)
const;
183 QString portForwardingLocalPort()
const;
188 void parseSshPortForwardingXML();
189 QString sshFullCommand(QString sshCommand,
vtkPVXMLElement* sshConfigXML)
const;
191 static QString termCommand();
192 static QString sshCommand();
193 static QString lookForCommand(QString command);
196 void constructor(
const QString& name);
200 bool PortForwarding =
false;
201 bool SSHCommand =
false;
202 QString PortForwardingLocalPort;
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.