Public Member Functions | Static Public Member Functions | Protected Slots | List of all members
pqCommandLineOptionsBehavior Class Reference

pqCommandLineOptionsBehavior processes command-line options on startup and performs relevant actions such as loading data files, connecting to server etc. More...

#include <pqCommandLineOptionsBehavior.h>

Inherits QObject.

Public Member Functions

 pqCommandLineOptionsBehavior (QObject *parent=nullptr)
 

Static Public Member Functions

static void resetApplication ()
 Used during testing to "initialize" application state as much as possible. More...
 
static void processServerConnection ()
 Handle server connection options. More...
 
static void processPlugins ()
 Handle plugins. More...
 
static void processData ()
 Handle open data file requests (i.e. More...
 
static void processState ()
 Handle state loading request (i.e. More...
 
static void processScript ()
 Handle script loading request (i.e. More...
 
static void processLive ()
 Handle Catalyst live session connection request (i.e. More...
 
static bool processTests ()
 Returns test playback status. More...
 

Protected Slots

void processCommandLineOptions ()
 

Detailed Description

pqCommandLineOptionsBehavior processes command-line options on startup and performs relevant actions such as loading data files, connecting to server etc.

This also handles test playback and image comparison.

Definition at line 17 of file pqCommandLineOptionsBehavior.h.

Constructor & Destructor Documentation

◆ pqCommandLineOptionsBehavior()

pqCommandLineOptionsBehavior::pqCommandLineOptionsBehavior ( QObject *  parent = nullptr)

Member Function Documentation

◆ resetApplication()

static void pqCommandLineOptionsBehavior::resetApplication ( )
static

Used during testing to "initialize" application state as much as possible.

◆ processServerConnection()

static void pqCommandLineOptionsBehavior::processServerConnection ( )
static

Handle server connection options.

Processes --server and --server-url command line arguments. In none provided, connect to the builtin server.

◆ processPlugins()

static void pqCommandLineOptionsBehavior::processPlugins ( )
static

Handle plugins.

◆ processData()

static void pqCommandLineOptionsBehavior::processData ( )
static

Handle open data file requests (i.e.

--data).

◆ processState()

static void pqCommandLineOptionsBehavior::processState ( )
static

Handle state loading request (i.e.

--state).

◆ processScript()

static void pqCommandLineOptionsBehavior::processScript ( )
static

Handle script loading request (i.e.

--script).

◆ processLive()

static void pqCommandLineOptionsBehavior::processLive ( )
static

Handle Catalyst live session connection request (i.e.

--live).

◆ processTests()

static bool pqCommandLineOptionsBehavior::processTests ( )
static

Returns test playback status.

◆ processCommandLineOptions

void pqCommandLineOptionsBehavior::processCommandLineOptions ( )
protectedslot

The documentation for this class was generated from the following file: