ParaView
Public Slots | Signals | Public Member Functions
pqActiveServer Class Reference

pqActiveServer keeps track of the active server. More...

#include <pqActiveServer.h>

List of all members.

Public Slots

void setCurrent (pqServer *)
 Called to set the active server.

Signals

void changed (pqServer *)
 Fired when the active server changes.

Public Member Functions

 pqActiveServer (QObject *parent=0)
virtual ~pqActiveServer ()
pqServercurrent () const
 Returns the active server, may return NULL if no active server is present.

Detailed Description

pqActiveServer keeps track of the active server.

It proivdes API to set/get the active server. A signal is fired when the active server changes.

Definition at line 44 of file pqActiveServer.h.


Constructor & Destructor Documentation

pqActiveServer::pqActiveServer ( QObject *  parent = 0)
virtual pqActiveServer::~pqActiveServer ( ) [virtual]

Member Function Documentation

pqServer* pqActiveServer::current ( ) const [inline]

Returns the active server, may return NULL if no active server is present.

Definition at line 53 of file pqActiveServer.h.

void pqActiveServer::setCurrent ( pqServer ) [slot]

Called to set the active server.

Fires changed().

void pqActiveServer::changed ( pqServer ) [signal]

Fired when the active server changes.


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