Public Member Functions | Static Public Member Functions | List of all members
pqCollaborationEventPlayer Class Reference

pqCollaborationEventPlayer is used to playback events that make collaborative-testing possible. More...

#include <pqCollaborationEventPlayer.h>

Inherits pqWidgetEventPlayer.

Public Member Functions

 pqCollaborationEventPlayer (QObject *parent=NULL)
 
 ~pqCollaborationEventPlayer () override
 
bool playEvent (QObject *object, const QString &command, const QString &arguments, bool &error) override
 

Static Public Member Functions

static void waitForMaster (int ms=500)
 used to wait till the process becomes a master. More...
 
static void waitForConnections (int num_connections)
 used to wait until there are num_connection connections. More...
 
static void wait (int milli_seconds)
 

Detailed Description

pqCollaborationEventPlayer is used to playback events that make collaborative-testing possible.

These events cannot be recorded by the test-recorder, but are manually added. But once added, they enable the playback to wait for appropriate actions to happen.

Definition at line 44 of file pqCollaborationEventPlayer.h.

Constructor & Destructor Documentation

◆ pqCollaborationEventPlayer()

pqCollaborationEventPlayer::pqCollaborationEventPlayer ( QObject *  parent = NULL)

◆ ~pqCollaborationEventPlayer()

pqCollaborationEventPlayer::~pqCollaborationEventPlayer ( )
override

Member Function Documentation

◆ playEvent()

bool pqCollaborationEventPlayer::playEvent ( QObject *  object,
const QString &  command,
const QString &  arguments,
bool &  error 
)
override

◆ waitForMaster()

static void pqCollaborationEventPlayer::waitForMaster ( int  ms = 500)
static

used to wait till the process becomes a master.

◆ waitForConnections()

static void pqCollaborationEventPlayer::waitForConnections ( int  num_connections)
static

used to wait until there are num_connection connections.

◆ wait()

static void pqCollaborationEventPlayer::wait ( int  milli_seconds)
static

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