Go to the documentation of this file.
17 #ifdef PARAVIEW_USE_PYTHON
24 #include "ParaView_paraview_plugins.h"
29 cliApp->SetAllowExtras(
false);
30 cliApp->SetStopOnUnrecognizedArgument(
false);
34 cliApp->SetDescription(
35 "pvdataserver: the ParaView data-server\n"
36 "=============================\n"
37 "This is the ParaView data-server executable. Together with the render-server "
39 "this can be used for client-server use-cases. "
40 "This process handles all the rendering requests. \n\n"
41 "Typically, one connects a ParaView client (either a graphical client, or a Python-based "
42 "client) to this process to drive the data analysis and visualization pipelines.");
46 cliApp->SetDescription(
47 "pvrenderserver: the ParaView render-server\n"
48 "=============================\n"
49 "This is the ParaView render-server executable. Together with the data-server "
51 "this can be used for client-server use-cases. "
52 "This process handles all the data-processing requests. \n\n"
53 "Typically, one connects a ParaView client (either a graphical client, or a Python-based "
54 "client) to this process to drive the data analysis and visualization pipelines.");
58 cliApp->SetDescription(
59 "pvserver: the ParaView server\n"
60 "=============================\n"
61 "This is the ParaView server executable. This is intended for client-server use-cases "
62 "which require the client and server to be on different processes, potentially on "
63 "different systems.\n\n"
64 "Typically, one connects a ParaView client (either a graphical client, or a Python-based "
65 "client) to this process to drive the data analysis and visualization pipelines.");
68 vtkLogF(ERROR,
"process type not supported!");
82 #ifdef PARAVIEW_USE_PYTHON
89 ParaView_paraview_plugins_initialize();
104 if (config->GetReverseConnection())
106 cout <<
"Connecting to client (reverse connection requested)..." << endl;
110 cout <<
"Waiting for client..." << endl;
113 bool success =
false;
131 cout <<
"Exiting..." << endl;
static vtkPVPluginTracker * GetInstance()
Provides access to the singleton.
vtkIdType RegisterSession(vtkSession *)
Registers a new session.
process initialization and management core for ParaView processes. vtkProcessModule is the process in...
static void Finalize()
Finalizes the server manager.
virtual int ProcessEvents(unsigned long timeout_msecs)=0
Process any network activity.
static int RealMain(int argc, char *argv[], vtkProcessModule::ProcessTypes type)
static vtkProcessModule * GetProcessModule()
Provides access to the global ProcessModule.
virtual bool Connect(const char *url)
Connects a remote server.
virtual void SetMultipleConnection(bool)
Enable or Disable multi-connection support.
static int GetExitCode()
Returns the exit code after Initialize.
virtual vtkNetworkAccessManager * GetNetworkAccessManager()
Get/Set the network access manager.
void vtkPVInitializePythonModules()
static vtkCLIOptions * New()
static bool Initialize(int argc, char **argv, int processType, vtkCLIOptions *options=nullptr, bool enableStandardArgs=true)
Initializes ParaView engine.
static vtkPVSessionServer * New()
int ProcessRMIs(int reportErrors, int dont_loop=0)
void SetDisableFurtherConnections(bool disable)
Enable or Disable further connections in multiple connection mode.
bool UnRegisterSession(vtkIdType sessionID)
Unregister a session given its ID.
vtkMultiProcessController * GetGlobalController()
Provides access to the global MPI controller, if any.
void LoadPluginConfigurationXMLs(const char *appname)
Called to load application-specific configuration xml.
static vtkRemotingCoreConfiguration * GetInstance()
Provides access to the singleton.