Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
jafar::qdisplay::ViewerManager Class Reference

ViewerManager gives access to all active Viewer. More...


Detailed Description

ViewerManager gives access to all active Viewer.

Usefull for memory management and for closing all visible Viewer.

Definition at line 16 of file ViewerManager.hpp.

#include <ViewerManager.hpp>

List of all members.

Public Member Functions

 ViewerManager ()
 Instantiate a new viewer manager.
QList< Viewer * > viewers ()

Static Public Member Functions

static void registerViewer (jafar::qdisplay::Viewer *v)
static void unregisterViewer (jafar::qdisplay::Viewer *v)
static ViewerManagerinstance ()
static void closeAllViewer ()
 Close all registered viewers.

Private Attributes

QList< Viewer * > m_list

Static Private Attributes

static ViewerManagers_instance

Constructor & Destructor Documentation

Instantiate a new viewer manager.

Exceptions:
jafar::kernel::JafarExceptionis thrown if there is allready an instance of the ViewerManager.

Member Function Documentation

Returns:
a pointer to the current instance of the ViewerManager.
Note:
this function won't create the viewer manager

Definition at line 43 of file ViewerManager.hpp.

Referenced by registerViewer(), and unregisterViewer().

Parameters:
vviewer to register, it's called in the Viewer constructor

Definition at line 28 of file ViewerManager.hpp.

References instance().

Parameters:
vviewer to unregister, it's called in the Viewer destructor

Definition at line 35 of file ViewerManager.hpp.

References instance().

Returns:
the list of registered viewer

Definition at line 47 of file ViewerManager.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1
LAAS-CNRS